/* ================================================================
   openshift — Ultra-Clean Professional Design System v5
   Font: Nunito (all weights) — Google Fonts single request
   Palette: Deep Navy #0A1628 | Slate Blue #1E3A5F | Gold #C9A84C
            White #FFFFFF | Off-white #F7F8FA | Muted #6B7A99
   ================================================================ */

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

/* ── Variables ── */
:root {
  --navy:        #0A1628;
  --navy-mid:    #1E3A5F;
  --navy-light:  #2D5080;
  --blue-soft:   #3B6FA0;
  --gold:        #C9A84C;
  --gold-light:  #E4C76B;
  --gold-pale:   #FDF6E3;
  --white:       #FFFFFF;
  --off-white:   #F7F8FA;
  --surface:     #EEF1F6;
  --text-dark:   #0A1628;
  --text-mid:    #2D3E5C;
  --text-muted:  #6B7A99;
  --text-light:  #9AAAC4;
  --border:      rgba(10,22,40,0.10);
  --border-gold: rgba(201,168,76,0.35);
  --shadow-xs:   0 1px 4px rgba(10,22,40,0.07);
  --shadow-sm:   0 3px 12px rgba(10,22,40,0.09);
  --shadow-md:   0 6px 24px rgba(10,22,40,0.11);
  --shadow-lg:   0 12px 40px rgba(10,22,40,0.14);
  --grad-brand:  linear-gradient(135deg, #0A1628 0%, #1E3A5F 60%, #3B6FA0 100%);
  --grad-gold:   linear-gradient(135deg, #C9A84C 0%, #E4C76B 100%);
  --grad-hero:   linear-gradient(150deg, #0A1628 0%, #1E3A5F 55%, #2D5080 100%);
  --r-sm: 6px; --r: 10px; --r-lg: 14px; --r-xl: 20px; --r-2xl: 28px;
  --ease: cubic-bezier(0.4,0,0.2,1);
  --t: all 0.25s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Nunito', system-ui, sans-serif;
  background: var(--white);
  color: var(--text-mid);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
img { max-width: 100%; display: block; object-fit: cover; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
p  { color: var(--text-mid); line-height: 1.75; margin-bottom: 0; }

/* Consistent spacing utilities */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.2rem,5vw,3.4rem); }
h2 { font-size: clamp(1.7rem,3.5vw,2.5rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.55rem); }
h4 { font-size: 1.1rem; font-weight: 700; }
.text-gold  { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.grad-text  {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Container ── */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Sections ── */
.section       { padding: 5rem 0; background: var(--white); }
.section-alt   { padding: 5rem 0; background: var(--off-white); }
.section-dark  { padding: 5rem 0; background: var(--navy); }
.section-navy  { padding: 5rem 0; background: var(--navy-mid); }

.section-header { text-align: left; max-width: 640px; margin-bottom: 3rem; }
.section-header.centered { text-align: center; margin-left: auto; margin-right: auto; }
.section-header .label { display: inline-block; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.8rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { font-size: 1.05rem; color: var(--text-muted); }
.section-dark .section-header h2,
.section-dark h2,
.section-dark h3  { color: var(--white); }
.section-dark p   { color: rgba(255,255,255,0.70); }
.section-navy .section-header h2,
.section-navy h2  { color: var(--white); }
.section-navy p   { color: rgba(255,255,255,0.72); }

/* ── Label Tags ── */
.label-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,0.10); border: 1px solid var(--border-gold);
  border-radius: 100px; padding: 0.35rem 0.95rem; margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'Nunito', sans-serif; font-size: 0.9rem; font-weight: 700;
  padding: 0.75rem 1.75rem; border-radius: var(--r-lg);
  border: 2px solid transparent; cursor: pointer;
  transition: var(--t); white-space: nowrap; text-decoration: none;
}
.btn-primary {
  background: var(--navy); color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold {
  background: var(--gold); color: var(--navy);
  border-color: var(--gold); font-weight: 800;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,0.35); }
.btn-outline {
  background: transparent; color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-ghost {
  background: rgba(255,255,255,0.10); color: var(--white);
  border-color: rgba(255,255,255,0.25); backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-ghost-light {
  background: transparent; color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: var(--white); transform: translateY(-2px); }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,22,40,0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(10,22,40,0.3); }
.navbar-inner {
  display: flex; align-items: center; gap: 0; max-width: 1180px;
  margin: 0 auto; padding: 0 1.5rem; height: 66px;
}
/* ── Logo (icon + name + tagline) ── */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  flex-shrink: 0;
}
.navbar-logo-icon { display: flex; align-items: center; flex-shrink: 0; }
.navbar-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.navbar-logo-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.42rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
}
.navbar-logo-name span.os-accent { color: var(--gold); }
.navbar-logo-tagline {
  font-size: 0.58rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 3px;
}
.nav-links {
  display: flex; align-items: center; gap: 0.1rem; margin-left: auto;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 600; color: rgba(255,255,255,0.72);
  padding: 0.45rem 0.9rem; border-radius: var(--r);
  transition: var(--t);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.09); }
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: 6px; margin-left: 1rem;
}
.hamburger span { display: block; width: 22px; height: 2px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: var(--t); }
.mobile-nav {
  display: none; flex-direction: column; gap: 0.25rem;
  position: fixed; top: 66px; left: 0; right: 0; z-index: 999;
  background: rgba(10,22,40,0.98); backdrop-filter: blur(20px);
  padding: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-8px); opacity: 0; pointer-events: none;
  transition: var(--t);
}
.mobile-nav.open { display: flex; opacity: 1; transform: translateY(0); pointer-events: all; }
.mobile-nav a { font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.82); padding: 0.65rem 1rem; border-radius: var(--r); transition: var(--t); }
.mobile-nav a:hover { color: var(--white); background: rgba(255,255,255,0.09); }

/* ── Hero ── */
.hero {
  background: var(--grad-hero); color: var(--white);
  padding: 7rem 0 5rem; min-height: 90vh;
  display: flex; align-items: center; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid-line {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,0.12); border: 1px solid rgba(201,168,76,0.3);
  padding: 0.4rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-desc {
  font-size: 1.05rem; color: rgba(255,255,255,0.72);
  max-width: 560px; margin-bottom: 2rem; line-height: 1.8;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 2rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.10);
}
.hero-stat .num {
  font-size: 1.9rem; font-weight: 900; color: var(--gold);
  letter-spacing: -0.03em; line-height: 1;
}
.hero-stat .lbl {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.5); margin-top: 4px;
}
/* Hero Right Card */
.hero-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl); padding: 2rem; backdrop-filter: blur(12px);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hero-card-row {
  display: flex; align-items: center; gap: 0.85rem;
  background: rgba(255,255,255,0.06); border-radius: var(--r);
  padding: 0.9rem 1rem; margin-bottom: 0.75rem; transition: var(--t);
}
.hero-card-row:hover { background: rgba(255,255,255,0.10); }
.hero-card-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.hero-card-val { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.hero-card-sub { font-size: 0.75rem; color: rgba(255,255,255,0.55); }
.hero-card-badge {
  margin-left: auto; font-size: 0.7rem; font-weight: 800;
  color: #4ade80; background: rgba(74,222,128,0.12);
  padding: 0.2rem 0.55rem; border-radius: 100px;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--grad-hero); color: var(--white);
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
  border-bottom: 3px solid var(--gold);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1    { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p     { color: rgba(255,255,255,0.70); font-size: 1.05rem; max-width: 560px; margin-top: 0.5rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 1.25rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  box-shadow: var(--shadow-xs); transition: var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201,168,76,0.25); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--r);
  background: var(--gold-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.4rem; margin-bottom: 1.1rem;
  border: 1px solid var(--border-gold);
}

/* ── Service Detail Sections ── */
.service-detail {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail:nth-child(even) { background: var(--off-white); }
.service-detail:nth-child(odd)  { background: var(--white); }
.service-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }
.service-text h2 { margin-bottom: 1rem; }
.service-text p  { margin-bottom: 1rem; }

/* Service Image */
.service-img-wrap {
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative; aspect-ratio: 4/3;
}
.service-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-img-badge {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  background: rgba(10,22,40,0.88); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r);
  padding: 0.6rem 1.1rem; display: flex; align-items: center; gap: 0.6rem;
}
.service-img-badge .badge-val { font-size: 1.15rem; font-weight: 900; color: var(--gold); }
.service-img-badge .badge-lbl { font-size: 0.72rem; color: rgba(255,255,255,0.65); font-weight: 600; }

/* Feature List */
.service-feature-list { display: flex; flex-direction: column; gap: 0.65rem; margin: 1.5rem 0; }
.service-feature {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.85rem 1rem; background: var(--off-white);
  border-radius: var(--r); border-left: 3px solid var(--gold);
  transition: var(--t);
}
.service-feature:hover { background: var(--gold-pale); }
.service-feature i { color: var(--gold); font-size: 0.85rem; margin-top: 3px; flex-shrink: 0; }
.service-feature span { font-size: 0.88rem; color: var(--text-mid); line-height: 1.6; }
.service-feature strong { color: var(--text-dark); font-weight: 700; }

/* ── Stats Row ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 2rem;
}
.stat-box {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg); padding: 1.5rem; text-align: center;
}
.stat-box .num { font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.stat-box .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.55); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.4rem; }
.stat-light { background: var(--white); border-color: var(--border); }
.stat-light .num { color: var(--navy); }
.stat-light .lbl { color: var(--text-muted); }

/* ── Services Filter Bar ── */
.services-filter-bar {
  position: sticky; top: 66px; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 0.85rem 0; box-shadow: var(--shadow-xs);
}
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center;
}
.filter-btn {
  font-family: 'Nunito', sans-serif; font-size: 0.82rem; font-weight: 700;
  color: var(--text-mid); background: var(--off-white);
  border: 1px solid var(--border); border-radius: 100px;
  padding: 0.4rem 1rem; cursor: pointer; transition: var(--t);
  white-space: nowrap;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--navy); color: var(--white); border-color: var(--navy);
}

/* ── Blog Cards ── */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-xs); transition: var(--t); display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 180px; background: var(--surface); overflow: hidden; display: block; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,0.10); padding: 0.2rem 0.6rem;
  border-radius: 100px; display: inline-block; margin-bottom: 0.75rem;
}
.blog-card-body h3 { font-size: 1.05rem; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-card-body p  { font-size: 0.875rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem; }
.blog-meta { font-size: 0.75rem; color: var(--text-light); font-weight: 600; }

/* ── Portfolio Grid ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; }
.portfolio-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; padding: 0;
  transition: var(--t); box-shadow: var(--shadow-xs);
  display: flex; flex-direction: column;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.portfolio-img {
  width: 100%; height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; flex-shrink: 0;
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.portfolio-body p { flex: 1; }
.portfolio-tag { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  background: rgba(201,168,76,0.10); padding: 0.2rem 0.6rem; border-radius: 100px; display: inline-block; margin-bottom: 0.85rem; }
.portfolio-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.portfolio-value { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 0.25rem; }
.portfolio-agency { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }

/* ── Testimonials ── */
.testimonial-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s var(--ease); }
.testimonial-card {
  min-width: 100%; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-xl);
  padding: 2.5rem; text-align: center;
}
.testimonial-card p {
  font-size: 1.08rem; font-style: italic; color: rgba(255,255,255,0.82);
  max-width: 680px; margin: 0 auto 1.5rem; line-height: 1.85;
}
.testimonial-author { font-weight: 800; color: var(--white); }
.testimonial-role   { font-size: 0.82rem; color: rgba(255,255,255,0.50); }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.75rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); border: none; cursor: pointer; transition: var(--t); }
.slider-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }

/* ── Contact Form ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-control {
  width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border);
  border-radius: var(--r); font-family: 'Nunito', sans-serif; font-size: 0.9rem;
  color: var(--text-dark); background: var(--white); transition: var(--t);
}
.form-control:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(10,22,40,0.08); }
textarea.form-control { resize: vertical; min-height: 130px; }

/* ── Footer ── */
.footer {
  background: var(--navy); color: var(--white);
  padding: 4rem 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand .footer-logo-text {
  font-family: 'Nunito', sans-serif; font-size: 1.5rem; font-weight: 900;
  letter-spacing: -0.04em; color: var(--white); margin-bottom: 0.85rem; display: block;
}
.footer-brand .footer-logo-text span { color: var(--gold); }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 1.25rem; }
.footer-ids { display: flex; flex-direction: column; gap: 0.35rem; }
.footer-id-row { font-size: 0.75rem; color: rgba(255,255,255,0.45); }
.footer-id-row strong { color: rgba(255,255,255,0.75); font-weight: 700; cursor: pointer; }
.footer-id-row strong:hover { color: var(--gold); }
.footer-col h4 { font-size: 0.78rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: var(--t); }
.footer-col ul li a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: var(--t);
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: 0.8rem; color: rgba(255,255,255,0.38);
}
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold); }

/* ── Toast ── */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--navy); color: var(--white); border-left: 4px solid var(--gold);
  padding: 0.85rem 1.25rem; border-radius: var(--r); box-shadow: var(--shadow-lg);
  font-size: 0.875rem; font-weight: 600; opacity: 0;
  transform: translateY(12px); transition: var(--t); pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── Utility ── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-wrap { display: flex; flex-wrap: wrap; gap: 1rem; }
.chip {
  font-size: 0.75rem; font-weight: 700; padding: 0.25rem 0.75rem;
  border-radius: 100px; background: var(--surface); color: var(--text-mid); border: 1px solid var(--border);
}
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── Case Study / Blog Article ── */
.article-hero { padding: 8rem 0 3.5rem; background: var(--grad-hero); border-bottom: 3px solid var(--gold); }
.article-hero h1 { color: var(--white); max-width: 820px; }
.article-hero p  { color: rgba(255,255,255,0.68); max-width: 680px; margin-top: 1rem; }
.article-body   { padding: 4rem 0; max-width: 820px; margin: 0 auto; }
.article-body h2 { margin: 2.5rem 0 1rem; }
.article-body h3 { margin: 2rem 0 0.75rem; font-size: 1.2rem; }
.article-body p  { margin-bottom: 1.25rem; }
.article-body ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { margin-bottom: 0.5rem; color: var(--text-mid); }
.article-body blockquote {
  border-left: 4px solid var(--gold); padding: 1rem 1.5rem;
  background: var(--gold-pale); border-radius: 0 var(--r) var(--r) 0;
  margin: 1.75rem 0; font-style: italic; color: var(--text-mid);
}
.result-box {
  background: var(--navy); color: var(--white); border-radius: var(--r-lg);
  padding: 2rem; margin: 2rem 0;
}
.result-box h3 { color: var(--gold); margin-bottom: 1rem; }
.result-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1rem; }
.result-item { text-align: center; padding: 1rem; background: rgba(255,255,255,0.05); border-radius: var(--r); }
.result-item .rval { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.result-item .rlbl { font-size: 0.72rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 4px; }
.author-box {
  background: var(--off-white); border-radius: var(--r-lg); padding: 1.5rem;
  border: 1px solid var(--border); margin: 2rem 0;
}
.author-box h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); margin-bottom: 0.5rem; }

/* ── About page ── */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; text-align: center; transition: var(--t);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
  margin: 0 auto 1rem; border: 3px solid var(--gold);
}
.value-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.value-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.75rem; transition: var(--t);
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-gold); }
.value-icon { font-size: 2rem; margin-bottom: 0.75rem; }

/* ── Process Steps ── */
.process-steps { display: flex; flex-direction: column; gap: 0; }
.process-step {
  display: grid; grid-template-columns: 60px 1fr; gap: 1.25rem;
  padding: 1.25rem 0; border-bottom: 1px solid var(--border); align-items: start;
}
.process-step:last-child { border-bottom: none; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--navy);
  color: var(--gold); font-weight: 900; font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step-content h4 { margin-bottom: 0.3rem; }
.step-content p  { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ── Win Rate Chart Section ── */
.chart-wrap { background: var(--white); border-radius: var(--r-xl); padding: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }

/* ── Contact Info Cards ── */
.contact-info-grid { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-card {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem; background: var(--off-white);
  border-radius: var(--r-lg); border: 1px solid var(--border); transition: var(--t);
}
.contact-info-card:hover { border-color: var(--border-gold); background: var(--gold-pale); }
.ci-icon {
  width: 44px; height: 44px; border-radius: var(--r);
  background: var(--navy); color: var(--gold); font-size: 1rem;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ci-label { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); }
.ci-value { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }

/* ── Newsletter Form ── */
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 240px; padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--r-lg);
  font-family: 'Nunito', sans-serif; font-size: 0.9rem;
  color: var(--text-dark); background: var(--white);
}
.newsletter-form input:focus { outline: none; border-color: var(--navy); }

/* ── Hero two-column layout ── */
.hero-2col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .service-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-grid.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-2col { grid-template-columns: 1fr; gap: 2.5rem; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .blog-grid  { grid-template-columns: repeat(2,1fr); }
  .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .nav-links, .navbar .btn-primary { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 5.5rem 0 3rem; min-height: auto; }
  .blog-grid  { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid  { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-stats   { gap: 1.25rem; }
  .filter-bar   { gap: 0.4rem; }
  .filter-btn   { font-size: 0.75rem; padding: 0.35rem 0.75rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .result-grid  { grid-template-columns: 1fr; }
}

/* ── COMPREHENSIVE MOBILE RESPONSIVE STYLES ── */

/* Tablet & Small Desktop (max-width: 1024px) */
@media (max-width: 1024px) {
  .container { max-width: 90%; padding: 0 1.5rem; }
  .section { padding: 4rem 0; }
  
  /* Navigation */
  .modern-nav { padding: 0.75rem 0; }
  .nav-container { padding: 0 1.5rem; }
  
  /* Hero sections */
  .hero-3d { padding: 6rem 2rem 4rem; min-height: 80vh; }
  .hero-content { padding: 0 1rem; }
  .hero-text h1 { font-size: clamp(2rem, 5vw, 3rem); }
  .hero-text p { font-size: 1rem; }
  
  /* Service grids */
  .services-grid-3d { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  
  /* Calculator */
  .calculator-grid { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Slider */
  .entities-section { padding: 4rem 1.5rem; }
  .slider-container { padding: 0; }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  /* Base typography */
  body { font-size: 0.9rem; }
  h1 { font-size: 2rem !important; }
  h2 { font-size: 1.75rem !important; }
  h3 { font-size: 1.4rem !important; }
  h4 { font-size: 1.1rem !important; }
  
  /* Container */
  .container { max-width: 100%; padding: 0 1rem; }
  .section { padding: 3rem 0; }
  
  /* Navigation - show mobile menu */
  .nav-links { 
    display: none !important;
  }
  .cta-btn.desktop-only {
    display: none !important;
  }
  .hamburger {
    display: flex !important;
  }
  .mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    z-index: 999;
  }
  .mobile-nav.active {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .mobile-nav a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
  }
  .mobile-nav a:hover,
  .mobile-nav a.active {
    color: #C9A84C;
    padding-left: 0.5rem;
  }
  
  /* Hero sections */
  .hero-3d {
    padding: 5rem 1rem 3rem;
    min-height: auto;
  }
  .hero-grid {
    opacity: 0.3;
  }
  .hero-content {
    padding: 0;
  }
  .hero-text h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem) !important;
    line-height: 1.2;
  }
  .hero-text p {
    font-size: 0.95rem !important;
    line-height: 1.6;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions a,
  .hero-actions button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }
  .hero-stat {
    padding: 1rem;
  }
  .hero-stat .num {
    font-size: 1.5rem;
  }
  .hero-stat .lbl {
    font-size: 0.7rem;
  }
  .hero-card {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  .hero-card h3 {
    font-size: 1.2rem !important;
  }
  .feature-item {
    padding: 0.75rem;
  }
  
  /* Page hero */
  .page-hero {
    padding: 6rem 1rem 3rem;
  }
  .page-hero h1 {
    font-size: 2rem !important;
  }
  .page-hero p {
    font-size: 0.95rem !important;
  }
  
  /* Service grids */
  .services-grid-3d {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
    padding: 0 1rem;
  }
  .service-card-3d {
    padding: 1.5rem;
  }
  .service-card-3d h3 {
    font-size: 1.3rem !important;
  }
  .service-card-3d p {
    font-size: 0.9rem;
  }
  .service-card-3d ul {
    gap: 0.5rem;
  }
  .service-card-3d li {
    font-size: 0.85rem;
  }
  
  /* Calculator */
  .calculator-section {
    padding: 3rem 1rem;
  }
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calc-inputs,
  .calc-results {
    padding: 1.5rem;
  }
  .calc-inputs h3,
  .calc-results h3 {
    font-size: 1.3rem !important;
  }
  .input-group label {
    font-size: 0.85rem;
  }
  .input-group input,
  .input-group select {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  .savings-display {
    padding: 1.5rem;
  }
  .savings-amount {
    font-size: 2.5rem !important;
  }
  .savings-label {
    font-size: 0.85rem;
  }
  .breakdown-item {
    padding: 0.75rem;
  }
  .analysis-section {
    padding: 1.25rem;
  }
  .analysis-section h4 {
    font-size: 1.1rem !important;
  }
  .metric-item {
    padding: 1rem;
  }
  .metric-value {
    font-size: 1.5rem !important;
  }
  .chart-container {
    padding: 1rem;
  }
  
  /* ROI Form */
  .roi-form {
    padding: 2rem 1.5rem;
  }
  .roi-form h3 {
    font-size: 1.3rem !important;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .form-group label {
    font-size: 0.85rem;
  }
  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  /* Capabilities cards */
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .capability-card {
    padding: 1.5rem;
  }
  
  /* Methodology section */
  .methodology-section {
    padding: 3rem 1rem;
  }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .step-card {
    padding: 1.25rem;
  }
  
  /* Slider */
  .entities-section {
    padding: 3rem 1rem;
  }
  .slider-container {
    padding: 0;
    overflow-x: auto;
  }
  .entity-card {
    min-width: 200px;
  }
  .entity-card h4 {
    font-size: 0.9rem !important;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 3rem 1rem;
  }
  .cta-section h2 {
    font-size: 1.75rem !important;
  }
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-buttons a,
  .cta-buttons button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .footer-col {
    text-align: center;
  }
  .footer-brand {
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  /* Modals */
  .modal-content {
    width: 95%;
    max-width: 95%;
    margin: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .modal-header h2 {
    font-size: 1.5rem !important;
  }
  .modal-body {
    padding: 1.5rem;
  }
  .capability-grid {
    grid-template-columns: 1fr;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
  /* Typography */
  body { font-size: 0.85rem; }
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.4rem !important; }
  h3 { font-size: 1.2rem !important; }
  h4 { font-size: 1rem !important; }
  
  /* Container */
  .container { padding: 0 0.75rem; }
  .section { padding: 2.5rem 0; }
  
  /* Navigation */
  .logo { font-size: 1.2rem; }
  .hamburger {
    width: 35px;
    height: 35px;
  }
  .mobile-nav {
    padding: 1.5rem;
    top: 65px;
  }
  .mobile-nav a {
    font-size: 1rem;
  }
  
  /* Hero */
  .hero-3d {
    padding: 4rem 0.75rem 2.5rem;
  }
  .hero-text h1 {
    font-size: 1.6rem !important;
  }
  .hero-text p {
    font-size: 0.85rem !important;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hero-card {
    padding: 1.25rem;
  }
  
  /* Services */
  .service-card-3d {
    padding: 1.25rem;
  }
  .service-card-3d h3 {
    font-size: 1.1rem !important;
  }
  
  /* Calculator */
  .savings-amount {
    font-size: 2rem !important;
  }
  .breakdown-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
  }
  
  /* Footer */
  .footer {
    padding: 2.5rem 0.75rem 1.5rem;
  }
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
