/* ==========================================================================
   Human+ — Company Profile Site
   Design system: dark, semi-futuristic, minimalist, animated
   ========================================================================== */

:root {
  --bg: #06070d;
  --bg-soft: #0a0c16;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-hover: rgba(255, 255, 255, 0.065);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f3f4f8;
  --text-dim: #a3a8bd;
  --text-faint: #6b7086;

  --accent: #4fe8c9;
  --accent-2: #7c6cff;
  --accent-3: #ff6f8f;
  --gradient: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  --gradient-soft: linear-gradient(120deg, rgba(79, 232, 201, 0.15), rgba(124, 108, 255, 0.15));

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1240px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.7s;
}

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

html {
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* background texture: dot grid + glow blobs */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 90%);
  opacity: 0.6;
}

h1, h2, h3, h4 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}

.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

/* ============ Buttons ============ */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: #06070d;
  font-weight: 600;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(79, 232, 201, 0.22);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(20, 22, 34, 0.9);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--surface-hover);
  transform: translateY(-2px);
}
.btn svg { width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 13px 0;
  background: rgba(6, 7, 13, 0.97);
  border-bottom: 1px solid var(--border-soft);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 22px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}
.nav-links a {
  position: relative;
  font-size: 14.5px;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.3s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--gradient);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right { display: flex; align-items: center; gap: 26px; }
.nav-cta { display: none; }
@media (min-width: 860px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px; height: 34px;
  background: none;
  border: none;
  z-index: 200;
}
.nav-toggle span {
  height: 1.5px;
  width: 100%;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 859px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    background: rgba(6, 7, 13, 0.99);
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { font-size: 28px; color: var(--text); }
  .nav-links a::after { display: none; }
  body.menu-open { overflow: hidden; }
}
@media (min-width: 860px) { .nav-toggle { display: none; } }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  overflow: hidden;
}
.hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.55;
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  top: -380px; right: -320px;
  background: radial-gradient(circle, rgba(124, 108, 255, 0.24), transparent 65%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.hero-glow.two {
  top: auto; bottom: -420px; left: -360px; right: auto;
  background: radial-gradient(circle, rgba(79, 232, 201, 0.16), transparent 65%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  max-width: 15ch;
}
.hero-sub {
  margin-top: 26px;
  max-width: 620px;
  font-size: 18px;
  color: var(--text-dim);
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 2;
}
.hero-scroll .line {
  width: 1px; height: 42px;
  background: linear-gradient(var(--text-faint), transparent);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(var(--accent), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  to { top: 100%; }
}

/* small page hero (non-home pages) */
.page-hero {
  position: relative;
  padding: 168px 0 90px;
  overflow: hidden;
}
.page-hero .hero-glow { width: 700px; height: 700px; top: -340px; right: -260px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 16ch; }
.page-hero .hero-sub { max-width: 640px; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--text-faint);
  margin-top: 22px;
}
.breadcrumb .accent-dot { color: var(--accent); }

/* ============ Sections ============ */
section { position: relative; z-index: 1; }
.section { padding: 120px 0; }
.section-tight { padding: 90px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 64px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { margin-top: 18px; color: var(--text-dim); font-size: 16.5px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-foot-link {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  border: none;
}

/* ============ Reveal animation ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--delay, 0s);
}
[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============ Marquee ============ */
.marquee-wrap {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 30px 0;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 15px;
  color: var(--text-faint);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 64px;
}
.marquee-track span::after {
  content: "\2726";
  color: var(--accent);
  font-size: 10px;
  margin-left: 64px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ Stats ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.stat-card {
  background: var(--bg-soft);
  padding: 42px 28px;
  text-align: center;
}
.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
}
.stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-dim);
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Statement ============ */
.statement {
  padding: 130px 0;
  text-align: center;
}
.statement blockquote {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 4vw, 3rem);
  max-width: 18ch;
  margin: 0 auto;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.statement cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-size: 14px;
  color: var(--text-faint);
}

/* ============ Cards ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--surface-hover);
}
.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 13px;
  background: var(--gradient-soft);
  color: var(--accent);
  margin-bottom: 22px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-2, .grid-5 { grid-template-columns: 1fr; } }

/* ============ Values chips ============ */
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
}
.value-num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.value-card h3 { margin-top: 14px; font-size: 18px; }
.value-card p { margin-top: 10px; color: var(--text-dim); font-size: 14.5px; }

/* ============ Portfolio preview / grid ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  cursor: pointer;
  background: var(--bg-soft);
}
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
  filter: saturate(0.85) brightness(0.82);
}
.work-card:hover img { transform: scale(1.07); filter: saturate(1) brightness(0.9); }
.work-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(6,7,13,0.94) 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 24px;
}
.work-tag {
  align-self: flex-start;
  font-family: "Space Grotesk", sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(79, 232, 201, 0.35);
  background: rgba(79, 232, 201, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.work-card h3 { font-size: 19px; }
.work-card p { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* portfolio page filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 46px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-dim);
  font-size: 13.5px;
  font-family: "Space Grotesk", sans-serif;
  transition: all 0.35s var(--ease);
}
.filter-btn:hover { border-color: rgba(255,255,255,0.3); color: var(--text); }
.filter-btn.active { background: var(--gradient); color: #06070d; border-color: transparent; font-weight: 600; }

.work-card.hidden { display: none; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(4, 5, 10, 0.97);
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  max-width: 920px; width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  transform: translateY(24px) scale(0.98);
  transition: transform 0.5s var(--ease);
  max-height: 86vh;
}
.lightbox.open .lightbox-inner { transform: translateY(0) scale(1); }
.lightbox-media { height: 100%; min-height: 260px; }
.lightbox-media img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; }
.lightbox-body .work-tag { margin-bottom: 16px; }
.lightbox-body h3 { font-size: 26px; margin-bottom: 14px; }
.lightbox-body p { color: var(--text-dim); font-size: 15px; }
.lightbox-close {
  position: absolute; top: 26px; right: max(26px, calc(50vw - 460px));
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox-close:hover { background: var(--surface-hover); transform: rotate(90deg); }
.lightbox-close svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .lightbox-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lightbox-media { min-height: 220px; }
}

/* ============ Team ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}
.team-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.22); }
.team-photo {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #12162a, #0a0c16);
  display: flex; align-items: flex-end; justify-content: center;
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.team-info { padding: 20px 22px 26px; }
.team-info h3 { font-size: 17px; }
.team-info span { display: block; margin-top: 6px; font-size: 13px; color: var(--accent); }

/* ============ Timeline ============ */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 1px solid var(--border);
}
.timeline-item { position: relative; padding-bottom: 46px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37.5px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.timeline-year {
  font-family: "Space Grotesk", sans-serif;
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.05em;
}
.timeline-item h3 { margin-top: 8px; font-size: 19px; }
.timeline-item p { margin-top: 8px; color: var(--text-dim); font-size: 14.5px; max-width: 520px; }

/* ============ Services detail rows ============ */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 70px 0;
  border-bottom: 1px solid var(--border-soft);
}
.service-row:last-child { border-bottom: none; }
.service-row:nth-child(even) .service-visual { order: 2; }
.service-index {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  color: var(--text-faint);
  letter-spacing: 0.1em;
}
.service-text h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 14px; }
.service-text p { margin-top: 18px; color: var(--text-dim); font-size: 16px; max-width: 480px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.service-tags span {
  font-size: 12.5px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-family: "Space Grotesk", sans-serif;
}
.service-visual {
  aspect-ratio: 1.1 / 1;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-visual::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(124,108,255,0.22), transparent 55%),
              radial-gradient(circle at 75% 80%, rgba(79,232,201,0.18), transparent 55%);
}
.service-visual svg { width: 34%; height: 34%; color: var(--accent); position: relative; z-index: 1; opacity: 0.9; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 30px; padding: 50px 0; }
  .service-row:nth-child(even) .service-visual { order: 0; }
  .service-visual { aspect-ratio: 16/10; }
}

/* ============ Process steps ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-md); overflow: hidden; }
.process-step { background: var(--bg-soft); padding: 38px 28px; }
.process-num { font-family: "Space Grotesk", sans-serif; color: var(--accent); font-size: 14px; }
.process-step h3 { margin-top: 16px; font-size: 17px; }
.process-step p { margin-top: 10px; font-size: 14px; color: var(--text-dim); }
@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ============ CTA banner ============ */
.cta-banner {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% -10%, rgba(124,108,255,0.25), transparent 70%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 18ch; margin: 0 auto; }
.cta-banner p { margin-top: 16px; color: var(--text-dim); }
.cta-banner .hero-actions { justify-content: center; margin-top: 34px; }
@media (max-width: 620px) { .cta-banner { padding: 56px 28px; } }

/* ============ Contact page ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-list { display: flex; flex-direction: column; gap: 22px; margin-top: 36px; }
.contact-info-item {
  display: flex; gap: 18px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.contact-info-item:hover { border-color: rgba(255,255,255,0.22); background: var(--surface-hover); }
.contact-info-item .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info-item h4 { font-size: 15px; }
.contact-info-item p, .contact-info-item a { margin-top: 5px; font-size: 14.5px; color: var(--text-dim); }
.contact-info-item a:hover { color: var(--accent); }

.social-row { display: flex; gap: 12px; margin-top: 8px; }
.social-row a {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
}
.social-row a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.social-row svg { width: 18px; height: 18px; }

.form-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 42px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
}
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.05);
}
.field select option { background: #0a0c16; }
.form-note { margin-top: 16px; font-size: 12.5px; color: var(--text-faint); }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(79, 232, 201, 0.35);
  background: rgba(79, 232, 201, 0.08);
  color: var(--accent);
  font-size: 14px;
}
.form-success.show { display: block; }

.map-frame {
  margin-top: 60px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  filter: grayscale(0.5) invert(0.92) contrast(0.9);
  height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--border-soft);
  padding: 70px 0 34px;
  margin-top: 60px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand img { height: 22px; margin-bottom: 18px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--text-dim); font-size: 14.5px; transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}
.footer-bottom .social-row a { width: 36px; height: 36px; }
.footer-bottom .social-row svg { width: 15px; height: 15px; }

/* ============ Custom cursor ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--accent); }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.35);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s;
}
.cursor-ring.hovering { width: 54px; height: 54px; border-color: var(--accent); }
@media (hover: none), (max-width: 860px) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============ Misc utility ============ */
.mt-0 { margin-top: 0 !important; }
.text-center { text-align: center; }
