/* =====================================================
   Sachin Chandra Bhatt — Professional Portfolio Optimized
   ===================================================== */

:root {
  --bg: #f4f2ee;
  --bg-2: #ffffff;
  --bg-dark: #0b0c0d;
  --bg-dark-2: #121417;
  --bg-dark-3: #1a1d22;
  --text: #0b0c0d;
  --text-2: #4e535a;
  --text-3: #7c828a;
  --accent: #ad7f3b;
  --accent-2: #cf9f5c;
  --border: rgba(11, 12, 13, 0.08);
  --border-strong: rgba(11, 12, 13, 0.14);
  --border-light: rgba(255, 255, 255, 0.06);

  --font-display: "Instrument Serif", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
ul {
  list-style: none;
}
strong {
  font-weight: 600;
  color: var(--text);
}
button {
  font-family: inherit;
  color: inherit;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}
.section {
  padding: 140px 0;
}

h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
}
h2 {
  font-size: clamp(36px, 4.5vw, 58px);
}
h3 {
  font-size: clamp(20px, 1.8vw, 24px);
}

.serif-em {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: -0.01em;
}
.white-em {
  color: rgba(255, 255, 255, 0.5);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.section-label.light {
  color: rgba(255, 255, 255, 0.4);
}

.light-h2 {
  color: #ffffff;
}
.dark-desc {
  color: var(--text-2);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 40px;
  background: rgba(244, 242, 238, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.4s var(--ease),
    padding 0.4s var(--ease),
    background 0.4s var(--ease);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  padding: 14px 40px;
  background: rgba(244, 242, 238, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.015em;
  margin-right: auto;
}
.brand-mark {
  width: 34px;
  height: 34px;
  background: var(--text);
  color: var(--bg);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  font-weight: 400;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  background: var(--text);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 8px;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.nav-cta:hover {
  background: #232629;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.hamburger.active span:first-child {
  transform: rotate(45deg) translate(5px, 6px);
}
.hamburger.active span:last-child {
  transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.mobile-menu.open {
  display: flex;
  max-height: 480px;
}
.mobile-menu a {
  padding: 18px 40px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.01);
}
.mobile-cta {
  margin: 20px 40px;
  padding: 14px 24px !important;
  background: var(--text);
  color: var(--bg) !important;
  border-radius: 8px;
  text-align: center;
  border-bottom: none !important;
  font-weight: 500 !important;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 160px 40px 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-top-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 64px;
}
.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
  flex-shrink: 0;
}
.location-tag {
  color: var(--text-3);
}

.hero-center {
  position: relative;
  z-index: 1;
  max-width: 920px;
}
.hero-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.hero-h1 {
  font-size: clamp(48px, 7.5vw, 92px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 32px;
}
.h1-line {
  display: block;
}
.h1-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 18px);
  color: var(--text-2);
  max-width: 620px;
  margin: 0 auto 48px;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: var(--bg);
  font-weight: 500;
  font-size: 14px;
  padding: 16px 32px;
  border-radius: 8px;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.btn-primary-hero:hover {
  background: #232629;
  transform: translateY(-1px);
}

.btn-ghost-hero {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-2);
  padding: 16px 32px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease),
    background 0.25s var(--ease);
}
.btn-ghost-hero:hover {
  border-color: var(--text);
  color: var(--text);
  background: rgba(0, 0, 0, 0.01);
}

.hero-stats-bar {
  position: relative;
  z-index: 1;
  margin-top: 88px;
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 40px;
  max-width: 840px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
.hero-stat {
  flex: 1;
  text-align: center;
}
.hstat-num {
  display: block;
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 32px);
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.hstat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-stat-div {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* MARQUEE */
.marquee-wrap {
  overflow: hidden;
  background: var(--bg-dark);
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-track span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 32px;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
.m-dot {
  color: var(--accent) !important;
  margin-left: 32px;
}
@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ABOUT */
.about {
  background: var(--bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 110px;
  align-items: center;
}
.about-h2 {
  font-size: clamp(38px, 4.2vw, 54px);
  margin-bottom: 32px;
}
.about-body p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
}
.about-skills span {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--border-strong);
  padding: 8px 16px;
  border-radius: 6px;
  background: var(--bg-2);
}

.portrait-wrap {
  position: relative;
}
.portrait-card {
  position: relative;
  z-index: 1;
  background: var(--bg-dark);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.portrait-avatar {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #121417, #1a1d22);
  font-size: 80px;
  color: #222529;
}
.portrait-meta {
  padding: 24px 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.portrait-meta strong {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.portrait-meta > span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.portrait-chips {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.p-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  /* background: rgba(255,255,255,0.04); */
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.portrait-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.p-chip.green {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.06);
  border-color: rgba(74, 222, 128, 0.15);
}
.live-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
}
.about-quote {
  margin-top: 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.01);
}
.about-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.5;
}

/* SERVICES */
.services {
  background: var(--bg-dark);
}
.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  gap: 64px;
  margin-bottom: 72px;
}
.shs-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
}
.shs-desc.dark-desc {
  color: var(--text-2);
}

.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.ind-card {
  position: relative;
  background: var(--bg-dark-2);
  padding: 44px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease);
}
.ind-card:hover {
  background: var(--bg-dark-3);
}
.ind-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: block;
}
.ind-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(173, 127, 59, 0.1);
  border: 1px solid rgba(173, 127, 59, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.ind-card h3 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 500;
}
.ind-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* WORK */
.work {
  background: var(--bg);
}
.work-list {
  margin-top: 48px;
}
.work-item {
  padding: 88px 0;
  border-top: 1px solid var(--border);
}
.work-item:last-child {
  border-bottom: 1px solid var(--border);
}
.work-row {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 88px;
  align-items: center;
}
.work-row-rev {
  direction: rtl;
}
.work-row-rev > * {
  direction: ltr;
}

.work-visual {
  position: relative;
}
.work-float-tag {
  position: absolute;
  bottom: -14px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}
.work-image {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 20px 48px rgba(11, 12, 13, 0.06);
  background: #e2e2e2;
}
.work-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.work-image:hover img {
  transform: scale(1.02);
}

.work-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.work-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(173, 127, 59, 0.08);
  border: 1px solid rgba(173, 127, 59, 0.18);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.work-text h3 {
  font-size: clamp(26px, 2.8vw, 36px);
  margin-bottom: 16px;
}
.work-text p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 28px;
}
.work-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 4px;
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.work-cta:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* WHY */
.why {
  background: var(--bg-dark);
}
.why-h2 {
  margin-bottom: 72px;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}
.why-card {
  background: var(--bg-dark-2);
  padding: 40px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.why-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.why-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
}
.why-head > i {
  font-size: 18px;
  color: var(--accent-2);
}
.why-card h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 500;
}
.why-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
}

/* PROCESS */
.process {
  background: var(--bg);
}
.process-h2 {
  margin-bottom: 72px;
  max-width: 600px;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.02);
}
.process-step {
  padding: 48px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.ps-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.06);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.ps-line {
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 24px;
  border-radius: 2px;
}
.ps-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 600;
}
.ps-body p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.65;
}

/* PRICING */
.pricing {
  background: var(--bg-dark);
}
.pricing-h2 {
  max-width: 520px;
}
.pricing-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 64px;
  margin-top: 12px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}
.price-card {
  background: var(--bg-dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 48px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  background: linear-gradient(180deg, var(--accent) 0%, #a07232 100%);
  border-color: transparent;
}
.pc-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: var(--bg-dark);
  color: var(--accent-2);
  padding: 5px 12px;
  border-radius: 4px;
}
.pc-label {
  font-weight: 600;
  font-size: 19px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.white-label {
  color: var(--bg-dark);
}
.pc-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}
.white-desc {
  color: rgba(11, 12, 13, 0.65);
}
.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.price-card-featured .pc-price {
  border-color: rgba(11, 12, 13, 0.1);
}
.pc-currency {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}
.white-c {
  color: rgba(11, 12, 13, 0.5);
}
.pc-amount {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.white-a {
  color: var(--bg-dark);
}
.pc-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.pc-features li {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  gap: 12px;
}
.white-features li {
  color: rgba(11, 12, 13, 0.75);
}
.pc-features li i {
  color: var(--accent-2);
  font-size: 12px;
  flex-shrink: 0;
}
.white-features li i {
  color: var(--bg-dark);
}

.pc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 32px;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.25s var(--ease);
}
.pc-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.pc-btn-accent {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: transparent;
}
.pc-btn-accent:hover {
  background: #181b1f;
}

/* FAQ */
.faq {
  background: var(--bg);
}
.faq-wrap {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: 88px;
  align-items: start;
}
.faq-h2 {
  font-size: clamp(36px, 4.2vw, 52px);
  line-height: 1.1;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color 0.25s var(--ease);
}
.faq-q:hover {
  color: var(--accent);
}
.faq-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.faq-icon span {
  position: absolute;
  background: var(--text-3);
  border-radius: 1px;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease),
    background 0.25s var(--ease);
}
.faq-icon span:first-child {
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.faq-icon span:last-child {
  width: 2px;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}
.faq-item.open .faq-icon span {
  background: var(--accent);
}
.faq-item.open .faq-icon span:last-child {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-item.open .faq-a {
  max-height: 320px;
}
.faq-a p {
  padding: 0 0 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
}

/* FINAL CTA */
.final-cta {
  background: var(--bg-dark);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 28px;
  display: block;
}
.cta-h2 {
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 68px);
  color: #ffffff;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 24px;
}
.cta-h2 .serif-em {
  color: var(--accent-2);
}
.cta-sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.65;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: var(--bg-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 16px 32px;
  border-radius: 8px;
  transition:
    background 0.25s var(--ease),
    transform 0.25s var(--ease);
}
.cta-btn-white:hover {
  background: #ececec;
  transform: translateY(-1px);
}

.cta-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  font-size: 14px;
  padding: 16px 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}
.cta-btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* FOOTER */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-name {
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-nav {
  display: flex;
  gap: 32px;
}
.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.25s var(--ease);
}
.footer-nav a:hover {
  color: #ffffff;
}
.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.04em;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1140px) {
  .section {
    padding: 110px 0;
  }
  .container {
    padding: 0 32px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ind-card:nth-child(2n) {
    border-right: none;
  }
  .ind-card:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }
  .ind-card:nth-child(5),
  .ind-card:nth-child(6) {
    border-bottom: none;
  }
  .work-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .work-row-rev {
    direction: ltr;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-card:nth-child(2n) {
    border-right: none;
  }
  .why-card:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-step:nth-child(2n) {
    border-right: none;
  }
  .process-step:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
  .pricing-grid {
    max-width: 500px;
    grid-template-columns: 1fr;
  }
  .faq-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-nav {
    justify-content: center;
    flex-wrap: wrap;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
  .section {
    padding: 88px 0;
  }
  .navbar {
    padding: 16px 24px;
  }
  .navbar.scrolled {
    padding: 12px 24px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-menu a {
    padding: 16px 24px;
  }
  .mobile-cta {
    margin: 16px 24px 24px;
  }
  .hero {
    padding: 140px 24px 80px;
    min-height: auto;
  }
  .hero-top-bar {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
  }
  .hero-stats-bar {
    padding: 24px;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 64px;
  }
  .hero-stat-div {
    display: none;
  }
  .hero-stat {
    flex: 1 1 45%;
  }
  .ind-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .ind-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  }
  .ind-card:last-child {
    border-bottom: none !important;
  }
  .section-head-split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .work-item {
    padding: 64px 0;
  }
  .work-float-tag {
    right: 16px;
    bottom: -12px;
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .process-step {
    border-right: none;
  }
  .process-step:nth-child(n + 2) {
    border-top: 1px solid var(--border);
  }
  .why-grid {
    grid-template-columns: 1fr;
    border-left: none;
  }
  .why-card {
    border-right: none;
  }
  .why-card:nth-child(n + 2) {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .price-card {
    padding: 36px 28px;
  }
  .final-cta {
    padding: 110px 0;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-btn-white,
  .cta-btn-outline {
    width: 100%;
    max-width: 340px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
  .brand-name {
    display: none;
  }
  .hero {
    padding: 120px 20px 64px;
  }
  .hero-stat {
    flex: 1 1 100%;
  }
}

/* trust */
/* SERVICES SECTION */
.services {
  background: var(--bg-dark);
  padding: 100px 0; /* Ensures consistent section spacing */
}

.section-head-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: flex-end;
  gap: 64px;
  margin-bottom: 72px;
}

.shs-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.7;
  margin: 0;
}

.shs-desc.dark-desc {
  color: var(--text-2);
}

/* Connected Border Grid Setup */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Updated to 4 columns for desktop */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  overflow: hidden;
}

.ind-card {
  position: relative;
  background: var(--bg-dark-2);
  padding: 44px 36px;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease);
}

.ind-card:hover {
  background: var(--bg-dark-3);
}

.ind-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.2);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: block;
}

.ind-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(173, 127, 59, 0.1);
  border: 1px solid rgba(173, 127, 59, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--accent-2);
  margin-bottom: 20px;
}

.ind-card h3 {
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 500;
}

.ind-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.65;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Laptops & Small Desktops */
@media (max-width: 1024px) {
  .ind-grid {
    grid-template-columns: repeat(
      2,
      1fr
    ); /* Collapses smoothly into a clean 2x2 grid */
  }
  .section-head-split {
    gap: 40px;
  }
}

/* Tablets & Mobile Devices */
@media (max-width: 768px) {
  .section-head-split {
    grid-template-columns: 1fr; /* Stack title above description */
    gap: 16px;
    margin-bottom: 48px;
    align-items: flex-start;
  }

  .services {
    padding: 70px 0;
  }
}

/* Tiny Mobile Screens */
@media (max-width: 540px) {
  .ind-grid {
    grid-template-columns: 1fr; /* Full width stacked single column */
  }

  .ind-card {
    padding: 36px 24px; /* Slightly tighter padding for smaller phone widths */
  }
}

