/*
 * KaGift design tokens
 * Change this block to update the visual identity across the entire website.
 */
:root {
  --brand-primary: #c90000;
  --brand-primary-dark: #970000;
  --brand-accent: #e5b84b;
  --surface-dark: #1d1718;
  --text-primary: #2a2021;
  --text-muted: #706568;
  --border-subtle: #eadfe1;
  --surface-soft: #fff7f7;

  /* Component aliases retained to keep individual rules easy to scan. */
  --blue: var(--brand-primary);
  --blue-dark: var(--brand-primary-dark);
  --navy: var(--surface-dark);
  --ink: var(--text-primary);
  --muted: var(--text-muted);
  --line: var(--border-subtle);
  --pale: var(--surface-soft);
  --mint: var(--brand-accent);
  --white: #fff;
  --shadow: 0 24px 70px rgba(76, 15, 19, 0.14);
  --radius: 22px;
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
}
h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  letter-spacing: -0.065em;
  margin-bottom: 26px;
}
h2 {
  font-size: clamp(2.25rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}
h3 {
  letter-spacing: -0.025em;
}
em {
  color: var(--blue);
  font-style: normal;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}
.section {
  padding: 110px 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -70px;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 9999;
  border-radius: 8px;
}
.skip-link:focus {
  top: 16px;
}
.topbar {
  background: var(--navy);
  color: #f5dfe1;
  font-size: 0.78rem;
}
.topbar .container {
  height: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar i {
  color: var(--mint);
  margin-right: 7px;
}
.topbar a:hover {
  text-decoration: underline;
}
.site-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: 0.25s;
}
.site-header.scrolled {
  box-shadow: 0 10px 35px rgba(8, 26, 56, 0.08);
  border-color: var(--line);
}
.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Manrope";
  font-weight: 800;
  font-size: 1.16rem;
  line-height: 1;
}
.brand small {
  display: block;
  color: var(--muted);
  font-family: "DM Sans";
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 5px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  position: relative;
}
.brand-mark span {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--mint);
  right: 5px;
  top: 5px;
  border-radius: 50%;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.92rem;
  font-weight: 600;
}
.primary-nav > a:not(.button) {
  position: relative;
}
.primary-nav > a:not(.button):after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: 0.25s;
}
.primary-nav > a:hover:after,
.primary-nav > a.active:after {
  width: 100%;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  padding: 15px 23px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 92, 255, 0.22);
  transition:
    transform 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 92, 255, 0.3);
}
.button-small {
  padding: 11px 16px;
  font-size: 0.86rem;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px;
  transition: 0.2s;
}
.hero {
  padding-top: 100px;
  background: linear-gradient(120deg, #fff 58%, var(--surface-soft) 58%);
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#e8c7ca 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to right, transparent 40%, black);
  opacity: 0.28;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: 70px;
  position: relative;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  margin-bottom: 22px;
}
.hero .eyebrow span {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--blue);
  vertical-align: middle;
  margin-right: 10px;
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 610px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 35px 0;
}
.text-link {
  font-weight: 700;
  color: var(--ink);
}
.text-link i {
  margin-left: 7px;
  color: var(--blue);
  transition: transform 0.2s;
}
.text-link:hover i {
  transform: translateX(4px);
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 43px;
}
.hero-proof p {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}
.hero-proof strong {
  color: var(--ink);
}
.proof-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand-primary);
  background: var(--surface-soft);
  border: 1px solid var(--line);
}
.avatar-stack {
  display: flex;
}
.avatar-stack span {
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: #f5dfe1;
  color: var(--blue-dark);
  border: 3px solid white;
  display: grid;
  place-items: center;
  font-size: 0.65rem;
  font-weight: 800;
  margin-left: -8px;
}
.avatar-stack span:first-child {
  margin-left: 0;
  background: #bcece8;
}
.hero-visual {
  min-height: 530px;
  display: grid;
  place-items: center;
  position: relative;
}
.dashboard {
  width: 90%;
  background: #fff;
  border: 1px solid #e4ebf5;
  border-radius: 20px;
  box-shadow: 0 35px 90px rgba(22, 62, 123, 0.18);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  position: relative;
  z-index: 2;
}
.dash-head {
  height: 54px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: var(--muted);
  font-size: 0.75rem;
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #dae2ed;
  margin-right: 5px;
}
.dash-body {
  padding: 25px;
}
.metric-main {
  background: var(--navy);
  padding: 22px;
  color: #fff;
  border-radius: 14px;
}
.metric-main span {
  font-size: 0.75rem;
  color: #aebddb;
}
.metric-main strong {
  font-size: 2.3rem;
  display: block;
  font-family: "Manrope";
}
.metric-main small {
  color: var(--mint);
}
.chart {
  height: 150px;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding: 24px 8px 5px;
}
.chart span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(var(--brand-primary), #e35b65);
}
.dash-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dash-cards > div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.dash-cards i {
  color: var(--blue);
  background: var(--pale);
  padding: 10px;
  border-radius: 9px;
}
.dash-cards span {
  font-size: 0.7rem;
  color: var(--muted);
}
.dash-cards strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
}
.floating-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 17px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
}
.floating-card i {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--blue);
  display: grid;
  place-items: center;
}
.float-one {
  left: -10px;
  bottom: 95px;
}
.float-two {
  right: -5px;
  top: 72px;
}
.float-two i {
  background: #dbf8f4;
  color: #138478;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}
.orb-one {
  width: 270px;
  height: 270px;
  background: #f7e3e5;
  right: 0;
  top: 15px;
}
.orb-two {
  width: 130px;
  height: 130px;
  background: #c9f3ee;
  left: 30px;
  bottom: 10px;
}
.trust-strip {
  position: relative;
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.trust-strip p {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.trust-list {
  display: flex;
  justify-content: space-around;
  gap: 28px;
  flex-wrap: wrap;
  color: #8492a9;
  font: 700 0.83rem "Manrope";
}
.trust-list i {
  margin-right: 8px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  align-items: end;
  margin-bottom: 52px;
}
.section-heading > div {
  max-width: 620px;
}
.section-heading > p {
  max-width: 440px;
  color: var(--muted);
  margin-bottom: 8px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  border: 1px solid var(--line);
  padding: 32px;
  border-radius: var(--radius);
  position: relative;
  transition: 0.25s;
  background: #fff;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: #e3b4b8;
}
.service-card > span {
  position: absolute;
  right: 26px;
  top: 24px;
  color: #a0aec0;
  font-size: 0.72rem;
  font-weight: 700;
}
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--pale);
  display: grid;
  place-items: center;
  color: var(--blue);
  font-size: 1.25rem;
  margin-bottom: 25px;
}
.service-card h3 {
  font-size: 1.22rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
}
.service-card > a:not(.button) {
  font-size: 0.82rem;
  font-weight: 700;
}
.service-card > a i {
  margin-left: 6px;
  color: var(--blue);
}
.service-card-cta {
  background: var(--blue);
  color: #fff;
  border: 0;
}
.service-card-cta .icon-box {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.service-card-cta p {
  color: #dce8ff;
}
.button-white {
  background: #fff;
  color: var(--blue);
  box-shadow: none;
}
.approach {
  background: var(--navy);
  color: #fff;
}
.approach-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
}
.approach-copy {
  position: sticky;
  top: 130px;
  align-self: start;
}
.approach-copy p:not(.eyebrow) {
  color: #aebddb;
}
.approach-copy .text-link {
  color: #fff;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 25px;
  padding: 15px 0 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 28px;
}
.steps li > span {
  font: 700 1.1rem "Manrope";
  color: var(--mint);
}
.steps h3 {
  font-size: 1.5rem;
  margin-bottom: 9px;
}
.steps p {
  color: #aebddb;
  margin: 0;
}
.outcomes {
  background: var(--blue);
  color: #fff;
  padding: 54px 0;
}
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.outcomes-grid > div {
  padding: 5px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.outcomes-grid > div:last-child {
  border: 0;
}
.outcomes-grid i {
  display: block;
  color: var(--brand-accent);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.outcomes-grid strong {
  font: 700 1rem "Manrope";
  display: block;
  margin-bottom: 7px;
}
.outcomes-grid span {
  font-size: 0.8rem;
  color: #f5dfe1;
}
.placeholder-note {
  text-align: center;
  color: #7b8aa2;
  font-size: 0.68rem;
  margin: 22px 0 0;
}
.placeholder-note.light {
  color: #9eb4d9;
  text-align: left;
}
.filters {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
}
.filters button {
  border: 1px solid var(--line);
  background: white;
  color: var(--muted);
  padding: 8px 17px;
  border-radius: 99px;
  cursor: pointer;
}
.filters button.active,
.filters button:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.case-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
}
.case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  position: relative;
  transition: 0.25s;
}
.case-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.case-card.hidden {
  display: none;
}
.case-large {
  grid-row: span 2;
}
.case-art {
  height: 190px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.case-large .case-art {
  height: 330px;
}
.case-label {
  position: absolute;
  left: 20px;
  top: 20px;
  background: rgba(255, 255, 255, 0.9);
  padding: 7px 12px;
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 700;
  z-index: 2;
}
.art-one {
  background: linear-gradient(135deg, #3a1014, var(--brand-primary));
}
.art-screen {
  width: 65%;
  height: 62%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: white;
  position: relative;
}
.art-screen i {
  font-size: 3rem;
}
.art-screen span {
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--mint);
  border-radius: 50%;
}
.art-screen span:nth-child(2) {
  left: 15%;
  top: 25%;
}
.art-screen span:nth-child(3) {
  right: 17%;
  top: 18%;
}
.art-screen span:nth-child(4) {
  right: 20%;
  bottom: 19%;
}
.art-two {
  background: linear-gradient(135deg, #f8dfe1, #fff7f7);
  color: var(--blue);
  font-size: 4rem;
}
.art-three {
  background: #e5faf7;
}
.data-orbit {
  width: 90px;
  height: 90px;
  border: 1px dashed #49bcb0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #138478;
  font-size: 2rem;
}
.case-content {
  padding: 25px;
  position: relative;
}
.case-content > p {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.65rem;
  color: var(--blue);
  font-weight: 800;
}
.case-content h3 {
  font-size: 1.32rem;
  max-width: 520px;
}
.case-content > div {
  display: flex;
  gap: 28px;
}
.case-content > div span {
  color: var(--muted);
  font-size: 0.72rem;
}
.case-content > div strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
}
.case-content > a {
  position: absolute;
  right: 24px;
  bottom: 25px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
}
.about {
  background: var(--pale);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.about-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
}
.about-shape {
  width: 390px;
  height: 390px;
  border-radius: 45% 55% 57% 43%;
  background: linear-gradient(140deg, var(--brand-primary), #6f1118);
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  box-shadow: var(--shadow);
}
.about-shape:before,
.about-shape:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  inset: 50px;
}
.about-shape:after {
  inset: 100px;
}
.about-shape strong {
  font: 800 2.5rem "Manrope";
  z-index: 2;
}
.about-shape span {
  position: absolute;
  font-size: 0.7rem;
  background: #fff;
  color: var(--blue);
  padding: 7px 12px;
  border-radius: 99px;
  z-index: 2;
}
.about-shape span:nth-child(1) {
  top: 42px;
  left: 45px;
}
.about-shape span:nth-child(2) {
  right: 20px;
  top: 155px;
}
.about-shape span:nth-child(3) {
  bottom: 43px;
  left: 70px;
}
.experience-badge {
  position: absolute;
  right: 0;
  bottom: 35px;
  background: #fff;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}
.experience-badge strong {
  display: block;
  color: var(--blue);
  font-family: "Manrope";
}
.experience-badge span {
  font-size: 0.75rem;
  color: var(--muted);
}
.about-copy .lead {
  font-size: 1.16rem;
  color: var(--ink);
}
.about-copy > p:not(.eyebrow):not(.lead) {
  color: var(--muted);
}
.about-copy ul {
  list-style: none;
  padding: 0;
  margin: 26px 0;
}
.about-copy li {
  margin: 11px 0;
  font-weight: 600;
}
.about-copy li i {
  color: #138478;
  margin-right: 10px;
}
.button-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
  box-shadow: none;
}
.purpose {
  background: #fff;
}
.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.purpose-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: #fff;
}
.purpose-card h3 {
  font-size: 1.45rem;
}
.purpose-card > p:last-child,
.purpose-card li {
  color: var(--muted);
}
.purpose-card .eyebrow {
  margin-bottom: 12px;
}
.values-card {
  grid-column: 1 / -1;
}
.values-card ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 30px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}
.values-card strong {
  color: var(--ink);
}
.faq {
  background: var(--pale);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 100px;
}
.faq-grid > div:first-child > p:last-child {
  color: var(--muted);
}
.faq-item {
  border-bottom: 1px solid #cfdaea;
}
.faq-item button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 22px 0;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}
.faq-item button i {
  color: var(--blue);
  transition: 0.2s;
}
.faq-item.open button i {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 45px 20px 0;
  color: var(--muted);
}
.faq-item.open .faq-answer {
  display: block;
}
.contact {
  background: var(--navy);
  padding-bottom: 100px;
}
.contact-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 75px;
  align-items: start;
}
.contact-copy {
  color: #fff;
  padding-top: 25px;
}
.eyebrow-light {
  color: var(--mint);
}
.contact-copy > p:not(.eyebrow):not(.placeholder-note) {
  color: #aebddb;
  max-width: 470px;
}
.contact-details {
  margin-top: 35px;
}
.contact-details > a,
.contact-details > div {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 18px 0;
}
.contact-details i {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.09);
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--mint);
}
.contact-details span {
  font-size: 0.75rem;
  color: #aebddb;
}
.contact-details small {
  display: block;
  color: #fff;
  font-size: 0.9rem;
}
.contact-form {
  background: #fff;
  padding: 38px;
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.2);
}
.form-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}
.form-heading h3 {
  margin: 0;
  font-size: 1.35rem;
}
.form-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field {
  margin-bottom: 17px;
}
.field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd9e8;
  background: #fbfdff;
  border-radius: 8px;
  padding: 11px 13px;
  color: var(--ink);
  outline: none;
}
.field textarea {
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.11);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #c62828;
}
.error {
  display: block;
  color: #b42318;
  font-size: 0.68rem;
  min-height: 1em;
  margin-top: 3px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.73rem;
  color: var(--muted);
  margin: 5px 0;
}
.consent input {
  margin-top: 4px;
}
.form-status {
  font-size: 0.78rem;
  color: #16826f;
  margin-top: 13px;
}
.footer {
  background: #051329;
  color: #afbed7;
  padding: 70px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 45px;
}
.brand-light {
  color: #fff;
}
.brand-light small {
  color: #aebddb;
}
.footer-grid > div:first-child > p {
  max-width: 280px;
  font-size: 0.85rem;
  margin-top: 22px;
}
.footer h3 {
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.83rem;
}
.footer a:hover {
  color: #fff;
}
.socials {
  display: flex;
  gap: 8px;
}
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #29415f;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #203551;
  margin-top: 55px;
  padding-top: 23px;
  font-size: 0.72rem;
}
.footer-bottom p:last-child {
  display: flex;
  gap: 20px;
}
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 28px rgba(11, 92, 255, 0.35);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s;
  z-index: 80;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
}
@media (max-width: 980px) {
  .primary-nav {
    position: fixed;
    inset: 118px 0 auto;
    background: #fff;
    padding: 24px 30px 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.25s;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
    max-height: calc(100dvh - 118px);
    overflow-y: auto;
  }
  .primary-nav.open {
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .primary-nav .button {
    width: 100%;
  }
  .nav-toggle {
    display: block;
  }
  .nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .hero-grid,
  .approach-grid,
  .about-grid,
  .contact-shell {
    grid-template-columns: 1fr;
  }
  .hero {
    background: linear-gradient(#fff 60%, var(--surface-soft) 60%);
  }
  .hero-visual {
    min-height: 470px;
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .approach-copy {
    position: static;
  }
  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 0;
  }
  .outcomes-grid > div:nth-child(2) {
    border: 0;
  }
  .case-grid {
    grid-template-columns: 1fr 1fr;
  }
  .case-large {
    grid-row: auto;
    grid-column: span 2;
  }
  .case-large .case-art {
    height: 280px;
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-grid > div:last-child {
    grid-column: 2;
  }
  .contact-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 35px;
  }
  .contact-copy h2,
  .contact-copy > .eyebrow,
  .contact-copy > p {
    grid-column: 1/-1;
  }
}
@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 30px), var(--container));
  }
  .section {
    padding: 78px 0;
  }
  .topbar .container {
    justify-content: center;
  }
  .topbar a {
    display: none;
  }
  .site-header {
    height: 72px;
  }
  .primary-nav {
    inset: 108px 0 auto;
    max-height: calc(100dvh - 108px);
  }
  .hero {
    padding-top: 72px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
  .hero-actions .text-link {
    text-align: center;
  }
  .hero-visual {
    min-height: 390px;
  }
  .dashboard {
    width: 100%;
  }
  .float-one {
    left: -5px;
    bottom: 25px;
  }
  .float-two {
    right: -4px;
    top: 35px;
  }
  .trust-strip {
    margin-top: 45px;
  }
  .trust-list {
    justify-content: center;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 20px;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .approach-grid {
    gap: 55px;
  }
  .steps li {
    grid-template-columns: 48px 1fr;
  }
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .outcomes-grid > div {
    padding: 4px 15px;
  }
  .case-grid {
    grid-template-columns: 1fr;
  }
  .case-large {
    grid-column: auto;
  }
  .case-large .case-art {
    height: 230px;
  }
  .about-grid {
    gap: 45px;
  }
  .about-visual {
    min-height: 380px;
  }
  .about-shape {
    width: 300px;
    height: 300px;
  }
  .experience-badge {
    bottom: 0;
  }
  .purpose-grid,
  .values-card ul {
    grid-template-columns: 1fr;
  }
  .values-card {
    grid-column: auto;
  }
  .faq-answer {
    padding-right: 10px;
  }
  .contact-shell {
    gap: 35px;
  }
  .contact-copy {
    display: block;
  }
  .contact-form {
    padding: 26px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-heading {
    display: block;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-grid > div:last-child {
    grid-column: auto;
  }
  .footer-bottom {
    display: block;
  }
  .filters {
    overflow-x: auto;
    padding-bottom: 5px;
  }
  .filters button {
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
.brand {
  position: relative;
}
.brand-logo {
  display: block;
  width: 164px;
  height: auto;
}
.division-label {
  position: absolute;
  right: 0;
  bottom: -7px;
  color: var(--blue);
  font:
    800 0.55rem "DM Sans",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #fff;
  padding: 1px 3px;
}
.brand-light {
  width: 194px;
  height: 64px;
  background: #fff url("../assets/kagift-logo.svg") center/174px auto no-repeat;
  border-radius: 10px;
  padding: 0;
}
.brand-light .brand-mark,
.brand-light > span {
  display: none;
}
.brand-light:after {
  content: "Consultancy";
  position: absolute;
  right: 10px;
  bottom: 2px;
  color: var(--blue);
  font:
    800 0.5rem "DM Sans",
    sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: #fff;
  padding: 1px 3px;
}
@media (max-width: 680px) {
  .brand-logo {
    width: 145px;
  }
  .division-label {
    font-size: 0.49rem;
  }
}

/* Responsive hardening */
img,
svg,
video {
  max-width: 100%;
}

p,
h1,
h2,
h3,
a,
span {
  overflow-wrap: break-word;
}

@media (max-width: 1180px) and (min-width: 981px) {
  .primary-nav {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero-grid {
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 4.7rem);
  }
}

@media (max-width: 820px) {
  .section {
    padding: 88px 0;
  }

  .hero-grid,
  .approach-grid,
  .about-grid,
  .contact-shell {
    gap: 58px;
  }

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

  .contact-copy {
    grid-template-columns: 1fr;
  }

  .contact-copy h2,
  .contact-copy > .eyebrow,
  .contact-copy > p {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  html {
    scroll-padding-top: 72px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.2rem);
    letter-spacing: -0.055em;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .topbar {
    font-size: 0.68rem;
  }

  .topbar .container {
    min-height: 36px;
    height: auto;
    padding-block: 7px;
    text-align: center;
  }

  .primary-nav {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .dashboard {
    transform: none;
  }

  .dash-body {
    padding: 16px;
  }

  .chart {
    height: 115px;
    gap: 7px;
  }

  .floating-card {
    display: none;
  }

  .trust-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 10px;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .outcomes-grid > div,
  .outcomes-grid > div:nth-child(2) {
    padding: 22px 8px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .outcomes-grid > div:last-child {
    border-bottom: 0;
  }

  .about-visual {
    min-height: 335px;
  }

  .about-shape {
    width: min(270px, 86vw);
    height: min(270px, 86vw);
  }

  .experience-badge {
    right: 4px;
    padding: 15px 18px;
  }

  .purpose-card {
    padding: 28px 20px;
  }

  .contact-form {
    padding: 24px 16px;
  }

  .contact-form .button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-grid > div:first-child,
  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom p:last-child {
    flex-wrap: wrap;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    width: 128px;
  }

  .division-label {
    right: 0;
    font-size: 0.44rem;
  }

  .dash-cards {
    grid-template-columns: 1fr;
  }

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

  .steps li {
    grid-template-columns: 38px 1fr;
    gap: 14px;
  }
}

@media (max-height: 520px) and (orientation: landscape) and (max-width: 980px) {
  .primary-nav {
    gap: 12px;
    padding-block: 14px;
  }
}

/* Section polish */
.services {
  background:
    radial-gradient(circle at 90% 5%, rgba(201, 0, 0, 0.045), transparent 28%),
    #fff;
}

.service-card {
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--brand-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-cta::before {
  display: none;
}

.approach .steps li {
  border-radius: 14px;
  padding: 20px 18px;
  transition: background 0.2s ease;
}

.approach .steps li:hover {
  background: rgba(255, 255, 255, 0.04);
}

.approach .steps li > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(229, 184, 75, 0.42);
  border-radius: 50%;
}

.outcomes-grid > div {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.work {
  background: linear-gradient(
    180deg,
    #fff 0%,
    #fff 72%,
    var(--surface-soft) 100%
  );
}

.case-card {
  box-shadow: 0 12px 36px rgba(76, 15, 19, 0.06);
}

.filters button {
  font-weight: 600;
}

.about {
  background:
    radial-gradient(circle at 20% 50%, rgba(201, 0, 0, 0.07), transparent 28%),
    var(--surface-soft);
}

.purpose-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.purpose-card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.purpose-card:hover {
  transform: translateY(-4px);
  border-color: #e3b4b8;
  box-shadow: var(--shadow);
}

.faq-item button {
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.faq-item button:hover {
  color: var(--brand-primary);
  padding-left: 6px;
}

.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #d6b8bb;
}

@media (max-width: 680px) {
  .approach .steps li {
    padding-inline: 4px;
  }

  .approach .steps li:hover {
    background: transparent;
  }

  .outcomes-grid > div {
    min-height: auto;
  }

  .purpose-card:hover,
  .service-card:hover,
  .case-card:hover {
    transform: none;
  }
}
