:root {
  --navy: #1E3A8A;
  --pink: #F72585;
  --blue: #4361EE;
  --neutral: #0F0F23;
  --off: #F8FFFE;
  --white: #ffffff;
  --gray: #6B7280;
  --dark: #0F172A;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
}

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Decorative backgrounds */
.bg-hexes {
  position: relative;
  overflow: hidden;
}

.bg-hexes::before {
  content: "";
  position: absolute;
  top: -40px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle at 50% 50%, rgba(67, 97, 238, .15), transparent 70%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 0;
}

.bg-hexes::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 50% 50%, rgba(247, 37, 133, .12), transparent 70%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  z-index: 0;
}

/* Header / Nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(135deg, var(--neutral), var(--navy));
  backdrop-filter: saturate(140%) blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  color: #fff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 10;
}

.hex-container {
  position: relative;
  width: 58px;
  height: 52px;
  margin-right: 8px;
}

.brand-logo {
  width: 100%;
  height: 100%;
}

.badge-logo {
  width: 24px;
  height: auto;
  margin-right: 8px;
  display: inline-block;
  vertical-align: middle;
}

.brandname {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  font-size: 1.3rem;
}

.navlinks {
  display: flex;
  gap: 20px;
}

.navlinks a {
  opacity: .9;
  display: inline-flex;
  align-items: center;
  height: 44px;
}

.navlinks a:focus,
.navlinks a:hover {
  opacity: 1;
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 6px;
}

.cta {
  background: var(--pink);
  color: #fff;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
  gap: 8px;
}

button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.cta:focus {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
}

/* Mobile menu */
.mobile {
  display: none;
  background: var(--neutral);
  color: #fff;
}

.mobile a {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--neutral), var(--navy));
  color: #fff;
  padding: 86px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 12px;
}

.hero p {
  max-width: 720px;
  color: #E5E7EB;
  font-size: 18px;
  margin: 0 0 22px;
}

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

.ghost {
  border: 2px solid #fff;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.hero img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .2);
}

#hero-image {
  max-width: 380px;
  width: 100%;
  height: auto;
  border-radius: 12px;
  align-self: center;
  justify-self: center;
}

/* Trust strip */
.trust {
  background: var(--off);
  border-top: 1px solid #EEF2F7;
  border-bottom: 1px solid #EEF2F7;
}

.trustwrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 18px 0;
  color: var(--dark);
}

.trust small {
  opacity: .8;
}

/* Tiles */
.tiles {
  padding: 56px 0;
}

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

.card {
  border: 1px solid #EEF2F7;
  border-radius: 16px;
  padding: 22px;
  background: #fff;
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--navy);
}

.arrow {
  font-weight: 700;
  color: var(--pink);
}

/* Case study */
.case {
  padding: 56px 0;
  background: #fff;
}

.casewrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items: center;
}

.shot {
  border: 1px solid #EEF2F7;
  border-radius: 14px;
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: auto;
  display: block;
}

.meta {
  font-size: 14px;
  color: #6B7280;
}

/* Services teaser */
.teaser {
  padding: 56px 0;
  background: var(--off);
}

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

.teaser .card p {
  font-size: 14px;
  color: #4B5563;
}

/* About */
.about {
  padding: 56px 0;
}

.aboutwrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 22px;
  align-items: center;
}

.about img {
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: #EEF2FF;
  border: 1px solid #DDE3FF;
  color: #243B8A;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* CTA band */
.ctaband {
  background: linear-gradient(90deg, var(--navy), #2948C1);
  color: #fff;
  padding: 60px 40px;
  border-radius: 18px;
  margin: 40px 20px;
}

#cta-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

#cta-band>div:first-child {
  flex: 1;
  padding-right: 40px;
}

.ctaband .cta {
  background: var(--pink);
}

/* Footer */
footer {
  margin-top: 40px;
  padding: 40px 0;
  background: linear-gradient(135deg, var(--neutral), var(--navy));
  color: #E5E7EB;
}

footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

footer a {
  color: #CBD5E1;
}

@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

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

  .casewrap,
  .teasergrid {
    grid-template-columns: 1fr;
  }

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

  .ctaband {
    margin: 30px 16px;
    text-align: center;
  }

  #cta-band {
    flex-direction: column;
  }

  #cta-band>div:first-child {
    padding-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 720px) {
  .navlinks {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 32px;
  }

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

:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 450px;
  flex-grow: 1;
  margin: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(247, 37, 133, 0.2);
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 720px) {
  .contact-form {
    max-width: 100%;
  }
}