/* ===============================
   Global / Theme
   =============================== */
:root {
  --header-height: 72px;
  --bg: #0e1117;
  --card: #151a22;
  --text: #f4f6fb;
  --muted: #a7b0c0;
  --accent: #4ade80; /* green */
  --accent-2: #60a5fa; /* blue */
  --border: #263041;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  scroll-behavior: smooth;
  padding-top: 36px;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  color: var(--text);
  background: var(--bg);
}
img,
video,
canvas,
svg {
  max-width: 100%;
  height: auto;
  display: block; /* remove inline gaps */
}

/* ===============================
   Header
   =============================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(14, 17, 23, 0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-logo {
  width: 60px;
  height: 60px;
}
.brand-name {
  font-weight: 800;
  letter-spacing: 0.3px;
}

/* Desktop nav */
.nav-desktop {
  display: flex;
  gap: 20px;
}
.nav-desktop a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  text-transform: capitalize;
}
.nav-desktop a:hover {
  color: var(--text);
  background: var(--card);
}
.nav-desktop a.active {
  color: var(--bg);
  background: var(--accent);
}

/* ===============================
   Hamburger Button (mobile)
   =============================== */
.hamburger {
  display: none; /* hidden on desktop */
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}
.hamburger span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--text);
  transform: translateX(-50%);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
/* stack three horizontal lines */
.hamburger span:nth-child(1) {
  top: 12px;
} /* top */
.hamburger span:nth-child(2) {
  top: 19px;
} /* middle */
.hamburger span:nth-child(3) {
  top: 26px;
} /* bottom */

/* open state -> middle disappears, others form X */
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(1) {
  transform: translateX(-50%) translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(3) {
  transform: translateX(-50%) translateY(-7px) rotate(-45deg);
}

/* ===============================
   Mobile Menu (full-screen overlay)
   =============================== */
/* Hidden by default on every screen to prevent flash */
.nav-mobile {
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: 0;
  min-height: calc(100dvh - var(--header-height));
  background: rgba(14, 17, 23, 0.9);
  backdrop-filter: blur(8px);

  /* start off-screen to the right */
  transform: translateX(100%);
  transition: transform 0.35s ease-in-out;
  z-index: 900;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;

  pointer-events: none; /* no clicks when hidden */
}

/* When menu is open */
.nav-mobile.open {
  transform: translateX(0); /* slide into place */
  pointer-events: auto;
}

/* Activate layout only on mobile sizes */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  } /* hide desktop nav on mobile */
  .hamburger {
    display: flex;
  } /* show hamburger on mobile */

  .nav-mobile {
    display: block; /* becomes a scrollable column */
    padding: 0; /* bands touch edges */
  }
  .nav-mobile.open {
    transform: translateX(0); /* smoothly slides in from right */
    visibility: visible;
    pointer-events: auto;
  }

  /* GIANT BUTTON BANDS */
  .nav-mobile a {
    display: flex; /* make the whole band clickable */
    align-items: center;
    justify-content: center;
    width: 100%;
    /* Each band takes equal vertical share of the viewport under the header */
    min-height: calc((100dvh - var(--header-height)) / 4);
    /* fallback if calc not supported */
    min-height: 16vh;
    text-transform: capitalize;
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    font-weight: 900;
    letter-spacing: 0.2px;
    text-align: center;
    font-size: clamp(26px, 7vw, 44px);

    /* separators */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    /* entrance animation */
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.45s ease, transform 0.45s ease, background 0.25s ease,
      color 0.2s;
    /* Snap each band to top when scrolling (optional) */
    scroll-snap-align: start;
  }
  .nav-mobile a:last-child {
    border-bottom: none;
  }

  .nav-mobile.open a {
    opacity: 1;
    transform: translateY(0);
  }
  .nav-mobile.open a:nth-child(1) {
    transition-delay: 0.06s;
  }
  .nav-mobile.open a:nth-child(2) {
    transition-delay: 0.12s;
  }
  .nav-mobile.open a:nth-child(3) {
    transition-delay: 0.18s;
  }
  .nav-mobile.open a:nth-child(4) {
    transition-delay: 0.24s;
  }

  /* Hover/active feedback (mobile tap shows pressed state) */
  .nav-mobile a:hover,
  .nav-mobile a:active {
    background: rgba(255, 255, 255, 0.04);
  }
  .nav-mobile a.active {
    background: linear-gradient(
      180deg,
      color-mix(in oklab, var(--accent) 14%, transparent),
      rgba(255, 255, 255, 0.03)
    );
    color: var(--text);
  }
}

/* ===============================
   Hero (video + type)
   =============================== */
#hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.1);
}
.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  transition: opacity 0.25s ease; /* faded when mobile menu opens */
}
.brand-kicker {
  margin: 0 0 10px 0;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 14px;
}
.type-wrap {
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
}
.typed-cursor {
  display: inline-block;
  width: 1ch;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ===============================
   What do we do
   =============================== */

.services-section {
  padding: 80px 20px;
  background: var(--card);
  color: var(--text);
  text-align: center;
}

.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 50px auto;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 30px 20px;
  transition: transform 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 18px;
  color: var(--accent-2);
  transition: transform 0.25s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
  color: var(--text);
}

.service-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.services-cta {
  margin-top: 20px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease;
}
.cta-button:hover {
  background: var(--accent-2);
}

@keyframes exitLeftBlur {
  to {
    opacity: 0;
    transform: translateX(-40px) scale(0.98);
    filter: blur(6px);
  }
}
@keyframes exitRightBlur {
  to {
    opacity: 0;
    transform: translateX(40px) scale(0.98);
    filter: blur(6px);
  }
}

.exit-left-blur {
  animation: exitLeftBlur 0.55s ease forwards;
}
.exit-right-blur {
  animation: exitRightBlur 0.55s ease forwards;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .exit-left-blur,
  .exit-right-blur {
    animation: none !important;
  }
}

/* ===============================
   Who we are
   =============================== */

/* ABOUT */
.about-section {
  padding: 80px 20px;
  background: var(--bg);
  color: var(--text);
}

.about-section .section-title {
  text-align: center;
  margin-bottom: 10px;
}

.about-section .section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 48px;
  color: var(--muted);
}

.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
}

.about-text p {
  margin-top: 0;
  line-height: 1.7;
  color: var(--text);
}
.about-point-grid {
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.about-points {
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.about-points li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  color: var(--muted);
}

.about-cta {
  text-align: center;
  margin-top: 50px;
}

.about-media {
  display: grid;
  gap: 16px;
}

.about-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
}
.about-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05);
}
.about-caption {
  padding: 12px 14px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat {
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 8px;
  background: rgba(255, 255, 255, 0.02);
}
.stat-num {
  font-weight: 900;
  font-size: clamp(18px, 4.5vw, 28px);
  color: var(--text);
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-card img {
    height: 220px;
  }
  .about-points {
    grid-template-columns: 1fr;
  }
}

#about.about-section {
  padding: 80px 20px;
  color: var(--text);
  background: var(--bg);
}

#about .section-title {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 800;
}
#about .section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
  color: var(--muted);
}

/* ---- Duo layout ---- */
#about .team-duo {
  --size: clamp(200px, 28vw, 340px); /* circle diameter */
  --gap: clamp(28px, 7vw, 56px); /* horizontal gap between the two slots */

  display: flex;
  justify-content: center; /* keep duo centered */
  align-items: center;
  gap: var(--gap); /* exact gap between A and B */
  margin-top: 10px;
  max-width: 1200px;
  margin: auto;
}

/* Each slot is a fixed square where either a circle OR a bio can appear */
#about .slot {
  position: relative;
  width: var(--size);
  height: var(--size);
}

/* Circles */
#about .founder {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease,
    z-index 0.2s, opacity 0.25s ease;
  cursor: pointer;
  z-index: 2;
}
#about .founder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bio takes the exact place of the slot (overlay the circle) */
#about .bio {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
}
#about .bio h3 {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: 18px;
}
#about .bio p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.bio-a h3, .bio-b h3 {
  text-decoration: underline;
}
.designation {
  text-decoration: underline;
  font-style: italic;
  font-size: 16px;
}
.founder-details {
  font-size: 14px;
}

/* Close button (added inside bio) */
.bio-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: transparent;
  color: inherit;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
@media (hover: hover) {
  .bio-close:hover {
    background: rgba(0, 0, 0, 0.06);
  }
}

/* ---------- INTERACTION STATES ----------
   Hover/tap A: B slides under A; A's bio shows in RIGHT slot.
   Hover/tap B: A slides under B; B's bio shows in LEFT slot.
*/
#about .team-duo.active-a .founder.a {
  z-index: 4;
  transform: translateX(0) rotateY(0) scale(1);
}
#about .team-duo.active-a .founder.b {
  z-index: 1;
  transform: translateX(calc(-80% - var(--gap))) rotateY(-14deg) scale(0.9);
  filter: brightness(0.8) blur(0.35px);
}
/* show A's bio in RIGHT slot (where B was) */
#about .team-duo.active-a .slot-right .bio-a {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* hide the circle in that slot so the bio fully replaces it */
#about .team-duo.active-a .slot-right .founder.b {
  opacity: 0;
  pointer-events: none;
}

/* Mirror for B */
#about .team-duo.active-b .founder.b {
  z-index: 4;
  transform: translateX(0) rotateY(0) scale(1);
}
#about .team-duo.active-b .founder.a {
  z-index: 1;
  transform: translateX(calc(80% + var(--gap))) rotateY(14deg) scale(0.9);
  filter: brightness(0.8) blur(0.35px);
}
#about .team-duo.active-b .slot-left .bio-b {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#about .team-duo.active-b .slot-left .founder.a {
  opacity: 0;
  pointer-events: none;
}

/* Hover polish (desktop) */
@media (hover: hover) {
  #about .founder:hover {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}

/* ---------- Responsive: stack on mobile ---------- */
@media (max-width: 768px) {
  #about .team-duo {
    flex-direction: column;
    --size: clamp(180px, 65vw, 260px);
    --gap: 50px;
  }
  /* On mobile we show the bio under the active circle, not in the other slot */
  #about .slot {
    width: var(--size);
    height: var(--size);
    display: grid;
    justify-items: center;
  }
  #about .bio {
    position: static;
    width: 100%;
    margin-top: 12px;
    transform: none;
    opacity: 0;
  }
  #about .team-duo.active-a .slot-right .bio-a,
  #about .team-duo.active-b .slot-left .bio-b {
    opacity: 1;
    pointer-events: auto;
  }
  #about .team-duo.active-a .founder.b,
  #about .team-duo.active-b .founder.a {
    transform: translateY(6%) scale(0.94) rotateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .about-cta {
    margin-top: 50px;
  }
}

/* =========================
   HOW IT WORKS
   ========================= */
.hiw-section {
  padding: 84px 20px 80px;
  background: var(--card);
  color: var(--text);
}
.hiw-section .container {
  max-width: 1200px;
  margin: 0 auto;
}
.hiw-section .section-title {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 800;
}
.hiw-section .section-intro {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
  color: var(--muted);
}

/* Flow rail */
.hiw-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.hiw-line {
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 36px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  z-index: 0;
}

/* Step card */
.how-step {
  position: relative;
  z-index: 1;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 18px 16px;
  min-height: 156px;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease;
}
.how-step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}
.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.step-badge {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--accent) 14%, transparent);
  font-weight: 800;
  font-size: 13px;
}
.step-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}
.step-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* Progress dots along the rail */
.how-step::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
  transition: background 0.25s ease, transform 0.25s ease;
}
.how-step.in-view::before {
  background: var(--accent);
  transform: translateX(-50%) scale(1.05);
}

/* Responsive */
@media (max-width: 1100px) {
  .hiw-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hiw-line {
    display: none;
  }
}
@media (max-width: 768px) {
  .hiw-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .how-step::before {
    left: 0;
    transform: none;
    top: 14px;
    margin-left: -20px;
  }
  .how-step.in-view::before {
    display: none;
  }
}
.hiw-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* =========================
   GET IN TOUCH (Demo + Contact)
   ========================= */
.git-section {
  padding: 84px 20px 88px;
  background: var(--bg);
  color: var(--text);
}
.git-section .container {
  max-width: 1000px;
  margin: 0 auto;
}
.git-section .section-title {
  text-align: center;
  margin: 0 0 10px;
  font-weight: 800;
}
.git-section .section-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 32px;
  color: var(--muted);
}

/* Tabs */
.git-tabs {
  display: inline-flex;
  gap: 8px;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 12px;
  background: color-mix(in oklab, var(--card) 90%, transparent);
  margin: 0 auto 20px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.git-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.git-tab.active {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: var(--text);
}

/* Panels */
.git-panels {
  margin-top: 10px;
}
.git-panel {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 14px;
  padding: 18px;
}
.git-panel[hidden] {
  display: none;
}

.git-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group span.help {
  color: var(--muted);
  font-size: 12px;
}
.form-group span.error {
  color: #ff6b6b;
  font-size: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 20%, transparent);
}
.span-2 {
  grid-column: span 2;
}

.btn-accent {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.form-footnote {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}
.form-footnote a {
  color: var(--accent);
  text-decoration: none;
}
.form-footnote a:hover {
  text-decoration: underline;
}

.git-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  text-align: center;
}

/* Time icon visible on dark */
input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
  opacity: 0.85;
}
input[type="time"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Validation feedback */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.15);
}
.help.error {
  color: #ff6b6b;
  font-size: 12px;
}
.form-success {
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  border-radius: 8px;
}

/* Contact aside */
.git-aside {
  margin-top: 30px;
}
.aside-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg);
}
.aside-card h4 {
  margin: 0 0 6px;
  font-weight: 800;
}

/* Responsive */
@media (max-width: 820px) {
  .git-grid {
    grid-template-columns: 1fr;
  }
  .span-2 {
    grid-column: span 1;
  }
}

/* ===============================
   Footer
   =============================== */
.site-footer {
  background: #0c0f14;
  border-top: 1px solid var(--border);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.footer-col {
  color: var(--muted);
}
.footer-heading {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}
.footer-logo {
  width: 150px;
  height: 150px;
}
.footer-company {
  color: var(--text);
  font-weight: 700;
  margin-bottom: 4px;
}
.footer-contact a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  display: inline-block;
  padding: 6px 0;
  text-transform: capitalize;
}
.footer-links a:hover {
  color: var(--text);
}

.social-row {
  display: flex;
  gap: 14px;
}
.social-row a {
  color: var(--muted);
  font-size: 22px;
}
.social-row a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  padding: 16px 10px 22px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    display: block;
  }

  .social-row {
    display: block;
    letter-spacing: 10px;
  }

  .brand-logo-footer {
    text-align: center;
    text-align: -webkit-center;
    margin-bottom: 10px;
  }
}
