/* Insight Media Inc — Holding Company
   Premium dark cinematic · static · Cloudflare Pages ready */

:root {
  --bg: #07080b;
  --bg-elevated: #0d0f14;
  --bg-card: #12151c;
  --bg-card-hover: #171b24;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f3f5;
  --text-muted: #9aa3b2;
  --text-dim: #6b7382;
  --accent: #c8a96b;
  --accent-soft: rgba(200, 169, 107, 0.14);
  --accent-strong: #e0c48a;
  --glow: rgba(200, 169, 107, 0.25);
  --success-soft: rgba(120, 180, 140, 0.12);
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1120px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Ambient background */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(200, 169, 107, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 20%, rgba(80, 100, 160, 0.08), transparent 50%),
    radial-gradient(ellipse 35% 35% at 10% 60%, rgba(200, 169, 107, 0.05), transparent 50%),
    var(--bg);
}

/* ——— Nav ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 8, 11, 0.78);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent-strong), #8a6f3a);
  display: grid;
  place-items: center;
  box-shadow: 0 0 24px var(--glow);
  flex-shrink: 0;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
}

.logo-text span {
  color: var(--text-muted);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(200, 169, 107, 0.35);
  color: var(--accent-strong) !important;
  font-weight: 500;
  font-size: 0.8125rem !important;
  transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  background: rgba(200, 169, 107, 0.22);
  border-color: rgba(200, 169, 107, 0.55);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* ——— Hero ——— */
.hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.hero-eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}

.hero h1 .gold {
  color: var(--accent-strong);
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(145deg, var(--accent-strong), var(--accent));
  color: #1a1408;
  box-shadow: 0 8px 28px var(--glow);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(200, 169, 107, 0.4);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-meta-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.hero-meta-item .value {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ——— Sections ——— */
section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  max-width: 40rem;
}

.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.015), transparent);
}

/* ——— Products ——— */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 220px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 169, 107, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

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

.product-card.featured {
  border-color: rgba(200, 169, 107, 0.28);
  background: linear-gradient(165deg, rgba(200, 169, 107, 0.08), var(--bg-card) 45%);
}

.product-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 500;
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  line-height: 1.55;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--accent-strong);
  font-weight: 500;
  margin-top: 0.25rem;
}

.product-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.product-card:hover .product-link svg {
  transform: translateX(3px);
}

/* ——— Clients ——— */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 700px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.client-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.client-card.placeholder {
  border-style: dashed;
  background: transparent;
  opacity: 0.72;
}

.client-card.placeholder:hover {
  opacity: 1;
  border-color: rgba(200, 169, 107, 0.35);
}

.client-status {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.client-card:not(.placeholder) .client-status {
  color: #8fbf9a;
}

.client-card h3 {
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -0.01em;
}

.client-card .client-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.client-card a.tour-link {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* ——— Process ——— */
.process-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.process-step {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
}

.process-num {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 500;
}

.process-step h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.process-step p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ——— CTA / Contact ——— */
.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-panel {
  background:
    radial-gradient(ellipse 70% 80% at 80% 20%, rgba(200, 169, 107, 0.12), transparent 55%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius-lg) + 4px);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  gap: 2rem;
  box-shadow: var(--shadow);
}

@media (min-width: 860px) {
  .cta-panel {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.cta-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.cta-copy p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 32rem;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cta-contacts a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.cta-contacts a:hover {
  color: var(--accent-strong);
}

.cta-contacts svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(200, 169, 107, 0.45);
}

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

.contact-form .form-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.45;
}

.form-success {
  display: none;
  padding: 1rem;
  border-radius: 10px;
  background: var(--success-soft);
  border: 1px solid rgba(120, 180, 140, 0.25);
  color: #b8d9c0;
  font-size: 0.9rem;
}

.form-success.visible {
  display: block;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.88rem;
  max-width: 28ch;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
}

.footer-legal a:hover {
  color: var(--text-muted);
}

/* ——— Mobile nav ——— */
@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(7, 8, 11, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav-links .nav-cta {
    margin-top: 0.75rem;
    justify-content: center;
    border-bottom: none;
    padding: 0.85rem 1rem;
  }

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

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

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

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

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

  .product-card,
  .btn,
  .nav-links {
    transition: none;
  }
}
