/* ========================================
   KORTEXA SOLUTIONS — style.css
   Aesthetic: Vibrant Light / Dark Premium
   ======================================== */

:root {
  /* Light mode palette */
  --bg: #F4F7F6;
  --bg-2: #EAF2F4;
  --bg-3: #D0E4E8;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --border: rgba(31, 58, 85, 0.1);
  --border-gold: rgba(86, 197, 199, 0.4);
  --gold: #56c5c7;
  --gold-light: #72d2d3;
  --gold-dim: rgba(86, 197, 199, 0.15);
  --white: #1f3a55;
  --white-dim: rgba(31, 58, 85, 0.7);
  --white-faint: rgba(31, 58, 85, 0.05);
  --text: #2b4054;
  --text-muted: #5b7083;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --card-bg: #ffffff;
  --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   DARK MODE VARIABLES
   ======================================== */
[data-theme="dark"] {
  --bg: #0d1b2a;
  --bg-2: #112233;
  --bg-3: #1a2f44;
  --surface: #142538;
  --surface-2: #1a2f44;
  --border: rgba(86, 197, 199, 0.12);
  --border-gold: rgba(86, 197, 199, 0.35);
  --gold: #56c5c7;
  --gold-light: #72d2d3;
  --gold-dim: rgba(86, 197, 199, 0.12);
  --white: #e8f4f8;
  --white-dim: rgba(232, 244, 248, 0.65);
  --white-faint: rgba(232, 244, 248, 0.04);
  --text: #c8dce8;
  --text-muted: #7fa8bf;
  --nav-bg: rgba(13, 27, 42, 0.92);
  --card-bg: #142538;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
  cursor: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   NOISE OVERLAY
   ======================================== */
.noise {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.cursor {
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  z-index: 10000;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, background 0.3s;
  mix-blend-mode: normal;
}

.cursor-follower {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: all 0.18s ease;
}

body:hover .cursor-follower { opacity: 1; }

/* ========================================
   PREMIUM UTILITIES
   ======================================== */
.text-gradient {
  background: linear-gradient(135deg, #1f3a55 0%, #56c5c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.premium-img-float {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(15, 23, 42, 0.05);
  animation: floatImg 6s ease-in-out infinite;
}

@keyframes floatImg {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ========================================
   CONTAINER
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: all var(--transition);
}

/* Center the nav-links column */
.nav-links {
  justify-self: center;
}

/* Push nav-actions to the far right */
.nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav.scrolled {
  padding: 16px 48px;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--white);
}

.logo-k {
  color: var(--gold);
}

.logo-rest {
  color: var(--white);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
  justify-self: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--gold);
}
.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--gold);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: 0 8px 16px rgba(86, 197, 199, 0.2);
}

.nav-cta:hover {
  background: #39aeb0;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(86, 197, 199, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-link {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 12px 0;
  transition: color var(--transition);
}

.mobile-link:hover {
  color: var(--gold);
}

/* ========================================
   HERO
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 60px;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at top left, rgba(86, 197, 199, 0.25) 0%, transparent 60%),
              radial-gradient(circle at bottom right, rgba(31, 58, 85, 0.15) 0%, transparent 60%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 10%; left: 30%;
  width: 50%; height: 50%;
  background: radial-gradient(circle, rgba(86, 197, 199, 0.1) 0%, transparent 70%);
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(15, 23, 42, 0.09);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(196, 161, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(196, 161, 90, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(86, 197, 199, 0.1);
  border: 1px solid var(--gold);
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s ease forwards;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 350;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title .line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.9s ease forwards;
}

.hero-title .line[data-line="1"] { animation-delay: 0.3s; }
.hero-title .line[data-line="2"] { animation-delay: 0.5s; }
.hero-title .line[data-line="3"] { animation-delay: 0.7s; }

.hero-title .italic {
  font-style: italic;
  color: var(--gold);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 44px;
  opacity: 0;
  animation: fadeUp 0.9s 0.9s ease forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.9s 1.1s ease forwards;
}

.btn-primary {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--gold);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 8px 16px rgba(86, 197, 199, 0.2);
}

.btn-primary:hover {
  background: #39aeb0;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(86, 197, 199, 0.3);
}

.btn-ghost {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: all var(--transition);
}

.btn-ghost:hover {
  color: var(--gold);
  gap: 12px;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.9s 1.3s ease forwards;
  width: fit-content;
}

.stat-item {
  padding: 0 48px 0 0;
  text-align: left;
}

.stat-item:first-child {
  padding-left: 0;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--white);
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-left: 2px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  margin: 0 48px 0 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 1s 1.5s ease forwards;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

.scroll-indicator span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}

/* ========================================
   SECTION SHARED STYLES
   ======================================== */
.section-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(86, 197, 199, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(86, 197, 199, 0.3);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 350;
  line-height: 1.2;
  color: var(--white);
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

/* ========================================
   INNER PAGE POLISH
   ======================================== */
.page-hero .section-title {
  max-width: 900px;
  margin: 0 auto;
}

.page-hero p {
  font-size: 0.96rem;
  line-height: 1.8;
}

.page-content .container {
  position: relative;
}

.glass {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--card-bg) 0%, var(--surface) 100%);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.glass img {
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  height: auto;
  display: block;
  box-sizing: border-box;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.about-visual {
  margin-top: 48px;
}

.about-card {
  position: relative;
  border: 1px solid var(--border-gold);
  padding: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 20px;
  overflow: hidden;
  background: var(--gold-dim);
}

.card-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(196, 161, 90, 0.15), transparent);
  pointer-events: none;
}

.about-card p {
  font-size: 0.95rem;
  color: var(--text);
}

.about-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--white);
  margin-bottom: 20px;
}

.about-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.pillar-icon {
  font-size: 1rem;
  color: var(--gold);
  margin-top: 2px;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.pillar p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 120px 0;
  background: var(--bg);
}

.services-header {
  text-align: center;
  margin-bottom: 72px;
}

.services-header .section-tag {
  justify-content: center;
}

.services-header .section-tag::before {
  display: none;
}

.section-sub {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

.service-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  padding: 40px 36px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(31, 58, 85, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.05), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(86, 197, 199, 0.4);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), 0 0 20px rgba(86, 197, 199, 0.12);
  background: var(--card-bg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.service-icon-wrap {
  margin-bottom: 20px;
  transition: transform var(--transition);
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.1);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.service-tags span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  background: rgba(86, 197, 199, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
}

.service-arrow {
  color: var(--text-muted);
  transition: all var(--transition);
  transform: translateX(0);
}

.service-card:hover .service-arrow {
  color: var(--gold);
  transform: translateX(6px);
}

/* ========================================
   PROCESS
   ======================================== */
.process {
  padding: 120px 0;
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.process::after {
  content: 'PROCESS';
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-family: var(--font-display);
  font-size: 160px;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.02);
  user-select: none;
  pointer-events: none;
}

.process-header {
  margin-bottom: 72px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  padding: 0 32px 0 0;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-num::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.step-line {
  position: absolute;
  top: 2px;
  right: -1px;
  width: 1px;
  height: 100%;
  background: var(--border);
}

/* ========================================
   CONTACT
   ======================================== */
.contact {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-gold), transparent);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: start;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 350;
  line-height: 1.2;
  color: var(--white);
  margin-top: 16px;
  margin-bottom: 20px;
}

.contact-title em {
  font-style: italic;
  color: var(--gold);
}

.contact-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.75;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
}

.info-item a, .info-item span {
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

.info-item a:hover {
  color: var(--gold);
}

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px 40px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  outline: none;
  transition: border-color var(--transition);
  resize: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--bg-2);
}

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold);
  color: #ffffff;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 8px;
}

.btn-submit:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196, 161, 90, 0.3);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-success {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius);
  color: var(--gold);
  font-size: 0.88rem;
  background: var(--gold-dim);
}

.form-success.visible {
  display: flex;
  animation: fadeUp 0.4s ease forwards;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

/* ========================================
   DARK MODE TOGGLE BUTTON
   ======================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.theme-toggle:hover {
  background: var(--gold);
  transform: rotate(20deg) scale(1.1);
  box-shadow: 0 0 16px rgba(86, 197, 199, 0.4);
}

.theme-toggle:hover .icon-sun,
.theme-toggle:hover .icon-moon {
  color: #ffffff;
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  font-size: 1.1rem;
  transition: opacity 0.3s ease, transform 0.4s ease;
  color: var(--gold);
  line-height: 1;
}

/* Light mode: show sun, hide moon */
.icon-sun { opacity: 1; transform: scale(1); }
.icon-moon { opacity: 0; transform: scale(0.5); }

/* Dark mode: hide sun, show moon */
[data-theme="dark"] .icon-sun { opacity: 0; transform: scale(0.5); }
[data-theme="dark"] .icon-moon { opacity: 1; transform: scale(1); }

/* Dark mode body gradient update */
[data-theme="dark"] body {
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-2) 100%);
}

/* Dark mode contact form wrap */
[data-theme="dark"] .contact-form-wrap {
  background: var(--surface);
}

/* Dark mode mobile menu */
[data-theme="dark"] .mobile-menu {
  background: var(--bg);
}

/* Dark mode hero bg text — lighter stroke for visibility on dark background */
[data-theme="dark"] .hero-bg-text {
  -webkit-text-stroke: 1px rgba(86, 197, 199, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer-socials a {
  color: var(--text-muted);
  transition: color var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  text-decoration: none;
}

.footer-socials a:hover {
  color: var(--white);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  display: block;
}

.footer-links {
  display: flex;
  gap: 60px;
  flex: 1;
  justify-content: space-between;
  max-width: 700px;
}

.footer-col a svg {
  width: 14px;
  height: 14px;
  vertical-align: text-bottom;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.footer-col a:hover svg {
  transform: translateY(-1px) scale(1.1);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.2em;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-inner, .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  .step-line {
    display: none;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .nav { padding: 20px 24px; grid-template-columns: 1fr auto; }
  .nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-actions { justify-self: end; gap: 10px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 24px 60px; }
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 24px; }
  .stat-divider { width: 40px; height: 1px; margin: 0; }
  .stat-item { padding: 0; }
  .scroll-indicator { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .contact-form-wrap { padding: 32px 24px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}