/* ===================================================================
   Omocris design system — bold gradient / glassmorphism, dark base.
   Brand gradient (blue -> purple -> gold) used as ambient glow,
   frosted glass surfaces, glowing interactive states, motion-rich.
   =================================================================== */

@import url('../fonts/fonts.css');
@import url('../vendor/fontawesome/fontawesome.css');

:root {
  /* Brand glow palette */
  --glow-blue: #4f9cf0;
  --glow-purple: #a35bef;
  --glow-gold: #ffb648;
  --purple-500: #a35bef;
  --purple-400: #c08bff;
  --blue-500: #4f9cf0;
  --gold-500: #ffb648;
  --gold-600: #f0982a;

  /* Surfaces */
  --bg: #05070d;
  --bg-deep: #020305;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-hi: rgba(255, 255, 255, 0.09);

  /* Text */
  --ink: #f5f7fb;
  --ink-soft: #b7c0d4;
  --ink-faint: #7d879c;

  /* Lines */
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.22);

  /* Type */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-glow-purple: 0 0 0 1px rgba(163, 91, 239, 0.25), 0 20px 60px -20px rgba(163, 91, 239, 0.45);
  --shadow-glow-gold: 0 0 0 1px rgba(255, 182, 72, 0.3), 0 20px 50px -18px rgba(255, 182, 72, 0.4);
  --shadow-card: 0 1px 1px rgba(0, 0, 0, 0.2), 0 20px 50px -24px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Ambient mesh: a few large soft color fields fixed behind everything,
   plus a small spotlight that tracks the cursor for a premium,
   tech-forward feel. Cheap (radial-gradient, no blur filter on huge
   elements) and safe under prefers-reduced-motion. */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-mesh::before,
.bg-mesh::after {
  content: '';
  position: absolute;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.5;
}

.bg-mesh::before {
  top: -18vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(163, 91, 239, 0.35), transparent 65%);
  animation: drift1 26s ease-in-out infinite;
}

.bg-mesh::after {
  bottom: -22vw;
  right: -14vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(79, 156, 240, 0.3), transparent 65%);
  animation: drift2 30s ease-in-out infinite;
}

.bg-spotlight {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 182, 72, 0.07), transparent 70%);
}

@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4vw, 5vw) scale(1.08); }
}

@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-3vw, -4vw) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-mesh::before,
  .bg-mesh::after {
    animation: none;
  }
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 800;
  font-size: clamp(2.15rem, 1.6rem + 2.3vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 1.35rem + 1.2vw, 2.4rem);
}

h3 {
  font-size: 1.3rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1em;
  color: var(--ink-soft);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 2px;
}

.gradient-text {
  background: linear-gradient(100deg, var(--glow-gold), var(--glow-purple) 60%, var(--glow-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-tight {
  padding: 52px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

/* True light section: redefines the token set so every nested
   component (tiles, panels, links, forms, figures) re-themes itself
   automatically against a light background, no separate variants to
   maintain. Surfaces use a warm dark-tinted translucency so glass
   cards still read as elevated against the lighter page. */
.section-light {
  --bg: #f7f4ee;
  --bg-deep: #efeade;
  --surface: rgba(28, 22, 10, 0.04);
  --surface-hi: rgba(28, 22, 10, 0.075);
  --ink: #1c1a14;
  --ink-soft: #4f4a3c;
  --ink-faint: #837c68;
  --line: rgba(28, 22, 10, 0.13);
  --line-soft: rgba(28, 22, 10, 0.08);
  --line-strong: rgba(28, 22, 10, 0.24);
  --gold-500: #a3650f;
  --gold-600: #8a5309;
  background: var(--bg);
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}

.section-light .btn-primary {
  color: #fff;
}

.section-light .figure img,
.section-light .index-row,
.section-light .tile,
.section-light .value-row,
.section-light .course-card,
.section-light .dash-card,
.section-light .insight-row {
  box-shadow: 0 1px 2px rgba(28, 22, 10, 0.05), 0 16px 32px -20px rgba(28, 22, 10, 0.22);
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin: 0 0 16px;
}

.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 620px;
}

.section-head {
  max-width: 700px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 64px 0;
  }
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.btn i {
  font-size: 0.82em;
}

.btn-primary {
  background: linear-gradient(100deg, var(--glow-gold), #ff8f6b 55%, var(--glow-purple));
  background-size: 160% 160%;
  color: #1a0f06;
  box-shadow: var(--shadow-glow-gold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255, 182, 72, 0.4), 0 26px 60px -16px rgba(255, 143, 107, 0.55);
  background-position: 100% 0;
}

.btn-outline {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.btn-outline:hover {
  border-color: var(--glow-purple);
  background: rgba(163, 91, 239, 0.12);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  background-image: linear-gradient(90deg, var(--gold-500), var(--glow-purple));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  padding-bottom: 3px;
  transition: background-size 0.25s var(--ease), gap 0.15s var(--ease);
}

.link-arrow:hover {
  background-size: 100% 2px;
  gap: 12px;
}

/* ---------- Masthead ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 7, 13, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(5, 7, 13, 0.92);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, 0.6);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 40px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 19px;
  flex-wrap: nowrap;
}

.main-nav a {
  position: relative;
  padding: 6px 0;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s var(--ease);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--glow-purple));
  transition: right 0.2s var(--ease);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-actions .login-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.header-actions .login-link:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--ink);
  cursor: pointer;
  padding: 8px;
}

@media (max-width: 940px) {
  .main-nav {
    position: fixed;
    inset: 80px 0 0 0;
    background: rgba(5, 7, 13, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px;
    gap: 0;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
    overflow-y: auto;
  }

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

  .main-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .header-actions .btn-outline,
  .header-actions .login-link {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding: 76px 0 96px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .hero-actions {
    flex-wrap: nowrap;
    gap: 16px;
  }

  .hero-actions .btn {
    padding: 12px 18px;
    font-size: 0.86rem;
  }

  .hero-actions .link-arrow {
    font-size: 0.86rem;
    white-space: nowrap;
  }
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.meta-line span:not(:last-child)::after {
  content: '/';
  margin-left: 10px;
  color: var(--line-strong);
}

.hero-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 38px;
  background: linear-gradient(160deg, var(--surface), rgba(255, 255, 255, 0.015));
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
}

.hero-panel::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255, 182, 72, 0.5), transparent 40%, rgba(163, 91, 239, 0.4));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-panel .panel-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.hero-panel dl {
  margin: 0;
}

.hero-panel .panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}

.hero-panel .panel-row:first-of-type {
  border-top: none;
  padding-top: 0;
}

.hero-panel dt {
  font-size: 0.85rem;
  color: var(--ink-faint);
}

.hero-panel dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  text-align: right;
}

@media (max-width: 940px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 52px 0 60px;
  }
}

/* ---------- Figures / photography: glowing glass frame ---------- */
.figure {
  margin: 0;
  position: relative;
}

.figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.figure:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-purple);
}

/* ---------- Marks ---------- */
.pyramid-mark {
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 15px solid var(--purple-500);
  display: inline-block;
}

/* ---------- Two column feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

@media (max-width: 940px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- Editorial index list -> glass rows ---------- */
.index-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.index-row {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.index-row:hover {
  transform: translateY(-3px);
  border-color: rgba(163, 91, 239, 0.4);
  background: var(--surface-hi);
  box-shadow: var(--shadow-glow-purple);
}

.index-row h3 {
  margin-bottom: 8px;
}

.index-row .index-icon {
  color: var(--gold-500);
  margin-right: 10px;
  font-size: 0.9em;
}

@media (max-width: 640px) {
  .index-row {
    padding: 20px 22px;
  }
}

/* ---------- Service tiles: glass bento grid ---------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tile {
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 182, 72, 0.4);
  background: var(--surface-hi);
  box-shadow: var(--shadow-glow-gold);
}

.tile i {
  font-size: 1.3rem;
  color: var(--gold-500);
  margin-bottom: 18px;
  display: block;
}

.tile h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.tile p {
  font-size: 0.93rem;
  margin: 0;
}

@media (max-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ---------- Full-bleed photo break ---------- */
.photo-break {
  position: relative;
  height: 440px;
  overflow: hidden;
}

.photo-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.5), transparent 30%, transparent 70%, rgba(5, 7, 13, 0.65));
}

@media (max-width: 640px) {
  .photo-break {
    height: 280px;
  }
}

/* ---------- Stat row ---------- */
.stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-row .stat {
  min-width: 140px;
}

.stat .stat-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--ink);
  display: block;
  margin-bottom: 2px;
}

.stat .stat-label {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* ---------- Values list -> glass rows ---------- */
.value-row {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(16px);
  margin-bottom: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.value-row:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 182, 72, 0.4);
}

.value-row .value-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  background: rgba(255, 182, 72, 0.1);
  font-size: 1.1rem;
}

/* ---------- Lists with check icons ---------- */
.check-list li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--ink-soft);
  align-items: flex-start;
}

.check-list i {
  color: var(--gold-500);
  margin-top: 4px;
  font-size: 0.85em;
}

/* ---------- Team ---------- */
.team-card {
  text-align: left;
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(163, 91, 239, 0.25), rgba(79, 156, 240, 0.15));
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.team-card .role {
  color: var(--gold-500);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Insights / articles ---------- */
.insight-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  margin-bottom: 14px;
}

.insight-row time {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-faint);
}

.insight-row h3 {
  margin-bottom: 8px;
}

.tag {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid rgba(163, 91, 239, 0.35);
  background: rgba(163, 91, 239, 0.1);
  border-radius: 999px;
  color: var(--purple-400);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-right: 8px;
}

@media (max-width: 640px) {
  .insight-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 140% at 15% 20%, rgba(255, 182, 72, 0.22), transparent 60%),
    radial-gradient(60% 140% at 85% 80%, rgba(163, 91, 239, 0.28), transparent 60%);
  z-index: 0;
}

.cta-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-band h2 {
  margin-bottom: 8px;
}

.cta-band p {
  margin: 0;
}

@media (max-width: 780px) {
  .cta-band .container {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  color: var(--ink);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.form-control::placeholder {
  color: var(--ink-faint);
}

.form-control:focus {
  outline: none;
  border-color: var(--glow-purple);
  box-shadow: 0 0 0 3px rgba(163, 91, 239, 0.22);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-top: 6px;
}

.form-error {
  font-size: 0.8rem;
  color: #ff9086;
  margin-top: 6px;
}

.field-invalid {
  border-color: #d64b3f !important;
}

/* ---------- Alerts / flash ---------- */
.alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  margin-bottom: 20px;
  font-size: 0.92rem;
  backdrop-filter: blur(12px);
}

.alert i {
  margin-top: 2px;
}

.alert-success {
  background: rgba(58, 166, 90, 0.12);
  border-color: rgba(58, 166, 90, 0.35);
  color: #7fdb9c;
}

.alert-error {
  background: rgba(214, 75, 63, 0.12);
  border-color: rgba(214, 75, 63, 0.35);
  color: #ff9086;
}

.alert-info {
  background: rgba(74, 144, 194, 0.12);
  border-color: rgba(74, 144, 194, 0.35);
  color: #8ec4ee;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
  color: var(--ink-faint);
  padding-top: 64px;
  border-top: 1px solid var(--line);
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-grid h4 {
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-grid a {
  display: block;
  padding: 6px 0;
  color: var(--ink-faint);
  font-size: 0.9rem;
  transition: color 0.15s var(--ease);
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-contact li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--gold-500);
  margin-top: 4px;
  width: 16px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--ink-faint);
  font-size: 0.88rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink-soft);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.footer-social a:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--ink-faint);
}

.footer-bottom a:hover {
  color: var(--ink);
}

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

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

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-header .header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header .header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.page-header .header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--bg) 40%, transparent 95%);
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Utility ---------- */
.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--gold-500);
  color: #1a1206;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}
