:root {
  --ink: #071722;
  --ink-2: #102b3b;
  --blue: #075f8f;
  --cyan: #0fb6c7;
  --green: #b4d334;
  --mist: #eef6f7;
  --line: rgba(7, 23, 34, 0.13);
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(5, 39, 60, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
}

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

.site-header {
  position: fixed;
  inset: 18px 22px auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 14px 12px 22px;
  color: var(--white);
  background: rgba(5, 28, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 28, 42, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-word {
  color: var(--white);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1;
}

.brand-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 0 0 6px rgba(15, 182, 199, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 6px;
}

.site-nav a:hover {
  background: rgba(255, 255, 255, 0.13);
}

.portal-link {
  background: var(--green);
  color: #132000;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 7vw 98px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  background-image: url("assets/tiqui-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 18, 29, 0.95) 0%, rgba(2, 18, 29, 0.78) 38%, rgba(2, 18, 29, 0.2) 74%),
    linear-gradient(0deg, rgba(2, 18, 29, 0.74), rgba(2, 18, 29, 0.08) 52%);
}

.hero-content {
  max-width: 720px;
  animation: rise-in 700ms ease both;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  line-height: 1.02;
}

h1 {
  font-size: clamp(4rem, 10vw, 8.6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 4.2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-copy {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #132000;
}

.button.secondary {
  color: var(--white);
  border-color: rgba(15, 182, 199, 0.5);
  background: rgba(7, 95, 143, 0.34);
}

.hero-proof {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 940px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(4, 28, 43, 0.6);
  backdrop-filter: blur(12px);
}

.hero-proof span {
  padding: 16px;
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.04);
}

.trust-showcase {
  padding: 74px 0 70px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 54%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.trust-label {
  margin: 0 0 42px;
  color: rgba(7, 23, 34, 0.48);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.logo-marquee::before,
.logo-marquee::after,
.partner-marquee::before,
.partner-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 110px;
  pointer-events: none;
}

.logo-marquee::before,
.partner-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.logo-marquee::after,
.partner-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #ffffff, rgba(255, 255, 255, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 0 28px;
  animation: logo-scroll 34s linear infinite;
}

.logo-marquee:hover .logo-track,
.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.logo-card {
  display: grid;
  place-items: center;
  flex: 0 0 210px;
  min-height: 122px;
  padding: 22px;
  border: 1px solid rgba(7, 23, 34, 0.06);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(7, 23, 34, 0.08);
}

.logo-card img {
  width: 100%;
  max-width: 158px;
  max-height: 70px;
  object-fit: contain;
}

.logo-text strong {
  color: #0f4f73;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.trust-button {
  margin-top: 54px;
  min-width: 280px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(7, 95, 143, 0.22);
}

.partner-marquee {
  position: relative;
  max-width: 1120px;
  margin: 42px auto 0;
  overflow: hidden;
}

.partner-marquee span {
  display: block;
  margin-bottom: 18px;
  color: rgba(7, 23, 34, 0.42);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.partner-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 18px;
  padding: 0 18px;
  animation: logo-scroll-reverse 42s linear infinite;
}

.partner-track img {
  flex: 0 0 auto;
}

.partner-track img {
  width: 150px;
  height: 70px;
  padding: 14px 20px;
  border: 1px solid rgba(7, 23, 34, 0.06);
  border-radius: 14px;
  background: var(--white);
  object-fit: contain;
  box-shadow: 0 10px 26px rgba(7, 23, 34, 0.06);
}

.section {
  padding: 92px 7vw;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) minmax(280px, 1fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(15, 182, 199, 0.08), transparent 38%),
    var(--white);
}

.text-flow p {
  margin: 0 0 18px;
  color: rgba(7, 23, 34, 0.72);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.services {
  background:
    linear-gradient(135deg, rgba(7, 95, 143, 0.34), transparent 42%),
    #071722;
  color: var(--white);
}

.services .section-heading h2 {
  color: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.service-card:nth-child(2n) {
  background: linear-gradient(180deg, rgba(7, 95, 143, 0.34), rgba(255, 255, 255, 0.03));
}

.service-number {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.service-card p,
.timeline p,
.contact-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.engagement {
  background:
    linear-gradient(135deg, rgba(7, 95, 143, 0.12), transparent 42%),
    #f8fbfb;
}

.engagement-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 14px;
}

.engagement-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.engagement-grid article:first-child {
  grid-row: span 2;
  background: linear-gradient(145deg, var(--blue), var(--ink));
  color: var(--white);
}

.engagement-grid span {
  display: inline-block;
  margin-bottom: 38px;
  color: var(--cyan);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.engagement-grid article:first-child span {
  color: var(--green);
}

.engagement-grid p {
  color: rgba(7, 23, 34, 0.68);
}

.engagement-grid article:first-child p {
  color: rgba(255, 255, 255, 0.72);
}

.method {
  background:
    linear-gradient(90deg, rgba(7, 95, 143, 0.12), transparent 36%),
    #f8fbfb;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.timeline article {
  position: relative;
  padding: 28px 24px 0 0;
}

.timeline article::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 7px rgba(7, 95, 143, 0.12);
}

.timeline span {
  color: var(--blue);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.timeline p {
  color: rgba(7, 23, 34, 0.68);
}

.contact {
  background:
    radial-gradient(circle at 90% 10%, rgba(15, 182, 199, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(7, 95, 143, 0.36), transparent 48%),
    var(--ink);
  color: var(--white);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(300px, 1fr);
  gap: 44px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.contact-list a,
.contact-list span {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font: inherit;
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(180, 211, 52, 0.28);
  border-color: var(--green);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 7vw;
  color: rgba(255, 255, 255, 0.78);
  background: #04101a;
}

.footer-brand .brand-word {
  font-size: 1.8rem;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 14px));
  }
}

@keyframes logo-scroll-reverse {
  from {
    transform: translateX(calc(-50% - 17px));
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-content,
  .logo-track,
  .partner-track {
    animation: none;
  }
}

@media (max-width: 880px) {
  .site-header {
    inset: 10px 12px auto;
  }

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    padding: 12px;
    border-radius: 8px;
    background: rgba(5, 28, 42, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 94vh;
    padding: 128px 22px 170px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(2, 18, 29, 0.96), rgba(2, 18, 29, 0.58)),
      linear-gradient(0deg, rgba(2, 18, 29, 0.82), rgba(2, 18, 29, 0.12) 60%);
  }

  .hero-proof {
    left: 22px;
    right: 22px;
    grid-template-columns: 1fr;
  }

  .logo-card {
    flex-basis: 190px;
  }

  .split,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .engagement-grid article:first-child {
    grid-row: auto;
  }

  .timeline {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .brand-word {
    font-size: 1.7rem;
  }

  .brand-dot {
    width: 12px;
    height: 12px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .section {
    padding: 68px 22px;
  }

  .trust-showcase {
    padding: 58px 0;
  }

  .trust-label {
    padding: 0 22px;
  }

  .logo-track {
    gap: 16px;
    padding: 0 16px;
  }

  .logo-card {
    flex-basis: 190px;
    min-height: 112px;
  }

  .trust-button {
    min-width: 0;
    width: calc(100% - 44px);
  }

  .service-grid,
  .engagement-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
  }
}
