/* =============================================
   WILTAINS ENTERPRISES LLP — MAIN STYLESHEET
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  /* Dark Theme (Default) */
  --bg-primary: #0f0e0c;
  --bg-secondary: #181613;
  --bg-card: #1e1b17;
  --bg-card-hover: #252117;
  --bg-glass: rgba(30, 27, 23, 0.7);

  --text-primary: #f0ece4;
  --text-secondary: #a89e8c;
  --text-muted: #6b6154;

  --accent-warm: #c9a96e;
  --accent-terracotta: #c06b4a;
  --accent-sage: #7a9e7e;
  --accent-sand: #d4c5a9;
  --accent-rust: #a84c2c;

  --gradient-hero: linear-gradient(135deg, #0f0e0c 0%, #1a1410 40%, #120f0b 100%);
  --gradient-accent: linear-gradient(135deg, #c9a96e, #c06b4a);
  --gradient-card: linear-gradient(135deg, rgba(201,169,110,0.08), rgba(192,107,74,0.05));

  --border-color: rgba(201, 169, 110, 0.15);
  --border-hover: rgba(201, 169, 110, 0.4);

  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 40px rgba(201,169,110,0.15);

  --nav-bg: rgba(15,14,12,0.85);

  /* Typography Scale Tokens */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  --letter-spacing-tight: -0.03em;
  --letter-spacing-tighter: -0.05em;
  --letter-spacing-wide: 0.08em;
  --letter-spacing-wider: 0.15em;

  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

[data-theme="light"] {
  --bg-primary: #faf8f4;
  --bg-secondary: #f2ede5;
  --bg-card: #ffffff;
  --bg-card-hover: #fdf9f4;
  --bg-glass: rgba(255, 255, 255, 0.75);

  --text-primary: #1a1410;
  --text-secondary: #5a4f42;
  --text-muted: #9a8f80;

  --gradient-hero: linear-gradient(135deg, #faf8f4 0%, #f0ebe0 40%, #fdf8f2 100%);
  --gradient-card: linear-gradient(135deg, rgba(201,169,110,0.06), rgba(192,107,74,0.04));

  --border-color: rgba(201, 169, 110, 0.25);
  --border-hover: rgba(192, 107, 74, 0.5);

  --shadow-card: 0 8px 40px rgba(0,0,0,0.1);
  --shadow-glow: 0 0 40px rgba(201,169,110,0.2);

  --nav-bg: rgba(250, 248, 244, 0.88);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
  line-height: 1.7; /* Slightly more relaxed for body text */
  font-optical-sizing: auto;
}

::selection {
  background: rgba(201, 169, 110, 0.3);
  color: var(--text-primary);
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-warm); border-radius: 3px; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  letter-spacing: var(--letter-spacing-tight);
}

.serif-accent {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  /* Add slight padding to prevent cropping of italic characters with background-clip: text */
  padding-right: 0.08em;
  margin-right: -0.04em;
}

/* ---- UTILITIES ---- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 20px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: rgba(255,255,255,0.1);
  transition: opacity 0.3s ease;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 24px rgba(192,107,74,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192,107,74,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201,169,110,0.15);
}

/* ---- NAVIGATION ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

nav.scrolled {
  height: 64px;
  box-shadow: 0 4px 40px rgba(0,0,0,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 1.1rem;
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  letter-spacing: var(--letter-spacing-tighter);
}

.logo-sub {
  font-size: 0.6rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: var(--font-weight-semibold);
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
  letter-spacing: 0.02em;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gradient-accent);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-links a:hover { color: var(--accent-warm); }
.nav-links a:hover::after { width: 100%; }

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

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.theme-toggle:hover {
  border-color: var(--accent-warm);
  transform: rotate(20deg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

.mobile-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--accent-warm); }

/* ---- HERO SECTION ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.5), transparent 70%);
  top: -100px;
  right: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(192,107,74,0.4), transparent 70%);
  bottom: -80px;
  left: -80px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(122,158,126,0.3), transparent 70%);
  top: 50%;
  left: 50%;
  animation-delay: -5s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.03); }
  66% { transform: translate(-10px, 15px) scale(0.97); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

[data-theme="light"] .hero-grid {
  background-image:
    linear-gradient(rgba(192,107,74,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,107,74,0.06) 1px, transparent 1px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  background: rgba(201,169,110,0.12);
  border: 1px solid rgba(201,169,110,0.3);
  font-size: 0.8rem;
  font-weight: var(--font-weight-medium);
  color: var(--accent-warm);
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  animation: fade-up 0.8s ease forwards;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-warm);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 4.8rem); /* Reduced from 5.8rem for better balance */
  font-weight: 800;
  letter-spacing: var(--letter-spacing-tighter);
  line-height: 1; /* Slightly increased from 0.95 to avoid vertical cropping */
  margin-bottom: 28px;
  animation: fade-up 0.8s ease 0.1s both;
}

.hero-sub {
  font-size: 1rem; /* Locked to 1rem for a cleaner, less overwhelmed feel */
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 40px;
  font-weight: 400;
  animation: fade-up 0.8s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fade-up 0.8s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  animation: fade-up 0.8s ease 0.4s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: var(--font-weight-black);
  letter-spacing: -0.03em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- SECTION BASE ---- */
section {
  padding: 110px 0;
}

.section-header {
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem); /* Slightly smaller for a more elegant hierarchy */
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
}

/* ---- ABOUT SECTION ---- */
#about {
  background: var(--bg-secondary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-stack {
  position: relative;
  height: 480px;
}

.about-card {
  position: absolute;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 28px;
  transition: transform 0.5s ease;
}

.about-card:nth-child(1) {
  width: 80%;
  top: 0;
  left: 10%;
  background: var(--gradient-card);
  backdrop-filter: blur(20px);
  z-index: 3;
  transform: rotate(-2deg);
}

.about-card:nth-child(2) {
  width: 75%;
  top: 120px;
  right: 0;
  z-index: 2;
  transform: rotate(3deg);
  background: rgba(122,158,126,0.08);
  border-color: rgba(122,158,126,0.2);
}

.about-card:nth-child(3) {
  width: 65%;
  bottom: 0;
  left: 5%;
  z-index: 1;
  transform: rotate(-1deg);
  background: rgba(192,107,74,0.08);
  border-color: rgba(192,107,74,0.2);
}

.about-card:hover { transform: rotate(0deg) scale(1.02) !important; }

.about-card-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.about-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.about-card-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-content .section-title { margin-bottom: 20px; }

.about-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.pill {
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.pill:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
  background: rgba(201,169,110,0.08);
}

/* ---- SERVICES SECTION ---- */
#services {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(201,169,110,0.15), rgba(192,107,74,0.1));
  border: 1px solid rgba(201,169,110,0.2);
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.1); }

.service-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-warm);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.service-card:hover .service-link { gap: 10px; }

/* ---- WORK SECTION ---- */
#work {
  background: var(--bg-secondary);
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-accent);
  border-color: transparent;
  color: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.work-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-item:hover {
  transform: scale(1.02);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}

.work-item:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.work-item:nth-child(2) { grid-column: span 5; }
.work-item:nth-child(3) { grid-column: span 5; }
.work-item:nth-child(4) { grid-column: span 4; }
.work-item:nth-child(5) { grid-column: span 4; }
.work-item:nth-child(6) { grid-column: span 4; }

.work-visual {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-item:nth-child(1) .work-visual { min-height: 400px; }
.work-item:nth-child(2) .work-visual,
.work-item:nth-child(3) .work-visual { min-height: 190px; }
.work-item:nth-child(4) .work-visual,
.work-item:nth-child(5) .work-visual,
.work-item:nth-child(6) .work-visual { min-height: 200px; }

.work-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s ease;
}

.work-item:hover .work-bg { transform: scale(1.05); }

.work-bg-1 { background: linear-gradient(135deg, #1a150e, #2d2112, #c9a96e22); }
.work-bg-2 { background: linear-gradient(135deg, #0e1a14, #1a2d1e, #7a9e7e22); }
.work-bg-3 { background: linear-gradient(135deg, #1a0e0e, #2d1212, #c06b4a22); }
.work-bg-4 { background: linear-gradient(135deg, #0e0e1a, #12122d, #8888cc22); }
.work-bg-5 { background: linear-gradient(135deg, #1a150a, #2a200a, #d4c5a922); }
.work-bg-6 { background: linear-gradient(135deg, #0e1614, #182422, #7a9e7e22); }

[data-theme="light"] .work-bg-1 { background: linear-gradient(135deg, #f0ebe0, #ffe8cc); }
[data-theme="light"] .work-bg-2 { background: linear-gradient(135deg, #e8f0eb, #d0e8d4); }
[data-theme="light"] .work-bg-3 { background: linear-gradient(135deg, #f0e8e0, #ffe0d0); }
[data-theme="light"] .work-bg-4 { background: linear-gradient(135deg, #e8e8f0, #d8d8f0); }
[data-theme="light"] .work-bg-5 { background: linear-gradient(135deg, #f0ece0, #ffe8b0); }
[data-theme="light"] .work-bg-6 { background: linear-gradient(135deg, #e0f0ee, #c8e8e4); }

.work-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.work-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

[data-theme="light"] .work-label {
  background: linear-gradient(transparent, rgba(0,0,0,0.5));
}

.work-item:hover .work-label { transform: translateY(0); }

.work-label-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 4px;
}

.work-label-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.work-float-icon {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3));
  transition: transform 0.3s ease;
}

.work-item:hover .work-float-icon { transform: scale(1.15) rotate(-5deg); }

/* ---- VISION SECTION ---- */
#vision {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.vision-bg-accent {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,169,110,0.06), transparent);
  pointer-events: none;
}

.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-content .section-title { margin-bottom: 20px; }

.vision-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.vision-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all 0.3s ease;
}

.vision-item:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
  background: var(--bg-card-hover);
}

.vision-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(201,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-item-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.vision-item-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.vision-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vision-stat-card {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border-color);
  background: var(--gradient-card);
  background-color: var(--bg-card);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vision-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-hover);
}

.vision-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.2), transparent 80%);
  transform: translate(20px, -20px);
}

.vision-stat-number {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}

.vision-stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.vision-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- CONTACT SECTION ---- */
#contact {
  background: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 20px; }

.contact-body {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.contact-detail:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201,169,110,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text {
  display: flex;
  flex-direction: column;
}

.contact-detail-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
}

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1.5px solid var(--border-color);
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent-warm);
  box-shadow: 0 0 0 4px rgba(201,169,110,0.1);
  background: var(--bg-card);
}

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

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

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  color: var(--accent-sage);
  font-weight: 600;
}

/* ---- FOOTER ---- */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-Secondary);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 260px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent-warm);
  color: var(--accent-warm);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
  color: var(--accent-warm);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--accent-warm); }

/* ---- SCROLL REVEAL ANIMATIONS ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.in-view {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ---- CURSOR GLOW ---- */
.cursor-glow {
  position: fixed;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.15s ease, top 0.15s ease;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-grid,
  .vision-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }

  .about-card-stack { height: 320px; }
  .about-card:nth-child(1) { width: 85%; }
  .about-card:nth-child(2) { width: 80%; }
  .about-card:nth-child(3) { width: 70%; }

  .work-item:nth-child(1) { grid-column: span 12; }
  .work-item:nth-child(2),
  .work-item:nth-child(3) { grid-column: span 6; }
  .work-item:nth-child(4),
  .work-item:nth-child(5),
  .work-item:nth-child(6) { grid-column: span 4; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }

  section { padding: 80px 0; }

  .hero-stats { gap: 24px; }

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

  .work-item:nth-child(1) { grid-column: span 12; }
  .work-item:nth-child(2),
  .work-item:nth-child(3),
  .work-item:nth-child(4),
  .work-item:nth-child(5),
  .work-item:nth-child(6) { grid-column: span 6; }

  .vision-cards-row { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 20px; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .work-item:nth-child(n) { grid-column: span 12; }
  .work-item:nth-child(1) .work-visual { min-height: 280px; }

  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }

  .about-card-stack { height: 280px; }
}

/* ---- MARQUEE ---- */
.marquee-section {
  background: var(--bg-secondary);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 40px;
  font-size: 0.8rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-warm);
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
