/* ============================================
   M&S Marketing LLC — Master Stylesheet
   Modern Agency Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --navy-900: #0A1628;
  --navy-800: #0f1f3a;
  --navy-700: #162a4a;
  --navy-600: #1e3a5f;
  --navy-500: #2a4a7f;
  --white: #ffffff;
  --off-white: #F8F9FA;
  --gray-100: #E5E7EB;
  --gray-200: #D1D5DB;
  --gray-300: #6B7280;
  --gray-400: #374151;
  --gray-500: #1F2937;
  --gold: #F59E0B;
  --gold-light: #FBBF24;
  --gold-dark: #D97706;
  --success: #48bb78;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
  --section-pad: 100px 0;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Light theme semantic tokens */
  --bg-primary: #FFFFFF;
  --bg-alt: #F8F9FA;
  --text-heading: #0A1628;
  --text-body: #374151;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --card-bg: #FFFFFF;
  --card-shadow: 0 2px 20px rgba(0,0,0,0.08);
  --card-border: #E5E7EB;
  --footer-bg: #0A1628;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* --- Utility Classes --- */
.text-gold { color: var(--gold); }
.text-gray { color: var(--gray-300); }
.bg-navy-800 { background: var(--navy-800); }
.bg-navy-700 { background: var(--navy-700); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
}

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

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--text-heading);
}

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

.btn-white {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.15);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: var(--transition);
}

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

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.logo img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
}

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

.nav-cta {
  padding: 10px 24px !important;
  background: var(--gold) !important;
  color: var(--navy-900) !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--navy-900) !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(42,74,127,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

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

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

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.hero-stat h3 {
  font-size: 2rem;
  color: var(--gold);
  letter-spacing: -1px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* --- Grid for Cards --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

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

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

/* --- Service Cards --- */
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,158,11,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(245,158,11,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Section Padding --- */
.section {
  padding: var(--section-pad);
}

.section-alt {
  background: var(--bg-alt);
}

/* --- Portfolio Cards --- */
.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: rgba(245,158,11,0.3);
}

.portfolio-img {
  width: 100%;
  height: 220px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-img img {
  transform: scale(1.04);
}

.browser-dots-overlay {
  position: absolute;
  top: 10px;
  left: 12px;
  display: flex;
  gap: 5px;
  z-index: 2;
}

.browser-dots-overlay span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.browser-dots-overlay span:nth-child(1) { background: #ff5f57; }
.browser-dots-overlay span:nth-child(2) { background: #ffbd2e; }
.browser-dots-overlay span:nth-child(3) { background: #28ca41; }

.portfolio-img .placeholder-browser {
  width: 100%;
  height: 100%;
  background: var(--navy-900);
  border-radius: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.browser-dots span:first-child { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca41; }

.browser-content {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.browser-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.browser-content .line {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
}

.browser-content .line:nth-child(1) { width: 60%; }
.browser-content .line:nth-child(2) { width: 80%; }
.browser-content .line:nth-child(3) { width: 45%; }
.browser-content .line:nth-child(4) { width: 70%; background: rgba(212,168,67,0.15); }

.portfolio-info {
  padding: 28px;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.portfolio-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.portfolio-info p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
}

.portfolio-link:hover {
  gap: 10px;
}

/* --- CTA Section --- */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.06) 0%, transparent 50%, rgba(42,74,127,0.08) 100%);
  pointer-events: none;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.cta-section p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 520px;
  margin: 0 auto 36px;
}

/* --- Pricing Cards --- */
.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 36px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--card-shadow);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(245,158,11,0.06) 0%, var(--card-bg) 40%);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-900);
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 8px;
}

.pricing-card .price-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pricing-card .price sup {
  font-size: 1.25rem;
  font-weight: 600;
  vertical-align: super;
}

.pricing-features {
  margin-bottom: 36px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features .check {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* --- Add-ons Grid --- */
.addon-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 32px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.addon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,0.3);
}

.addon-card .addon-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 4px;
}

.addon-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.addon-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Case Study Cards (portfolio page) --- */
.case-study {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.case-study:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(245,158,11,0.3);
}

.case-study-img {
  width: 100%;
  height: 200px;
  background: var(--bg-alt);
  position: relative;
  overflow: hidden;
}

.case-study-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.4s ease;
}

.case-study:hover .case-study-img img {
  transform: scale(1.04);
}

.case-study-browser {
  width: 100%;
  height: 100%;
  background: var(--navy-900);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-study-content {
  padding: 24px;
}

.case-study-content .section-label {
  margin-bottom: 8px;
}

.case-study-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.case-study-content p {
  color: var(--text-body);
  margin-bottom: 20px;
  line-height: 1.8;
}

.case-study-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.case-study-tags span {
  padding: 6px 14px;
  background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* --- About Page --- */
.about-hero {
  padding: 160px 0 80px;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.about-hero p {
  font-size: 1.2rem;
  color: var(--text-body);
  max-width: 640px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: rgba(245,158,11,0.3);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-900);
}

.team-card h3 {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.team-card .team-role {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mission-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 0;
}

.mission-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 24px;
}

.mission-section p {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.9;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--card-shadow);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,0.3);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.value-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 40px;
  box-shadow: var(--card-shadow);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,0.15);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0aec0' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-group select option {
  background: var(--card-bg);
  color: var(--text-heading);
}

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

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.contact-info > p {
  color: var(--text-body);
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background: rgba(245,158,11,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.contact-detail p {
  color: var(--text-body);
  font-size: 0.9rem;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 40px;
  background: var(--footer-bg);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

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

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer h4,
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .case-study { grid-template-columns: 1fr; gap: 30px; }
  .case-study:nth-child(even) { direction: ltr; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 70px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: var(--transition);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
  .pricing-card { padding: 36px 24px; }
  .contact-form { padding: 32px 24px; }
}
