@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg-alt: #edf1f7;
  --ink: #0b1320;
  --muted: #5b6576;
  --line: rgba(15, 23, 42, 0.10);
  --accent: #2f66d5;
  --accent-dark: #234fb2;
  --accent-soft: #dbe6fb;
  --accent-pale: #eef4ff;
  --card: #ffffff;
  --success: #15945e;
  --shadow: 0 20px 60px rgba(11, 19, 32, 0.12);
  --shadow-soft: 0 14px 36px rgba(11, 19, 32, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  background:
    radial-gradient(circle at top left, #fbfcff 0%, #f0f4fb 43%, #e8eef8 100%);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  content: '';
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -2;
}

body::before {
  top: -180px;
  right: -180px;
  background: radial-gradient(circle, rgba(47, 102, 213, 0.26), rgba(47, 102, 213, 0));
}

body::after {
  bottom: -220px;
  left: -180px;
  background: radial-gradient(circle, rgba(35, 79, 178, 0.15), rgba(35, 79, 178, 0));
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  z-index: 999;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 247, 251, 0.88);
  backdrop-filter: blur(16px);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-inline: auto;
}

.nav-links a {
  display: inline-flex;
  padding: 10px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--accent-dark);
  background: rgba(47, 102, 213, 0.10);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.btn {
  min-height: 46px;
  padding: 12px 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  cursor: pointer;
  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: var(--accent);
  box-shadow: 0 12px 24px rgba(47, 102, 213, 0.26);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(15, 23, 42, 0.18);
}

.btn-secondary:hover {
  border-color: rgba(47, 102, 213, 0.48);
  box-shadow: var(--shadow-soft);
}

.btn-light {
  color: var(--accent-dark);
  background: #fff;
}

.btn-link {
  min-height: auto;
  padding: 0;
  border-radius: 0;
  color: var(--accent-dark);
  font-weight: 600;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero {
  padding: 92px 0 72px;
}

.page-hero {
  padding: 86px 0 62px;
}

.hero::before,
.page-hero::before {
  content: '';
  position: absolute;
  inset: 18px 0 0;
  z-index: -1;
  opacity: .28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='620' height='360' viewBox='0 0 620 360' fill='none'%3E%3Cg stroke='%232f66d5' stroke-width='1' opacity='.25'%3E%3Cpath d='M40 80h240'/%3E%3Cpath d='M40 150h360'/%3E%3Cpath d='M40 220h300'/%3E%3C/g%3E%3Cg stroke='%2392a3bf' stroke-width='1' opacity='.28'%3E%3Ccircle cx='500' cy='120' r='64'/%3E%3Ccircle cx='500' cy='120' r='102'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 620px 360px;
}

.hero-grid,
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: center;
  gap: 54px;
}

.hero-copy,
.page-hero-copy {
  max-width: 690px;
}

.eyebrow,
.section-label {
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent-dark);
}

.hero h1,
.page-hero h1 {
  margin-top: 14px;
  font-size: clamp(2.55rem, 5vw, 4.7rem);
}

.page-hero h1 {
  font-size: clamp(2.35rem, 4.4vw, 4rem);
}

.hero-copy > p,
.page-hero-copy > p {
  max-width: 680px;
  margin-top: 20px;
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 32px;
  font-size: .88rem;
  color: var(--muted);
}

.hero-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-note span::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(47, 102, 213, .10);
}

.visual-panel {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(219,230,251,.85));
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow);
}

.visual-panel::before,
.visual-panel::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.visual-panel::before {
  width: 260px;
  height: 260px;
  top: -90px;
  right: -50px;
  background: rgba(47,102,213,.20);
}

.visual-panel::after {
  width: 190px;
  height: 190px;
  bottom: -80px;
  left: -70px;
  background: rgba(35,79,178,.12);
}

.visual-browser {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 26px 60px rgba(11, 19, 32, .20);
}

.browser-top {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  background: #f1f4f9;
  border-bottom: 1px solid var(--line);
}

.browser-top span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8d2e4;
}

.browser-body {
  padding: 24px;
  display: grid;
  gap: 15px;
}

.browser-hero {
  min-height: 112px;
  border-radius: 18px;
  background: linear-gradient(135deg, #2f66d5, #7797e5);
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.browser-hero strong {
  font-size: 1.12rem;
}

.browser-hero small {
  opacity: .78;
}

.browser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.browser-card {
  min-height: 104px;
  border-radius: 16px;
  padding: 14px;
  background: #edf3fd;
}

.browser-card:nth-child(2) {
  background: #f2f4f8;
}

.browser-card:nth-child(3) {
  background: #e5edff;
}

.browser-line {
  width: 66%;
  height: 9px;
  border-radius: 999px;
  margin-top: 9px;
  background: rgba(35, 79, 178, .20);
}

.visual-float {
  position: absolute;
  z-index: 4;
  padding: 12px 15px;
  border-radius: 15px;
  background: rgba(255,255,255,.95);
  box-shadow: var(--shadow-soft);
  font-size: .78rem;
  color: var(--muted);
}

.visual-float strong {
  display: block;
  color: var(--ink);
  font-size: .9rem;
}

.visual-float.one {
  top: 22px;
  left: 20px;
}

.visual-float.two {
  right: 22px;
  bottom: 24px;
}

.section {
  padding: 74px 0;
}

.section-alt {
  position: relative;
}

.section-alt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.46);
  border-top: 1px solid rgba(255,255,255,.72);
  border-bottom: 1px solid rgba(255,255,255,.72);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head > div:first-child {
  max-width: 760px;
}

.section-head h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.section-head p {
  max-width: 720px;
  margin-top: 13px;
}

.cards-3,
.cards-4,
.cards-5,
.products-grid,
.services-grid,
.values-grid {
  display: grid;
  gap: 22px;
}

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

.cards-4,
.services-grid,
.values-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.card,
.product-card,
.service-card,
.value-card,
.case-card,
.info-card {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.88);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.card,
.service-card,
.value-card,
.info-card {
  padding: 26px;
}

.card:hover,
.product-card:hover,
.service-card:hover,
.value-card:hover,
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card,
.product-card,
.service-card,
.value-card,
.case-card {
  transition: transform .25s ease, box-shadow .25s ease;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: rgba(47,102,213,.11);
  margin-bottom: 18px;
}

.icon-box svg {
  width: 26px;
  height: 26px;
}

.card h3,
.service-card h3,
.value-card h3,
.info-card h3 {
  font-size: 1.18rem;
}

.card p,
.service-card p,
.value-card p,
.info-card p {
  margin-top: 10px;
  font-size: .94rem;
}

.product-card {
  display: flex;
  flex-direction: column;
}

.product-visual {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: linear-gradient(145deg, #eaf1ff, #f7f9fd);
}

.product-visual-mark {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 30px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2f66d5, #6f8edb);
  box-shadow: 0 18px 34px rgba(47,102,213,.26);
  color: #fff;
}

.product-visual-mark svg {
  width: 58px;
  height: 58px;
}

.product-card:nth-child(2) .product-visual-mark {
  background: linear-gradient(145deg, #234fb2, #4f73ca);
}

.product-card:nth-child(3) .product-visual-mark {
  background: linear-gradient(145deg, #253a62, #5371a8);
}

.product-card:nth-child(4) .product-visual-mark {
  background: linear-gradient(145deg, #496cb9, #8aa5e4);
}

.product-card:nth-child(5) .product-visual-mark {
  background: linear-gradient(145deg, #173b77, #2f66d5);
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.badge {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(47,102,213,.11);
  color: var(--accent-dark);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .67rem;
  font-weight: 600;
}

.badge-muted {
  background: #edf0f5;
  color: #5a6474;
}

.product-card h3 {
  font-size: 1.35rem;
}

.product-card p {
  margin-top: 10px;
  font-size: .93rem;
}

.feature-list,
.check-list,
.number-list {
  list-style: none;
  display: grid;
  gap: 11px;
}

.feature-list {
  margin: 18px 0 22px;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
  font-size: .9rem;
}

.feature-list li::before,
.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47,102,213,.11);
  color: var(--accent-dark);
  font-size: .72rem;
  font-weight: 700;
}

.product-actions {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.service-card {
  min-height: 100%;
}

.service-card::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  right: -28px;
  bottom: -35px;
  border-radius: 50%;
  background: rgba(47,102,213,.08);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.content-block h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.content-block > p {
  margin-top: 16px;
}

.content-block .check-list {
  margin-top: 24px;
}

.metric-panel,
.case-study {
  padding: 34px;
  border-radius: 30px;
  background: linear-gradient(145deg, #172d5f, #315ba9);
  color: #fff;
  box-shadow: 0 30px 70px rgba(11, 19, 32, .28);
}

.metric-panel p,
.case-study p {
  color: rgba(255,255,255,.75);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
}

.metric strong {
  display: block;
  font-size: 1.35rem;
}

.metric span {
  font-size: .82rem;
  color: rgba(255,255,255,.72);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: process;
}

.process-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  counter-increment: process;
}

.process-card::before {
  content: counter(process, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  margin-bottom: 18px;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
}

.process-card h3 {
  font-size: 1.12rem;
}

.process-card p {
  margin-top: 8px;
  font-size: .91rem;
}

.client-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 22px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-soft);
}

.client-name {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  color: #243d70;
}

.case-study {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 34px;
  align-items: center;
}

.case-logo {
  min-height: 240px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -.05em;
}

.case-content h2 {
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.case-content .check-list {
  margin: 22px 0 26px;
}

.case-content .check-list li {
  color: rgba(255,255,255,.78);
}

.case-content .check-list li::before {
  color: #fff;
  background: rgba(255,255,255,.13);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.brand-card {
  padding: 26px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.brand-mark {
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #f1f5fb;
  padding: 24px;
}

.brand-mark img {
  max-height: 72px;
  width: auto;
}

.brand-card h3 {
  margin-top: 20px;
  font-size: 1.35rem;
}

.brand-card p {
  margin-top: 9px;
}

.brand-card .btn-link {
  margin-top: 18px;
}

.timeline {
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 22px;
  width: 2px;
  background: rgba(47,102,213,.18);
}

.timeline-item {
  position: relative;
  padding-left: 72px;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(47,102,213,.22);
}

.timeline-item h3 {
  font-size: 1.12rem;
}

.timeline-item p {
  margin-top: 7px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
  align-items: start;
}

.contact-panel,
.contact-form-wrap {
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-soft);
}

.contact-panel {
  padding: 30px;
}

.contact-panel h2,
.contact-form-wrap h2 {
  font-size: 1.8rem;
}

.contact-panel > p,
.contact-form-wrap > p {
  margin-top: 10px;
}

.contact-options {
  display: grid;
  gap: 15px;
  margin-top: 26px;
}

.contact-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 18px;
  background: #f4f7fc;
}

.contact-option .icon-box {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  margin: 0;
  flex-shrink: 0;
}

.contact-option strong {
  display: block;
  font-size: .95rem;
}

.contact-option span,
.contact-option a {
  color: var(--muted);
  font-size: .88rem;
}

.contact-form-wrap {
  padding: 30px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: .86rem;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 50px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.14);
  background: #fbfcfe;
  padding: 12px 14px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-group textarea {
  min-height: 145px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(47,102,213,.65);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47,102,213,.10);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
}

.form-note {
  font-size: .78rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: .86rem;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0f7047;
  background: rgba(21,148,94,.10);
}

.form-status.is-error {
  color: #9e2530;
  background: rgba(192,49,62,.10);
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.faq-trigger span:last-child {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(47,102,213,.10);
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform .2s ease;
}

.faq-item.is-open .faq-trigger span:last-child {
  transform: rotate(45deg);
}

.faq-content {
  display: none;
  padding: 0 22px 22px;
}

.faq-item.is-open .faq-content {
  display: block;
}

.cta-section {
  padding: 72px 0 88px;
}

.cta-card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 30px;
  padding: 46px;
  border-radius: 34px;
  background: linear-gradient(135deg, #223f7a, #4168bc);
  color: #fff;
  box-shadow: 0 30px 80px rgba(11,19,32,.28);
}

.cta-card h2 {
  font-size: clamp(2rem, 3.4vw, 3rem);
}

.cta-card p {
  margin-top: 12px;
  color: rgba(255,255,255,.76);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-graphic {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.cta-graphic-inner {
  width: 230px;
  height: 160px;
  border-radius: 28px;
  position: relative;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
}

.cta-graphic-inner::before,
.cta-graphic-inner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
}

.cta-graphic-inner::before {
  width: 88px;
  height: 88px;
  left: -25px;
  top: 32px;
}

.cta-graphic-inner::after {
  width: 52px;
  height: 52px;
  right: 22px;
  top: -20px;
}

.site-footer {
  background: #0b1320;
  color: #e2e8f0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr .6fr .6fr .8fr;
  gap: 34px;
  padding: 58px 0 42px;
}

.footer-brand img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 420px;
  margin-top: 16px;
  color: rgba(226,232,240,.65);
  font-size: .9rem;
}

.footer-col h3 {
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.footer-links a {
  color: rgba(226,232,240,.67);
  font-size: .88rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: rgba(226,232,240,.67);
  font-size: .88rem;
}

.footer-bottom {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(226,232,240,.13);
  color: rgba(226,232,240,.56);
  font-size: .8rem;
}

.fade-up {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

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

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }

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

  .footer-main {
    grid-template-columns: 1.3fr repeat(3, .7fr);
  }
}

@media (max-width: 900px) {
  .navbar {
    min-height: 70px;
  }

  .nav-toggle {
    display: inline-flex;
    order: 3;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    padding: 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .nav-actions {
    margin-left: auto;
  }

  .nav-actions .btn {
    min-height: 40px;
    padding: 9px 14px;
    font-size: .82rem;
  }

  .hero-grid,
  .page-hero-grid,
  .split-grid,
  .contact-layout,
  .case-study,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-hero {
    padding-top: 70px;
  }

  .visual-panel {
    min-height: 390px;
  }

  .cards-3,
  .cards-5,
  .products-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-graphic {
    min-height: 160px;
    order: -1;
  }

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

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

  .logo img {
    height: 38px;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero,
  .page-hero {
    padding: 58px 0 46px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.75rem);
  }

  .hero-copy > p,
  .page-hero-copy > p {
    font-size: .96rem;
  }

  .hero-actions,
  .cta-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form-actions .btn {
    width: 100%;
  }

  .visual-panel {
    min-height: 330px;
    padding: 18px;
    border-radius: 26px;
  }

  .browser-body {
    padding: 16px;
  }

  .browser-grid {
    grid-template-columns: 1fr;
  }

  .browser-card:nth-child(2),
  .browser-card:nth-child(3) {
    display: none;
  }

  .visual-float.one {
    left: 10px;
    top: 10px;
  }

  .visual-float.two {
    right: 10px;
    bottom: 12px;
  }

  .section {
    padding: 54px 0;
  }

  .cards-3,
  .cards-4,
  .cards-5,
  .products-grid,
  .services-grid,
  .values-grid,
  .process-grid,
  .brand-grid,
  .metrics,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .metric-panel,
  .case-study,
  .cta-card,
  .contact-panel,
  .contact-form-wrap {
    padding: 26px;
    border-radius: 24px;
  }

  .client-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .case-logo {
    min-height: 180px;
  }

  .product-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: 1fr;
    padding-top: 44px;
  }

  .footer-bottom {
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}


/* EKN human-centered revision */
.product-logo-visual {
  background: linear-gradient(145deg, #ffffff, #eef3fb);
}

.product-logo {
  display: block;
  width: auto;
  max-width: 72%;
  max-height: 105px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, .10));
}

.product-logo-wide {
  max-width: 78%;
}

.product-logo-square {
  width: 102px;
  height: 102px;
  border-radius: 24px;
}

.clean-products-grid .product-body,
.product-preview-grid .product-body {
  min-height: 190px;
}

.clean-products-grid .product-topline,
.product-preview-grid .product-topline,
.clean-products-grid .product-actions,
.product-preview-grid .product-actions,
.clean-products-grid .feature-list,
.product-preview-grid .feature-list {
  display: none;
}

.soft-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.soft-list span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(47, 102, 213, .09);
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.35;
}

.conversation-panel {
  padding: 38px;
  border-radius: 30px;
  background: linear-gradient(145deg, #172d5f, #315ba9);
  color: #fff;
  box-shadow: 0 30px 70px rgba(11, 19, 32, .24);
}

.conversation-panel h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.conversation-panel p {
  margin-top: 15px;
  color: rgba(255, 255, 255, .78);
}

.conversation-label {
  display: inline-flex;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #cbd9ff;
}

.conversation-steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.conversation-steps div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .08);
}

.conversation-steps strong {
  color: #cbd9ff;
  font-size: .78rem;
  letter-spacing: .1em;
}

.conversation-panel .btn {
  margin-top: 24px;
}

.human-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow-soft);
}

.human-banner > div {
  max-width: 760px;
}

.human-banner h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.human-banner p {
  margin-top: 12px;
}

.contact-option {
  color: inherit;
}

.contact-option:hover {
  transform: translateY(-2px);
}

.cta-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,.35) !important;
  background: transparent !important;
}

@media (max-width: 760px) {
  .human-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px;
  }

  .conversation-panel {
    padding: 30px 24px;
  }

  .product-logo {
    max-width: 76%;
    max-height: 90px;
  }
}

/* Contact page: desktop two-column layout */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: start;
}

.contact-copy,
.project-form {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .92);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.contact-copy {
  padding: 30px;
  position: sticky;
  top: 104px;
}

.contact-copy h2 {
  margin-top: 12px;
  font-size: clamp(1.65rem, 2.5vw, 2.25rem);
}

.contact-copy > p {
  margin-top: 14px;
}

.project-form {
  padding: 34px;
}

.form-head h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
}

.form-head p {
  margin-top: 10px;
}

.form-group-full {
  grid-column: 1 / -1;
}

/* Category labels should only be as wide as their text. */
.badge {
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  white-space: normal;
  margin-bottom: 14px;
}

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

  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .contact-copy,
  .project-form {
    padding: 26px;
    border-radius: 24px;
  }
}

/* WordPress plugin integration */
body.ekn-site.admin-bar .site-header { top: 32px; }
.ekn-site main { position: relative; z-index: 1; }
.ekn-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.project-form.is-submitting { opacity: .78; pointer-events: none; }
.form-status-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.form-status-actions .btn { min-height: 42px; padding: 9px 16px; }
.form-status.is-success { padding: 14px 16px; border-radius: 14px; background: rgba(21,148,94,.10); }
.form-status.is-error { padding: 14px 16px; border-radius: 14px; background: rgba(190,42,42,.08); }
.ekn-site .project-form button[disabled] { cursor: wait; }
@media (max-width: 782px) { body.ekn-site.admin-bar .site-header { top: 46px; } }

/* v1.0.4 — full-width outer header/footer without viewport offset hacks. */
body.ekn-site > .ekn-site-header,
body.ekn-site > .ekn-site-footer {
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  transform: none !important;
  box-sizing: border-box !important;
}

body.ekn-site > .ekn-site-header {
  position: sticky !important;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 251, 0.94) !important;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.ekn-site.admin-bar > .ekn-site-header {
  top: 32px;
}

body.ekn-site > .ekn-site-header > .ekn-navbar-shell,
body.ekn-site > .ekn-site-footer > .ekn-footer-shell {
  width: min(var(--container), calc(100% - 48px)) !important;
  max-width: var(--container) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
}

body.ekn-site > .ekn-site-header > .ekn-navbar-shell {
  min-height: 76px;
}

body.ekn-site > .ekn-site-footer {
  position: relative !important;
  background: #0b1320 !important;
}

body.ekn-site > .ekn-site-footer > .footer-main.ekn-footer-shell {
  grid-template-columns: minmax(0, 1.5fr) minmax(150px, .55fr) minmax(230px, .8fr);
  padding-top: 58px;
  padding-bottom: 42px;
}

body.ekn-site > .ekn-site-footer > .footer-bottom.ekn-footer-shell {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 900px) {
  body.ekn-site > .ekn-site-footer > .footer-main.ekn-footer-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.ekn-site > .ekn-site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 782px) {
  body.ekn-site.admin-bar > .ekn-site-header {
    top: 46px;
  }
}

@media (max-width: 640px) {
  body.ekn-site > .ekn-site-header > .ekn-navbar-shell,
  body.ekn-site > .ekn-site-footer > .ekn-footer-shell {
    width: calc(100% - 32px) !important;
  }

  body.ekn-site > .ekn-site-footer > .footer-main.ekn-footer-shell {
    grid-template-columns: 1fr;
    padding-top: 44px;
    padding-bottom: 32px;
  }

  body.ekn-site > .ekn-site-footer .footer-brand {
    grid-column: auto;
  }

  body.ekn-site > .ekn-site-footer > .footer-bottom.ekn-footer-shell {
    min-height: auto;
    padding-top: 18px;
    padding-bottom: 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}
