/* ========================================================
   7GO SYNERGY INC — Global Styles
   AI-Powered Outsourcing | Calabarzon, Philippines
   Aligned to BRAND_GUIDELINES.md v1.0
   ======================================================== */

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

:root {
  /* === Primary Brand Colors === */
  --color-gold:           #D4A017;
  --color-gold-deep:      #8B6914;
  --color-gold-rich:      #B8960F;
  --color-gold-bright:    #F0C040;
  --color-gold-pale:      #FFD866;

  /* === Neutrals === */
  --color-black:          #000000;
  --color-bg:             #0A0A0A;
  --color-surface:        #141414;
  --color-surface-raised: #1A1A1A;
  --color-border:         #2A2A2A;
  --color-border-subtle:  rgba(255, 255, 255, 0.06);
  --color-muted:          #4D4D4D;
  --color-silver:         #8A8A8A;
  --color-white:          #FFFFFF;

  /* === Chrome / Silver Accents === */
  --color-chrome-dark:    #9E9E9E;
  --color-chrome:         #C0C0C0;
  --color-chrome-light:   #E0E0E0;

  /* === Text Colors === */
  --text-primary:         #FFFFFF;
  --text-secondary:       #B0B0B0;
  --text-muted:           #6B6B6B;
  --text-accent:          #D4A017;

  /* === Gradients === */
  --gradient-gold:        linear-gradient(135deg, #8B6914 0%, #D4A017 40%, #F0C040 70%, #FFD866 100%);
  --gradient-gold-subtle: linear-gradient(135deg, #B8960F 0%, #D4A017 50%, #F0C040 100%);
  --gradient-chrome:      linear-gradient(135deg, #9E9E9E 0%, #C0C0C0 30%, #E0E0E0 60%, #C0C0C0 100%);

  /* === Shadows === */
  --shadow-sm:            0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md:            0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg:            0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-gold:          0 4px 20px rgba(212, 160, 23, 0.2);
  --shadow-gold-hover:    0 6px 25px rgba(212, 160, 23, 0.4);

  /* === Typography === */
  --font-display:         'Outfit', 'Inter', sans-serif;
  --font-heading:         'Inter', 'Outfit', sans-serif;
  --font-body:            'Inter', system-ui, sans-serif;
  --font-mono:            'JetBrains Mono', 'Fira Code', monospace;

  /* === Spacing === */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   12px;
  --space-base: 16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;
  --space-4xl:  80px;
  --space-5xl:  120px;

  /* === Border Radius === */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* === Transitions === */
  --transition-fast:    150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-default: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:    500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --nav-height: 72px;
  --section-pad-x: clamp(24px, 5vw, 80px);
  --section-pad-y: clamp(64px, 10vh, 120px);
  --max-content: 1200px;
  --max-text: 720px;

  /* Animation easings */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Loading state — hide content and prevent scroll while preloader is visible */
body.is-loading {
  overflow: hidden;
}

body.is-loading .navbar,
body.is-loading .hero-section,
body.is-loading .trusted-section,
body.is-loading .section-placeholder,
body.is-loading .about-section,
body.is-loading .services-section,
body.is-loading .portfolio-section,
body.is-loading .team-section,
body.is-loading .testimonials-section,
body.is-loading .faq-section,
body.is-loading .blog-section,
body.is-loading .contact-section,
body.is-loading .site-footer {
  opacity: 0;
}

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

ul {
  list-style: none;
}

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

::selection {
  background: var(--color-gold);
  color: var(--color-bg);
}


/* ── UTILITY: Gradient Text ───────────────────────────── */
.gradient-text {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


/* ── NAVIGATION ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 var(--section-pad-x);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background var(--transition-default);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--transition-default);
}

.nav-logo:hover {
  opacity: 0.7;
}

.logo-icon {
  color: var(--color-gold);
  font-size: 1.1rem;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  transition: color var(--transition-default);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-slow);
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Active nav link — section currently in view */
.nav-links a.active {
  color: var(--color-gold);
}

.nav-links a.active::after {
  width: 100%;
  background: var(--color-gold);
}

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-default), gap var(--transition-default);
}

.nav-cta:hover {
  color: var(--color-gold-bright);
  gap: 12px;
}

.cta-arrow {
  font-size: 1rem;
  transition: transform var(--transition-default);
}

.nav-cta:hover .cta-arrow {
  transform: translate(2px, -2px);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-default), opacity var(--transition-default);
}

.nav-hamburger.open span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-hamburger.open span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}


/* ── HERO SECTION ──────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-height) var(--section-pad-x) 0;
  overflow: hidden;
}

/* Subtle diagonal decorative lines */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(135deg, rgba(212, 160, 23, 0.03) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(212, 160, 23, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* 3D container — full-size behind hero content */
.hero-3d-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Subtle gold glow behind the 3D robot */
.hero-3d-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(212, 160, 23, 0.15) 0%,
    rgba(184, 150, 15, 0.08) 30%,
    rgba(139, 105, 20, 0.03) 55%,
    transparent 75%
  );
  filter: blur(60px);
  pointer-events: none;
  animation: glowPulse 5s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Spline viewer — fills entire hero */
.hero-spline-viewer {
  width: 100%;
  height: 100%;
  pointer-events: auto;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Hide Spline watermark (free plan) */
.hero-spline-viewer::part(logo) {
  display: none;
}

/* ── SPOTLIGHT EFFECT ─────────────────────────────────── */
.spotlight-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
  animation: spotlightFadeIn 1.5s ease-out 0.5s forwards;
}

@keyframes spotlightFadeIn {
  to { opacity: 1; }
}

.spotlight-group {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.spotlight-left {
  left: 0;
  animation: spotlightDriftRight 7s ease-in-out infinite alternate;
}

.spotlight-right {
  right: 0;
  animation: spotlightDriftLeft 7s ease-in-out infinite alternate;
}

@keyframes spotlightDriftRight {
  from { transform: translateX(0); }
  to { transform: translateX(100px); }
}

@keyframes spotlightDriftLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-100px); }
}

/* Beam styles */
.spotlight-beam {
  position: absolute;
  top: 0;
}

/* Left group beams */
.spotlight-left .spotlight-beam-1 {
  left: 0;
  width: 560px;
  height: 1380px;
  transform: translateY(-350px) rotate(-45deg);
  background: radial-gradient(68.54% 68.72% at 55.02% 31.46%,
    hsla(42, 85%, 65%, 0.08) 0%,
    hsla(42, 85%, 45%, 0.02) 50%,
    hsla(42, 85%, 35%, 0) 80%
  );
}

.spotlight-left .spotlight-beam-2 {
  left: 0;
  width: 240px;
  height: 1380px;
  transform: rotate(-45deg) translate(5%, -50%);
  transform-origin: top left;
  background: radial-gradient(50% 50% at 50% 50%,
    hsla(42, 85%, 65%, 0.06) 0%,
    hsla(42, 85%, 45%, 0.02) 80%,
    transparent 100%
  );
}

.spotlight-left .spotlight-beam-3 {
  left: 0;
  width: 240px;
  height: 1380px;
  transform: rotate(-45deg) translate(-180%, -70%);
  transform-origin: top left;
  background: radial-gradient(50% 50% at 50% 50%,
    hsla(42, 85%, 65%, 0.04) 0%,
    hsla(42, 85%, 35%, 0.02) 80%,
    transparent 100%
  );
}

/* Right group beams */
.spotlight-right .spotlight-beam-1 {
  right: 0;
  width: 560px;
  height: 1380px;
  transform: translateY(-350px) rotate(45deg);
  background: radial-gradient(68.54% 68.72% at 55.02% 31.46%,
    hsla(42, 85%, 65%, 0.08) 0%,
    hsla(42, 85%, 45%, 0.02) 50%,
    hsla(42, 85%, 35%, 0) 80%
  );
}

.spotlight-right .spotlight-beam-2 {
  right: 0;
  width: 240px;
  height: 1380px;
  transform: rotate(45deg) translate(-5%, -50%);
  transform-origin: top right;
  background: radial-gradient(50% 50% at 50% 50%,
    hsla(42, 85%, 65%, 0.06) 0%,
    hsla(42, 85%, 45%, 0.02) 80%,
    transparent 100%
  );
}

.spotlight-right .spotlight-beam-3 {
  right: 0;
  width: 240px;
  height: 1380px;
  transform: rotate(45deg) translate(180%, -70%);
  transform-origin: top right;
  background: radial-gradient(50% 50% at 50% 50%,
    hsla(42, 85%, 65%, 0.04) 0%,
    hsla(42, 85%, 35%, 0.02) 80%,
    transparent 100%
  );
}

/* Hero content — text overlays the 3D scene, pointer-events pass through to Spline */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  pointer-events: none;
}

/* Re-enable pointer-events on interactive elements within hero */
.hero-content a,
.hero-content button,
.hero-content input,
.hero-content [role="button"] {
  pointer-events: auto;
}

.hero-top-tag {
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.3s forwards;
}

.tag-line {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
}

.tag-text {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}

/* Oversized headline */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  font-size: clamp(5rem, 10vw, 14rem);
}

.headline-row {
  display: flex;
  gap: 0.15em;
  overflow: hidden;
  padding-right: 0.1em;
}

.headline-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: headlineReveal 1s var(--ease-out-expo) forwards;
}

.headline-word[data-delay="0"] { animation-delay: 0.2s; }
.headline-word[data-delay="1"] { animation-delay: 0.35s; }
.headline-word[data-delay="2"] { animation-delay: 0.5s; }
.headline-word[data-delay="3"] { animation-delay: 0.65s; }

/* Accent word — gold gradient text */
.headline-word.accent {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Outlined style for non-accent words */
.hero-headline .headline-word:not(.accent) {
  color: transparent;
  -webkit-text-stroke: 2px var(--text-primary);
}

@keyframes headlineReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero bottom area */
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 0.9s forwards;
}

.hero-description {
  max-width: 520px;
}

.hero-description p {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.8;
  color: var(--text-secondary);
}

.hero-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-tagline-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.hero-tagline-side span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--transition-default);
}

.hero-tagline-side span:hover {
  color: var(--color-gold);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: var(--section-pad-x);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s var(--ease-out-expo) 1.3s forwards;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.6); }
}

.scroll-indicator span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  writing-mode: vertical-rl;
}


/* ── TRUSTED / LOGOS SECTION ──────────────────────────── */
.trusted-section {
  padding: 48px var(--section-pad-x);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow: hidden;
}

.trusted-label {
  text-align: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
}

/* Logo strip */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
  max-width: var(--max-content);
  margin: 0 auto;
}

.logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: default;
}

.logo-placeholder:hover {
  opacity: 1;
}

.logo-placeholder .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid var(--color-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--color-muted);
}

.logo-placeholder .logo-name {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Marquee underneath */
.marquee-track {
  overflow: hidden;
  width: 100%;
  margin-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 24px;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeScroll 30s linear infinite;
  width: max-content;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #b4b4b4;
  text-transform: uppercase;
}

.marquee-sep {
  color: var(--color-gold-deep);
  font-size: 0.6rem;
  opacity: 1;
}

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


/* ── ABOUT SECTION ─────────────────────────────────────── */
.about-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.about-inner {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
}

/* Header */
.about-header {
  margin-bottom: 48px;
}

.about-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-top: 16px;
}

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

/* Intro */
.about-intro {
  margin-bottom: 64px;
  max-width: 800px;
}

.about-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.about-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Mission & Vision Grid */
.about-mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 20px;
}

.about-mv-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-gold);
  padding: 40px;
  position: relative;
  transition: border-color var(--transition-default), transform var(--transition-default);
}

.about-mv-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.mv-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(212, 160, 23, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--color-gold);
}

.mv-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.mv-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Core Values */
.about-values-block {
  margin-bottom: 64px;
}

.values-header {
  margin-bottom: 40px;
}

.values-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 12px;
}

/* Values carousel */
.values-carousel-wrapper {
  position: relative;
}

.values-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 10px 0 24px;
}

.values-carousel::-webkit-scrollbar {
  display: none;
}

.values-track {
  display: flex;
  gap: 16px;
}

.value-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 32px;
  position: relative;
  transition: border-color var(--transition-default), transform var(--transition-default);
  border-radius: var(--radius-md);
}

.value-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.value-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-border);
  margin-bottom: 16px;
  line-height: 1;
  transition: color var(--transition-default);
}

.value-card:hover .value-number {
  color: var(--color-gold);
}

.value-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.value-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Values carousel nav */
.values-carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.values-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-default);
}

.values-nav-btn:hover:not(:disabled) {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.values-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* Compliance note */
.about-compliance {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  margin-bottom: 80px;
  background: rgba(212, 158, 23, 0.171);
  border: 1px solid var(--color-gold);
  border-radius: var(--radius-md);
}

.compliance-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: -6px;
  color: var(--color-gold-bright);
}

.about-compliance p {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--color-gold-bright);
  letter-spacing: 0.03em;
}


/* ── PORTFOLIO SECTION ─────────────────────────────────── */
.portfolio-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.portfolio-inner {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 60px;
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 16px;
}

.portfolio-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  letter-spacing: 0.03em;
  max-width: 560px;
  margin: 0 auto;
}

/* Portfolio grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Portfolio card */
.portfolio-card {
  display: block;
  text-decoration: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.portfolio-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Stagger entrance */
.portfolio-card:nth-child(1) { transition-delay: 0s; }
.portfolio-card:nth-child(2) { transition-delay: 0.1s; }
.portfolio-card:nth-child(3) { transition-delay: 0.2s; }
.portfolio-card:nth-child(4) { transition-delay: 0.3s; }
.portfolio-card:nth-child(5) { transition-delay: 0.4s; }
.portfolio-card:nth-child(6) { transition-delay: 0.5s; }

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 160, 23, 0.3);
}

/* Browser bar */
.portfolio-card-preview {
  position: relative;
  overflow: hidden;
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--color-border);
}

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dot:nth-child(1) { background: #ff5f57; }
.browser-dot:nth-child(2) { background: #ffbd2e; }
.browser-dot:nth-child(3) { background: #28c840; }

/* Card image */
.portfolio-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.portfolio-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.85);
}

.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.08);
  filter: brightness(1);
}

/* Card info */
.portfolio-card-info {
  padding: 20px;
}

.portfolio-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.portfolio-card-desc {
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Tech tags */
.portfolio-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-card-tags span {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(212, 160, 23, 0.08);
  color: var(--color-gold);
  border: 1px solid rgba(212, 160, 23, 0.15);
}


/* ── TEAM SECTION ──────────────────────────────────────── */
.team-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.team-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  opacity: 0.04;
  pointer-events: none;
}

.team-inner {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-header {
  margin-bottom: 60px;
}

.team-header-text {
  max-width: 600px;
}

.team-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 20px;
}

.team-title-sub {
  display: block;
  font-size: clamp(0.9rem, 2vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.team-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 520px;
  line-height: 1.7;
}

/* Team grid */
.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
}

/* Team card */
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px 32px;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  opacity: 0;
  transform: translateY(24px);
  width: calc(33.333% - 20px);
  min-width: 240px;
}

.team-card.in-view {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Stagger entrance */
.team-card:nth-child(1) { transition-delay: 0s; }
.team-card:nth-child(2) { transition-delay: 0.1s; }
.team-card:nth-child(3) { transition-delay: 0.2s; }
.team-card:nth-child(4) { transition-delay: 0.3s; }
.team-card:nth-child(5) { transition-delay: 0.4s; }
.team-card:nth-child(6) { transition-delay: 0.5s; }

/* Accent color variations */
.team-card[data-accent="gold"] {
  background: rgba(212, 160, 23, 0.06);
}
.team-card[data-accent="muted"] {
  background: var(--color-surface);
}
.team-card[data-accent="warm"] {
  background: rgba(229, 62, 62, 0.05);
}

.team-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Wave animation on hover */
.team-card-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(to top, rgba(212, 160, 23, 0.1), transparent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s ease-out;
  pointer-events: none;
}

.team-card:hover .team-card-wave {
  transform: scaleY(1);
}

/* Avatar */
.team-card-avatar {
  position: relative;
  z-index: 2;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.5s ease, transform 0.5s ease;
  margin-bottom: 20px;
}

.team-card:hover .team-card-avatar {
  border-color: var(--color-gold);
  transform: scale(1.05);
}

.team-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-avatar img {
  transform: scale(1.1);
}

/* Name & role */
.team-card-name {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.team-card-role {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 0;
}

/* Social links */
.team-card-socials {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 12px;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-card-socials {
  opacity: 1;
  transform: translateY(0);
}

.team-card-socials a {
  color: var(--text-muted);
  transition: color var(--transition-default);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card-socials a:hover {
  color: var(--color-gold);
}

/* Department label */
.team-card-dept {
  position: relative;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
  margin-top: -8px;
}

/* 7th child stagger */
.team-card:nth-child(7) { transition-delay: 0.6s; }

/* Open position card */
.team-card.open-position {
  border: 2px dashed var(--color-border);
  background: transparent;
}

.team-card.open-position .team-card-avatar {
  border: 2px dashed var(--color-border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-card.open-position .team-card-avatar .avatar-placeholder {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-border);
  line-height: 1;
}

.team-card.open-position .team-card-name {
  color: var(--text-muted);
}

.team-card.open-position .team-card-role {
  color: var(--color-gold);
  font-weight: 500;
}

.team-card.open-position:hover .team-card-avatar {
  border-color: var(--color-gold);
}

.team-card.open-position:hover .team-card-avatar .avatar-placeholder {
  color: var(--color-gold);
}


/* ── SERVICES SECTION ──────────────────────────────────── */
.services-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.services-header {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto 40px;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 20px;
}

.services-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 520px;
  line-height: 1.7;
}

/* Carousel wrapper */
.services-carousel-wrapper {
  max-width: var(--max-content);
  margin: 0 auto;
}

.services-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 20px 0 40px;
}

.services-carousel::-webkit-scrollbar {
  display: none;
}

.services-track {
  display: flex;
  gap: 16px;
  padding-right: 33%;
}

/* Service card */
.service-card {
  flex-shrink: 0;
  width: 384px;
  height: 520px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: serviceCardIn 0.5s ease-out forwards;
}

.service-card:hover {
  transform: translateY(-4px) scale(1.01);
}

@keyframes serviceCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger each card's animation */
.service-card:nth-child(1) { animation-delay: 0s; }
.service-card:nth-child(2) { animation-delay: 0.1s; }
.service-card:nth-child(3) { animation-delay: 0.2s; }
.service-card:nth-child(4) { animation-delay: 0.3s; }
.service-card:nth-child(5) { animation-delay: 0.4s; }
.service-card:nth-child(6) { animation-delay: 0.5s; }
.service-card:nth-child(7) { animation-delay: 0.6s; }
.service-card:nth-child(8) { animation-delay: 0.7s; }
.service-card:nth-child(9) { animation-delay: 0.8s; }
.service-card:nth-child(10) { animation-delay: 0.9s; }

/* Card image */
.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.service-card-img.is-loading {
  filter: blur(8px);
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

/* Gradient overlay */
.service-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    transparent 40%,
    transparent 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
}

/* Card text */
.service-card-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 28px;
}

.service-card-category {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-wrap: balance;
}

/* Card bottom info */
.service-card-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 28px;
}

.service-card-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Scroll navigation */
.services-carousel-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.services-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-default);
}

.services-nav-btn:hover:not(:disabled) {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.services-nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ── SERVICE MODAL ─────────────────────────────────────── */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.service-modal {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 40px;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-modal-overlay.is-open .service-modal {
  transform: translateY(0);
}

.service-modal-close {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-default);
  z-index: 10;
}

.service-modal-close:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.service-modal-category {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 12px;
}

.service-modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.service-modal-body {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
}

.service-modal-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.service-modal-body p:last-child {
  margin-bottom: 0;
}

.service-modal-body strong {
  color: var(--text-primary);
  font-weight: 600;
}

.service-modal-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.service-modal-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.service-modal-feature::before {
  content: '✦';
  color: var(--color-gold);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.service-modal-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 24px;
}


/* ── PLACEHOLDER SECTIONS ──────────────────────────────── */
.section-placeholder {
  padding: var(--section-pad-y) var(--section-pad-x);
  min-height: 50vh;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
}

.section-inner {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
}

.section-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-gold);
  margin-bottom: 16px;
  display: block;
}

.section-placeholder h2 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-surface);
  margin-bottom: 16px;
}

.section-placeholder p {
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: var(--max-text);
  line-height: 1.7;
}


/* ── FOOTER ────────────────────────────────────────────── */
.quote-cta-section {
  padding: 0 var(--section-pad-x) var(--section-pad-y);
  position: relative;
}

.quote-cta-inner {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
}

.quote-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 40px;
  align-items: center;
  padding: clamp(28px, 4vw, 42px);
  border-radius: 18px;
  border: 1px solid var(--color-border);
  background:
    radial-gradient(circle at 88% 18%, rgba(212, 160, 23, 0.16), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--color-surface);
  overflow: hidden;
}

.quote-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(212, 160, 23, 0.06) 45%, transparent 75%);
  pointer-events: none;
}

.quote-cta-copy,
.quote-cta-actions {
  position: relative;
  z-index: 1;
}

.quote-cta-title {
  margin-top: 4px;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 15ch;
}

.quote-cta-desc {
  max-width: 56ch;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.quote-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.quote-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quote-cta-btn-primary {
  background: linear-gradient(135deg, var(--color-gold), rgba(212, 160, 23, 0.82));
  color: var(--color-bg);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.18);
}

.quote-cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.28);
}

.quote-cta-btn-primary .cta-arrow {
  color: inherit;
}

.quote-cta-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.quote-cta-note a {
  color: var(--color-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 160, 23, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.quote-cta-note a:hover {
  color: var(--color-gold-bright);
  border-color: rgba(212, 160, 23, 0.6);
}

.site-footer {
  padding: 32px var(--section-pad-x);
  border-top: 1px solid var(--color-border-subtle);
}

.footer-inner {
  max-width: var(--max-content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-meta {
  display: flex;
  gap: 32px;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}


/* ── TESTIMONIALS SECTION ─────────────────────────────── */
.testimonials-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.testimonials-header {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto 60px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 20px;
}

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

.testimonials-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  max-width: 480px;
  line-height: 1.7;
}

/* Carousel container */
.testimonials-carousel {
  position: relative;
  width: 100%;
  height: 500px;
  max-width: var(--max-content);
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual testimonial card */
.testimonial-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 365px;
  height: 365px;
  padding: 32px;
  border: 2px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  clip-path: polygon(50px 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, calc(100% - 50px) 100%, 50px 100%, 0 100%, 0 0);
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  right: -1px;
  top: 48px;
  width: 71px;
  height: 2px;
  background: var(--color-border);
  transform-origin: top right;
  transform: rotate(45deg);
}

/* Center (active) card */
.testimonial-card.is-center {
  z-index: 10;
  background: var(--color-gold);
  border-color: var(--color-gold);
  box-shadow: 0px 8px 0px 4px var(--color-border);
}

.testimonial-card.is-center::before {
  background: var(--color-gold-deep);
}

.testimonial-card:not(.is-center):hover {
  border-color: rgba(212, 160, 23, 0.4);
}

/* Card content */
.testimonial-avatar {
  width: 48px;
  height: 56px;
  object-fit: cover;
  object-position: top;
  margin-bottom: 16px;
  box-shadow: 3px 3px 0px var(--color-bg);
  flex-shrink: 0;
}

.testimonial-quote {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  flex-grow: 1;
}

.testimonial-card.is-center .testimonial-quote {
  color: var(--color-bg);
}

.testimonial-author {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 16px;
}

.testimonial-card.is-center .testimonial-author {
  color: rgba(10, 10, 10, 0.7);
}

/* Navigation buttons */
.testimonials-nav {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 20;
}

.testimonials-nav-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-default);
}

.testimonials-nav-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-bg);
}

.testimonials-nav-btn:active {
  transform: scale(0.95);
}


/* ── GRAIN OVERLAY (Texture) ───────────────────────────── */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  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");
  background-repeat: repeat;
  background-size: 128px 128px;
}


/* ── PRELOADER ───────────────────────────────────────── */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.preloader-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: preloaderPulse 2s ease-in-out infinite;
}

.preloader-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
}

@keyframes preloaderPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.preloader-bar-track {
  width: 200px;
  height: 2px;
  background: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
}

.preloader-bar-fill {
  width: 0%;
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 2px;
  transition: width 0.3s ease-out;
}

.preloader-label {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}


/* ── FAQ SECTION ───────────────────────────────────────── */
.faq-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.faq-inner {
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header-label {
  font-size: 0.85rem;
  font-weight: 500;
  background: linear-gradient(90deg, var(--color-gold), rgba(212, 160, 23, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.faq-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

/* Tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.faq-tab {
  position: relative;
  overflow: hidden;
  padding: 8px 20px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.4s ease, border-color 0.4s ease;
}

.faq-tab::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--color-gold), rgba(212, 160, 23, 0.8));
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -3;
}

.faq-tab span,
.faq-tab {
  position: relative;
  z-index: 1;
}

.faq-tab.active {
  border-color: var(--color-gold);
  color: #fff;
}

.faq-tab.active::before {
  transform: translateY(0);
}

.faq-tab:not(.active):hover {
  color: var(--text-primary);
  border-color: rgba(212, 160, 23, 0.3);
}

/* Panels */
.faq-panels {
  position: relative;
}

.faq-panel {
  display: none;
  flex-direction: column;
  gap: 12px;
  animation: faqFadeIn 0.4s ease;
}

.faq-panel.active {
  display: flex;
}

@keyframes faqFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Item */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface);
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item.open {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 160, 23, 0.15);
}

/* Question button */
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.faq-item.open .faq-question {
  color: var(--text-primary);
}

.faq-question:hover {
  color: var(--text-primary);
}

/* Plus icon */
.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--color-gold);
}

/* Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 20px 18px;
}

.faq-answer p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}


/* ── CONTACT SECTION ──────────────────────────────────── */
.contact-section {
  padding: var(--section-pad-y) var(--section-pad-x);
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.contact-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  z-index: 0;
}

.contact-inner {
  max-width: var(--max-content);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left info */
.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-top: 12px;
  margin-bottom: 16px;
}

.contact-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 24px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 32px;
}

.contact-dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 1.2rem;
}

/* World Map */
.contact-map-wrap {
  position: relative;
}

.contact-map {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  -webkit-mask-image: linear-gradient(to bottom, transparent, white 10%, white 85%, transparent);
  mask-image: linear-gradient(to bottom, transparent, white 10%, white 85%, transparent);
}

.world-map-svg {
  width: 100%;
  height: 100%;
}

/* Map arc animation */
.map-path {
  animation: drawMapPath 2s ease forwards;
  animation-play-state: paused;
}

.contact-section.in-view .map-path {
  animation-play-state: running;
}

.map-path:nth-child(1) { animation-delay: 0.3s; }
.map-path:nth-child(2) { animation-delay: 0.6s; }
.map-path:nth-child(3) { animation-delay: 0.9s; }
.map-path:nth-child(4) { animation-delay: 1.2s; }
.map-path:nth-child(5) { animation-delay: 1.5s; }
.map-path:nth-child(6) { animation-delay: 1.8s; }

@keyframes drawMapPath {
  to {
    stroke-dashoffset: 0;
  }
}

/* Right form */
.contact-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: border-color 0.3s ease, background 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(212, 160, 23, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

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

.contact-submit {
  align-self: flex-start;
  padding: 10px 28px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--color-gold), rgba(212, 160, 23, 0.8));
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 160, 23, 0.25);
}

.contact-submit:active {
  transform: translateY(0);
}


/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quote-cta-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .hero-3d-container {
    opacity: 0.7;
  }

  .hero-headline {
    font-size: clamp(3.5rem, 11vw, 10rem);
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-tagline-side {
    align-items: flex-start;
  }

  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 0.65rem;
  }
}

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

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Mobile menu */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    padding: 32px var(--section-pad-x);
    gap: 20px;
    border-bottom: 1px solid var(--color-border-subtle);
  }

  .nav-links.active a {
    font-size: 1rem;
    color: var(--text-primary);
  }

  .hero-headline {
    font-size: clamp(3rem, 15vw, 6rem);
  }

  .hero-headline .headline-word:not(.accent) {
    -webkit-text-stroke: 1.5px var(--text-primary);
  }

  .hero-3d-container {
    opacity: 0.5;
  }

  .hero-description p {
    font-size: 0.72rem;
  }

  .quote-cta-section {
    padding-bottom: clamp(40px, 8vh, 64px);
  }

  .quote-cta-card {
    gap: 22px;
    padding: 24px;
    border-radius: 14px;
  }

  .quote-cta-title {
    max-width: none;
  }

  .quote-cta-btn {
    width: 100%;
  }

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

  .footer-meta {
    flex-direction: column;
    gap: 8px;
  }

  .section-placeholder h2 {
    font-size: clamp(2.5rem, 12vw, 5rem);
  }

  .logo-strip {
    gap: 24px;
  }

  .logo-placeholder .logo-name {
    font-size: 0.8rem;
  }

  .testimonial-card {
    width: 300px;
    height: 300px;
    padding: 24px;
  }

  .testimonials-carousel {
    height: 420px;
  }

  .testimonial-quote {
    font-size: 0.85rem;
  }

  .about-mv-grid {
    grid-template-columns: 1fr;
  }

  .about-mv-card {
    padding: 28px;
  }

  .value-card {
    width: 240px;
    padding: 24px;
  }

  .nav-logo-text {
    display: none;
  }

  .service-card {
    width: 280px;
    height: 420px;
  }

  .service-modal {
    padding: 24px;
  }

  .service-modal-body {
    padding: 20px;
  }

  .team-grid {
    gap: 20px;
  }

  .team-card {
    width: calc(50% - 12px);
  }

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

  .team-card-avatar {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(2.5rem, 18vw, 4.5rem);
  }

  .hero-top-tag .tag-text {
    font-size: 0.6rem;
  }

  .marquee-item {
    font-size: 0.7rem;
  }

  .logo-placeholder .logo-mark {
    display: none;
  }

  .testimonial-card {
    width: 260px;
    height: 270px;
    padding: 20px;
  }

  .testimonials-carousel {
    height: 380px;
  }

  .testimonial-quote {
    font-size: 0.8rem;
  }

  .testimonial-avatar {
    width: 36px;
    height: 44px;
  }

  .service-card {
    width: 230px;
    height: 360px;
  }

  .service-card-text {
    padding: 20px;
  }

  .service-card-bottom {
    padding: 20px;
  }

  .service-card-title {
    font-size: 1rem;
  }

  .services-track {
    padding-right: 15%;
  }

  .team-grid {
    gap: 16px;
  }

  .team-card {
    width: 100%;
    padding: 32px 20px 24px;
  }

  .team-card-avatar {
    width: 90px;
    height: 90px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .faq-tab {
    padding: 6px 14px;
    font-size: 0.7rem;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.85rem;
  }

  .faq-answer {
    padding: 0 16px;
  }

  .faq-item.open .faq-answer {
    padding: 0 16px 14px;
  }

  .faq-answer p {
    font-size: 0.8rem;
  }

  .contact-form-wrap {
    padding: 24px;
  }

  .contact-details {
    font-size: 0.68rem;
  }

  .contact-submit {
    width: 100%;
    text-align: center;
  }
}

/* -- BLOG SECTION -- */
.blog-section {
  position: relative;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.blog-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.blog-header {
  max-width: 760px;
  margin-bottom: 32px;
}

.blog-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.blog-subtitle {
  margin-top: 14px;
  color: var(--text-secondary);
  max-width: 60ch;
}

.blog-posts {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  border: 1px solid var(--color-border-subtle);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-radius: var(--radius-lg);
  padding: 18px;
  transition: transform var(--transition-default), border-color var(--transition-default);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.45);
}

.blog-card-meta {
  color: var(--text-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.blog-card-thumb {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.blog-card-category {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 160, 23, 0.45);
  color: var(--color-gold-bright);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.blog-card-title {
  margin-top: 10px;
  font-size: 1.14rem;
  line-height: 1.3;
}

.blog-card-excerpt {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.blog-card-details {
  margin-top: 12px;
}

.blog-card-details summary {
  cursor: pointer;
  color: var(--color-gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-card-content {
  margin-top: 10px;
  color: var(--text-secondary);
}

.blog-card-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.blog-card-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  font-size: 0.68rem;
}

.blog-card-author {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.blog-card-author-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.blog-card-author-copy {
  display: grid;
  line-height: 1.2;
}

.blog-card-author-name {
  font-size: 0.78rem;
  color: var(--text-primary);
}

.blog-card-author-role {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.blog-card-content h2,
.blog-card-content h3,
.blog-card-content h4 {
  color: var(--text-primary);
  margin: 0.8em 0 0.4em;
}

.blog-card-content ul,
.blog-card-content ol {
  padding-left: 1.1rem;
}

.blog-card-content blockquote {
  margin: 0.8em 0;
  padding-left: 0.8em;
  border-left: 2px solid var(--color-gold);
  color: var(--text-secondary);
}

.blog-card-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.9em 0;
  table-layout: fixed;
  overflow: hidden;
}

.blog-card-content th,
.blog-card-content td {
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 10px;
  vertical-align: top;
}

.blog-card-content th {
  background: rgba(212, 160, 23, 0.14);
  color: var(--color-gold-bright);
  font-weight: 700;
}

.blog-loading,
.blog-empty {
  color: var(--text-secondary);
}

.blog-admin-link-wrap {
  margin-top: 24px;
}

.blog-admin-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(212, 160, 23, 0.4);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  padding: 10px 18px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color var(--transition-default), background var(--transition-default);
}

.blog-admin-link:hover {
  border-color: var(--color-gold);
  background: rgba(212, 160, 23, 0.12);
}

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

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

  .blog-card {
    padding: 18px;
  }
}
