/* Premium Visual Redesign for Oliveira Sampaio */
/* Specializing in Luxury Real Estate, Legal Engineering & High-Value B2B Consultancies */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette (Mockup Approved) */
  --color-bg-deep: #0B0B0B;        /* Preto profundo - Default background */
  --color-bg-card: #171717;        /* Grafite - Cards and alternating sections */
  --color-accent-dark: #222222;    /* Cinza escuro - Subtle borders & dividers */
  --color-white: #FFFFFF;          /* Branco - Headings, high contrast */
  --color-text-muted: #D8D8D8;     /* Cinza claro - Body copy, easy reading */
  --color-gold-premium: #C8A86B;   /* Dourado premium - Highlights, primary buttons */
  --color-gold-accent: #D4B26A;    /* Dourado destaque - Hover states, active links */
  
  /* Semantic Mappings */
  --color-background: var(--color-bg-deep);
  --color-surface: var(--color-bg-card);
  --color-on-surface: var(--color-white);
  --color-on-surface-variant: var(--color-text-muted);
  --color-outline: var(--color-accent-dark);
  --color-primary: var(--color-gold-premium);
  --color-on-primary: #0B0B0B;
  
  /* Spacing system */
  --unit: 8px;
  --container-max: 1200px;
  --gutter: 32px;
  --margin-mobile: 24px;
  --margin-desktop: 64px;
  --section-gap: 140px;
  
  /* Font Family */
  --font-primary: 'Montserrat', sans-serif;
}

/* CSS Reset & General Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-bg-deep);
}

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

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--color-accent-dark);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold-premium);
}

/* Grid & Layout System */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--margin-desktop);
  padding-right: var(--margin-desktop);
}

.section-padding {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: var(--gutter);
}

/* Section Background Alternation */
section:nth-of-type(even), 
.risks-section,
.solutions-section,
.cases-section,
.final-cta-section {
  background-color: var(--color-bg-card);
}

section:nth-of-type(odd),
.hero-section,
.authority-section,
.method-section,
.faq-section {
  background-color: var(--color-bg-deep);
}

/* Section Header styling */
.section-header {
  margin-bottom: 72px;
  position: relative;
}

.section-header-wide {
  grid-column: span 12;
}

/* Thin golden divider */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(200, 168, 107, 0) 0%, rgba(200, 168, 107, 0.2) 50%, rgba(200, 168, 107, 0) 100%);
  border: none;
}

/* Global Material Icons thin gold setup */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  color: var(--color-gold-premium);
  display: inline-block;
  vertical-align: middle;
}

.display-xl {
  font-family: var(--font-primary);
  font-size: clamp(26px, 4vw + 8px, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-transform: uppercase;
}

.headline-lg {
  font-family: var(--font-primary);
  font-size: clamp(22px, 3.5vw + 8px, 38px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-white);
  text-transform: uppercase;
}


.title-md {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-white);
  letter-spacing: 0.02em;
}

.body-lg {
  font-family: var(--font-primary);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.body-md {
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.label-caps {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-premium);
}

.text-primary {
  color: var(--color-white) !important;
}

/* Hero Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(200, 168, 107, 0.08);
  border: 1px solid rgba(200, 168, 107, 0.25);
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 16px; /* Reduced space below badge */
}
.hero-badge .material-symbols-outlined {
  font-size: 18px;
  color: var(--color-gold-premium);
}
.hero-badge span.label-caps {
  font-size: 10px;
  margin-bottom: 0;
  color: var(--color-gold-premium);
}

/* High-End Header / Navigation Bar */
header.top-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 22px 0; /* Reduced padding by ~31% */
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

header.top-header .header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logo svg {
  flex-shrink: 0;
}

.brand-logo .logo-text {
  display: flex;
  flex-direction: column;
}

.brand-logo .logo-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--color-white);
  line-height: 1.1;
}

.brand-logo .logo-subtitle {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Navigation Menu */
.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-nav a {
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding: 6px 0;
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--color-gold-premium);
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-gold-premium);
  transition: width 0.3s ease;
}

.header-nav a:hover::after,
.header-nav a.active::after {
  width: 100%;
}

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 105;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle .hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: all 0.3s ease-in-out;
}

.menu-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 320px;
  height: 100vh;
  background-color: #0c0c0c;
  border-left: 1px solid rgba(200, 168, 107, 0.2);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  z-index: 104;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 100px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mobile-menu-drawer.active {
  right: 0;
}

.drawer-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  padding-bottom: 20px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-nav a {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.drawer-nav a:hover,
.drawer-nav a.active {
  color: var(--color-gold-premium);
  border-bottom-color: var(--color-gold-premium);
  padding-left: 8px;
}

/* Drawer Overlay */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 103;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 38px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  text-align: center;
  position: relative;
  border-radius: 4px;
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--color-gold-premium);
  color: #0B0B0B;
  border-color: var(--color-gold-premium);
}

.btn-primary:hover {
  background-color: var(--color-gold-accent);
  border-color: var(--color-gold-accent);
  box-shadow: 0 8px 30px rgba(200, 168, 107, 0.25);
  transform: translateY(-2px);
}

#hero-cta-btn {
  padding: 21px 48px; /* Increased size by ~10-15% */
  font-size: 12px;
  font-weight: 800; /* Increased weight */
  letter-spacing: 0.12em;
  background-color: var(--color-gold-accent); /* Enhanced gold contrast */
  color: #0B0B0B;
  border-color: var(--color-gold-accent);
  box-shadow: 0 12px 36px rgba(212, 178, 106, 0.28);
}

#hero-cta-btn:hover {
  background-color: var(--color-white); /* Premium sophisticated hover */
  border-color: var(--color-white);
  color: #0B0B0B;
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-gold-premium);
  border-color: rgba(200, 168, 107, 0.5);
}

.btn-secondary:hover {
  background-color: var(--color-gold-premium);
  color: #0B0B0B;
  border-color: var(--color-gold-premium);
  box-shadow: 0 8px 30px rgba(200, 168, 107, 0.15);
  transform: translateY(-2px);
}

/* Accent Button maps to primary style */
.btn-accent {
  background-color: var(--color-gold-premium);
  color: #0B0B0B;
  border-color: var(--color-gold-premium);
}
.btn-accent:hover {
  background-color: var(--color-gold-accent);
  border-color: var(--color-gold-accent);
  box-shadow: 0 8px 30px rgba(200, 168, 107, 0.25);
  transform: translateY(-2px);
}

/* Card Design System */
.premium-card {
  background-color: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-top: 1px solid rgba(200, 168, 107, 0.12);
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.premium-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold-premium), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.premium-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 107, 0.25);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 20px rgba(200, 168, 107, 0.05);
}

.premium-card:hover::after {
  transform: translateX(100%);
}

/* Asymmetric Hero Section */
.hero-section {
  min-height: 85vh;
  display: grid;
  align-items: center;
  align-content: center;
  padding-top: 90px; /* Reduced padding from 120px to pull content up */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(200, 168, 107, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 span.highlight {
  color: transparent;
  background: linear-gradient(135deg, var(--color-gold-premium) 0%, var(--color-gold-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-content p {
  max-width: 600px;
  margin-bottom: 24px; /* Reduced margin (saving 16px) */
  font-size: 16px;
  line-height: 1.8;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px; /* Reduced margin (saving 24px) */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 16px; /* Reduced padding (saving 8px) */
}

.hero-feature-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-feature-col .material-symbols-outlined {
  font-size: 28px;
  margin-bottom: 4px;
}

.hero-feature-col h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-feature-col p {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-sigil {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 16px;
}

.hero-sigil .material-symbols-outlined {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
}

/* Hero Image & Card */
.hero-image-container {
  grid-column: span 5;
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 2;
  margin-top: -120px; /* Increased shift to pull image top close to header line */
}

.hero-image-wrapper {
  position: relative;
  width: 100%; /* Increased from 90% to 100% to occupy full column (increases image size by ~11% area) */
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--color-bg-card);
  overflow: visible;
}

.hero-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 8px;
  position: relative;
  z-index: 1;
}

/* Floating Credentials Card on Photo */
.hero-image-caption {
  position: absolute;
  bottom: -100px; /* Shifted down to fill the empty space below the photo */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 360px;
  background: rgba(17, 17, 17, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(200, 168, 107, 0.25);
  border-radius: 8px;
  padding: 24px;
  z-index: 10;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
}

.hero-image-caption h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(200, 168, 107, 0.2);
  padding-bottom: 8px;
}

.hero-image-caption .cred-title {
  font-size: 9px;
  font-weight: 700;
  color: var(--color-gold-premium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.4;
}

.hero-image-caption ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-image-caption ul li {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.hero-image-caption ul li .material-symbols-outlined {
  font-size: 14px;
  color: var(--color-gold-premium);
  margin-top: 1px;
}

/* Bottom Metrics Bar (Below Hero) */
.hero-bottom-bar {
  grid-column: span 12; /* Spans across all 12 columns under the content */
  background-color: #0c0c0c;
  border: 1px solid rgba(200, 168, 107, 0.2);
  border-radius: 8px;
  padding: 32px 40px;
  position: relative;
  z-index: 3;
  margin-top: 0; /* Pulls the bar up closer to eliminate the empty space gap */
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-col {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.metric-col .material-symbols-outlined {
  font-size: 36px;
  flex-shrink: 0;
}

.metric-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-text h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.metric-text p {
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.5);
}

.hero-bottom-tagline {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  margin-top: 32px;
}

/* Pain & Risks Section */
.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  grid-column: span 12;
}

.risk-card {
  background-color: var(--color-bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.risk-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 107, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(200, 168, 107, 0.02);
}

.risk-card-icon {
  font-size: 32px;
  color: var(--color-gold-premium);
  margin-bottom: 24px;
}

.risk-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.risks-cta {
  grid-column: span 12;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  background-color: var(--color-bg-deep);
  border: 1px solid rgba(200, 168, 107, 0.15);
  border-radius: 8px;
  padding: 48px 32px;
}

.risks-cta-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-white);
  max-width: 700px;
  line-height: 1.5;
}

/* Authority Section */
.auth-image-column {
  grid-column: span 5;
  position: relative;
}

.auth-image-wrapper {
  position: relative;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background-color: var(--color-bg-card);
  overflow: visible;
}

.auth-image-wrapper::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 80px;
  height: 80px;
  border-top: 2px solid var(--color-gold-premium);
  border-left: 2px solid var(--color-gold-premium);
  z-index: 10;
  pointer-events: none;
}

.auth-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  border-bottom: 2px solid var(--color-gold-premium);
  border-right: 2px solid var(--color-gold-premium);
  z-index: 10;
  pointer-events: none;
}

.auth-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.auth-content-column {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 24px;
}

.auth-content-column h2 {
  margin-bottom: 24px;
}

.auth-content-column p {
  margin-bottom: 20px;
}

/* Solutions Section */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  grid-column: span 12;
}

.solution-card {
  background-color: var(--color-bg-deep);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 48px 40px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.solution-card .solution-icon {
  font-size: 32px;
  color: var(--color-gold-premium);
  margin-bottom: 8px;
}

.solution-card h3 {
  color: var(--color-white);
  transition: color 0.3s ease;
  font-size: 19px;
}

.solution-card p {
  color: var(--color-text-muted);
}

.solution-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background-color: var(--color-gold-premium);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 168, 107, 0.15);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.solution-card:hover h3 {
  color: var(--color-gold-premium);
}

.solution-card:hover::before {
  transform: scaleX(1);
}

.solutions-cta {
  grid-column: span 12;
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* Method Section */
.method-stepper {
  grid-column: span 12;
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 64px;
}

.method-stepper::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200, 168, 107, 0.05) 0%, rgba(200, 168, 107, 0.3) 50%, rgba(200, 168, 107, 0.05) 100%);
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  background-color: var(--color-bg-deep);
  padding: 0 24px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 56px;
  height: 56px;
  background-color: var(--color-bg-card);
  color: var(--color-gold-premium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 24px;
  border: 1px solid rgba(200, 168, 107, 0.3);
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.step-item:hover .step-number {
  background-color: var(--color-gold-premium);
  color: #0B0B0B;
  border-color: var(--color-gold-premium);
  box-shadow: 0 0 25px rgba(200, 168, 107, 0.4);
  transform: scale(1.1);
}

.step-item h4 {
  margin-bottom: 12px;
  color: var(--color-white);
  font-size: 12px;
}

.step-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 180px;
}

/* Cases Section */
.cases-header {
  grid-column: span 12;
  margin-bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.portfolio-link {
  color: var(--color-gold-premium);
  text-decoration: none;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(200, 168, 107, 0.3);
  padding-bottom: 6px;
  transition: all 0.3s ease;
}

.portfolio-link:hover {
  color: var(--color-gold-accent);
  border-color: var(--color-gold-accent);
}

.cases-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--gutter);
  grid-column: span 12;
}

.case-card {
  position: relative;
  background-color: var(--color-bg-deep);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255, 255, 255, 0.03);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-img-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-img-top {
  object-position: top center;
}

.case-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 168, 107, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
}

.case-card:hover .case-img {
  opacity: 0.75;
  filter: grayscale(0%);
  transform: scale(1.05);
}

.case-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 48px;
  background: linear-gradient(to top, rgba(11, 11, 11, 0.95) 0%, rgba(11, 11, 11, 0.5) 60%, transparent 100%);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  z-index: 5;
}

.case-content span.label-caps {
  margin-bottom: 8px;
}

.case-content h3 {
  color: var(--color-white);
  margin-bottom: 12px;
  font-size: 22px;
  text-transform: uppercase;
}

.case-content p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.case-content p.client-meta {
  font-style: italic;
  font-size: 13px;
  color: var(--color-gold-premium);
  margin-top: 12px;
  font-weight: 500;
}

.cases-cta {
  grid-column: span 12;
  margin-top: 56px;
  display: flex;
  justify-content: center;
}

/* Contact Form Section */
.form-section {
  background-color: var(--color-bg-deep);
}

.form-info-column {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-info-column h2 {
  margin-bottom: 24px;
}

.form-info-list {
  list-style: none;
  margin-top: 40px;
}

.form-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.form-info-icon {
  font-size: 24px;
  color: var(--color-gold-premium);
}

.form-container-column {
  grid-column: span 7;
}

.contact-form-card {
  background-color: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 48px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  position: relative;
}

.form-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.form-input {
  width: 100%;
  font-family: var(--font-primary);
  font-size: 15px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 0;
  color: var(--color-white);
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form-input:focus {
  outline: none;
  border-bottom: 1px solid var(--color-gold-premium);
}

.form-group:focus-within .form-label {
  color: var(--color-gold-premium);
}

textarea.form-input {
  resize: none;
}

.submit-btn {
  width: 100%;
  margin-top: 16px;
}

/* Success and Error messages styles */
.form-feedback {
  grid-column: span 2;
  padding: 16px;
  display: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid;
  border-radius: 4px;
}

.form-feedback.success {
  display: block;
  background-color: rgba(46, 125, 50, 0.15);
  color: #81c784;
  border-color: rgba(129, 199, 132, 0.3);
}

.form-feedback.error {
  display: block;
  background-color: rgba(186, 26, 26, 0.15);
  color: #ffb4ab;
  border-color: rgba(255, 180, 171, 0.3);
}

/* FAQ Section (Accordion) */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--color-white);
  transition: all 0.3s ease;
}

.faq-trigger:hover {
  background-color: rgba(255, 255, 255, 0.01);
}

.faq-trigger h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-right: 24px;
}

.faq-icon {
  font-size: 22px;
  font-weight: 200;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-gold-premium);
  flex-shrink: 0;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 36px;
}

.faq-content p {
  color: var(--color-text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item.active {
  border-color: rgba(200, 168, 107, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding-bottom: 28px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--color-gold-accent);
}

/* Final CTA Section */
.final-cta-section {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(200, 168, 107, 0.03) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final-cta-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.final-cta-container h2 {
  margin-bottom: 48px;
}

.final-cta-container .btn {
  padding: 22px 54px;
  font-size: 12px;
}

/* Footer Section */
footer {
  background-color: var(--color-bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

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

.footer-brand .logo-text {
  display: flex;
  flex-direction: column;
}

.footer-brand h2 {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--color-white);
  line-height: 1.1;
}

.footer-brand p {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-gold-premium);
}

.footer-copy {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  flex-basis: 100%;
  text-align: center;
  margin-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 32px;
}

/* Animations / Scroll Transitions (Entrance Fade-In) */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  :root {
    --margin-desktop: 40px;
  }
}

@media (max-width: 991px) {
  :root {
    --section-gap: 100px;
  }
  
  .grid-12 {
    row-gap: 48px;
  }
  
  /* Header Nav Mobile Toggle */
  .header-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Hero */
  .hero-section {
    padding-top: 140px;
  }
  
  .hero-content {
    grid-column: span 12;
    margin-bottom: 64px;
  }
  
  .hero-image-container {
    grid-column: span 12;
    justify-content: center;
    margin-top: 0; /* Reset desktop margin shift */
  }
  
  .hero-image-wrapper {
    width: 70%;
  }
  
  /* Metrics Bar */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  
  /* Risks & Solutions */
  .risk-grid, .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Authority */
  .auth-image-column {
    grid-column: span 12;
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
  }
  
  .auth-image-wrapper {
    width: 60%;
  }
  
  .auth-content-column {
    grid-column: span 12;
    padding-left: 0;
  }
  
  /* Contact Form */
  .form-info-column {
    grid-column: span 12;
    margin-bottom: 48px;
  }
  
  .form-container-column {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  :root {
    --margin-mobile: 20px;
    --section-gap: 80px;
  }
  
  .container {
    padding-left: var(--margin-mobile);
    padding-right: var(--margin-mobile);
  }
  
  .grid-12 {
    grid-template-columns: 1fr;
  }
  
  /* Typography */
  .title-md {
    font-size: 18px;
  }
  
  /* Hero Mobile Reordering & Layout */
  .hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 40px;
    gap: 20px;
  }
  
  .hero-content, 
  .hero-image-container {
    display: contents;
  }
  
  .hero-badge {
    order: 1;
    margin-bottom: 8px;
  }
  
  .display-xl {
    order: 2;
    text-align: center;
    margin-bottom: 12px !important;
  }
  
  .body-lg {
    order: 3;
    text-align: center;
    margin-bottom: 20px !important;
    max-width: 100%;
  }
  
  .hero-ctas {
    order: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 12px;
    margin-bottom: 24px !important;
  }
  
  .hero-image-wrapper {
    order: 5;
    width: 100%;
    max-width: 380px;
    margin-top: 0 !important;
  }
  
  .hero-image-caption {
    order: 6;
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    transform: none;
    width: 100%;
    max-width: 100%;
    margin-top: 16px;
    margin-bottom: 24px;
    padding: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }
  
  .hero-features-grid {
    order: 7;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
    margin-bottom: 24px !important;
  }
  
  /* Mobile Button Sizing */
  .btn {
    width: 90% !important;
    min-height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Metrics Bar */
  .hero-bottom-bar {
    order: 8;
    margin-top: 16px !important;
    width: 100%;
  }
  
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  /* Risks & Solutions */
  .risk-grid, .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Timeline */
  .method-stepper {
    flex-direction: column;
    gap: 40px;
  }
  
  .method-stepper::before {
    display: none;
  }
  
  .step-item {
    padding: 0;
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
  }
  
  .step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .step-item p {
    max-width: 100%;
  }
  
  /* Cases */
  .cases-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .case-card {
    height: auto;
  }
  
  .case-content {
    padding: 24px;
  }
  
  /* Footer */
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
}
