/* ==========================================================================
   MINDMAP // 360° Growth Marketing Agency
   Centered Model with Working Torn Paper Stats Banner
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-cream: #f6f4ef;
  --color-black: #111111;
  --color-orange: #ff5a1f;
  --color-text-muted: #555860;
  --font-headline: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-cream);
  background-image: 
    linear-gradient(to right, rgba(17, 17, 17, 0.038) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(17, 17, 17, 0.038) 1px, transparent 1px);
  background-size: 38px 38px;
  background-position: center;
  font-family: var(--font-body);
  color: var(--color-black);
  overflow-x: hidden;
}

.center-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 100vh;
  padding: 85px 48px 90px 48px;
}

/* ==========================================================================
   Hero Main Layout: Center Stage is in the Dead Center of the Website (1fr auto 1fr)
   ========================================================================== */
.hero-main-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.hero-main-layout::after {
  content: '';
  display: block;
  grid-column: 3;
}

/* Left Column */
.hero-left-column {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 440px;
  justify-self: start;
  text-align: left;
  align-items: flex-start;
}

.headline-block {
  margin-bottom: 2px;
}

.hero-title {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 3.8vw, 4.3rem);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
}

.line-marketing {
  color: var(--color-black);
  display: block;
}

.line-based {
  color: var(--color-black);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.india-tricolor {
  display: inline-flex;
  letter-spacing: -0.03em;
}

.tricolor-orange {
  color: var(--color-orange);
}

.tricolor-green {
  color: #1a8f4c;
}

.hero-subtext {
  font-size: 0.98rem;
  line-height: 1.54;
  color: #44474e;
  max-width: 480px;
  font-weight: 450;
}

/* Social Proof Row */
.social-proof-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  object-fit: cover;
  margin-left: -9px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease;
}

.avatar-img:first-child {
  margin-left: 0;
}

.avatar-img:hover {
  transform: scale(1.15) translateY(-3px);
  z-index: 2;
}

.social-proof-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.rating-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  color: var(--color-black);
}

.rating-badge strong {
  font-weight: 800;
}

.review-count {
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.86rem;
}

.trust-caption {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* --- Hero Stage Holding Model & Banner (Unchanged original dimensions) --- */
.hero-stage {
  grid-column: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.model-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-model-img {
  width: 100%;
  max-width: 860px;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.1));
  pointer-events: none;
  user-select: none;
}

/* ==========================================================================
   Torn Paper Stats Banner
   ========================================================================== */
.torn-paper-banner {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 820px;
  background: #ffffff;
  box-shadow: 
    0 18px 40px rgba(0, 0, 0, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  user-select: none;
}

.torn-paper-banner:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 
    0 22px 46px rgba(0, 0, 0, 0.28),
    0 6px 14px rgba(0, 0, 0, 0.14);
}

/* Torn SVG Edges */
.torn-edge-top {
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 16px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.torn-edge-top svg {
  width: 100%;
  height: 100%;
  display: block;
}

.torn-edge-bottom {
  position: absolute;
  bottom: -11px;
  left: 0;
  width: 100%;
  height: 12px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
}

.torn-edge-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Inner Banner Content Grid */
.banner-inner-content {
  position: relative;
  background: #ffffff;
  padding: 12px 28px 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Stat Card */
.stat-card {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.stat-card:hover, .stat-card:focus-visible {
  background-color: rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

.stat-card:active {
  transform: scale(0.98);
}

/* Icons */
.stat-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stat-card:hover .stat-icon-wrapper {
  transform: scale(1.15) rotate(-2deg);
}

.icon-chart svg {
  stroke: var(--color-black);
}

.icon-handshake svg {
  stroke: var(--color-black);
}

.icon-pin svg {
  color: var(--color-black);
}

.icon-roi svg {
  color: var(--color-black);
}

/* Text Group */
.stat-text-group {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-family: var(--font-headline);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-black);
  display: flex;
  align-items: baseline;
  letter-spacing: -0.02em;
}

.stat-value.text-heading {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.plus-sign, .degree-sign {
  color: var(--color-orange);
  font-weight: 900;
  margin-left: 1px;
}

.stat-label {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 600;
  color: var(--color-text-muted);
  line-height: 1.2;
  white-space: nowrap;
}

/* Vertical Separator */
.stat-separator {
  width: 1px;
  height: 38px;
  background-color: #e5e5e5;
  flex-shrink: 0;
}

/* ==========================================================================
   Bottom Action: Below the brand scale part
   ========================================================================== */
.hero-bottom-action {
  position: absolute;
  bottom: -72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  justify-content: center;
  width: auto;
  white-space: nowrap;
}

.cta-black-strip {
  background-color: var(--color-black);
  border-radius: 9999px;
  padding: 5px 22px 5px 6px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-pill-btn {
  background-color: var(--color-black);
  color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 9999px;
  padding: 8px 22px;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.cta-pill-btn:hover {
  background-color: #ffffff;
  color: var(--color-black);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.3);
}

.cta-arrow {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

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

.cta-tagline {
  display: flex;
  flex-direction: column;
  font-family: var(--font-headline);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.25;
  user-select: none;
}

/* ==========================================================================
   Interactive Metric Popover / Tooltip
   ========================================================================== */
.metric-popover {
  position: fixed;
  background: var(--color-black);
  color: #ffffff;
  border-radius: 10px;
  padding: 14px 18px;
  width: 280px;
  pointer-events: none;
  z-index: 1000;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.metric-popover.visible {
  opacity: 1;
  transform: translateY(0);
}

.popover-badge {
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-orange);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.popover-title {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.popover-desc {
  font-size: 0.78rem;
  color: #d1d5db;
  line-height: 1.4;
  margin-bottom: 8px;
}

.popover-pill-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #9ca3af;
  background: #27272a;
  padding: 3px 8px;
  border-radius: 9999px;
}

/* ==========================================================================
   Responsive Scaling
   ========================================================================== */
@media (max-width: 1200px) {
  .hero-main-layout {
    display: flex;
    flex-direction: column;
    gap: 48px;
    text-align: center;
  }
  .hero-main-layout::after {
    display: none;
  }
  .hero-left-column {
    align-items: center;
    text-align: center;
    margin: 0 auto;
    padding-left: 0;
  }
  .line-based {
    justify-content: center;
  }
  .social-proof-row {
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .torn-paper-banner {
    width: 88%;
    bottom: 11%;
  }
  .banner-inner-content {
    padding: 10px 12px;
  }
  .stat-card {
    gap: 8px;
    padding: 6px 6px;
  }
}

@media (max-width: 640px) {
  .torn-paper-banner {
    width: 96%;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: -30px;
  }
  .banner-inner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .stat-separator {
    display: none;
  }
  .hero-bottom-action {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: 18px;
  }
  .cta-black-strip {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Top Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 48px;
  z-index: 100;
  background: rgba(246, 244, 239, 0.74);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 
    0 4px 24px rgba(0, 0, 0, 0.035),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  padding: 8px 48px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 
    0 10px 32px rgba(0, 0, 0, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.header-inner {
  max-width: 1720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo towards the left: image-based */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 60px;
  width: auto;
  max-width: 180px;
  display: block;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-img:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

/* Keep legacy selectors harmless in case any remain */
.logo-slashes,
.logo-text {
  display: none;
}

/* Center-Right Nav */
.nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 36px;
}

.nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-link {
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-black);
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 4px 0;
}

.nav-link:hover {
  color: var(--color-orange);
}

.nav-item.active .nav-link {
  font-weight: 800;
}

.nav-active-dot {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--color-black);
  border-radius: 50%;
}

/* Header Right Pill CTA */
.header-action {
  display: flex;
  align-items: center;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9999px;
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-btn-black {
  background-color: var(--color-black);
  color: #ffffff;
  padding: 11px 24px;
}

.pill-btn-black:hover {
  background-color: #262626;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.arrow-icon {
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.pill-btn:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   Consultation Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--bg-cream);
  border: 1px solid #ded7c8;
  border-radius: 14px;
  width: 100%;
  max-width: 500px;
  padding: 32px 36px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--color-black);
  cursor: pointer;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
  transform: rotate(90deg);
  color: var(--color-orange);
}

.modal-tag {
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 6px;
}

.modal-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal-subtitle {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 22px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.form-group label {
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-black);
  letter-spacing: 0.02em;
}

.form-group input {
  padding: 11px 14px;
  border: 1px solid #d4cbb8;
  border-radius: 8px;
  background-color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-black);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  border-color: var(--color-black);
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

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

.modal-submit-btn {
  background-color: var(--color-black);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 13px 24px;
  font-family: var(--font-headline);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.22s ease;
}

.modal-submit-btn:hover {
  background-color: var(--color-orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 90, 31, 0.3);
}

@media (max-width: 1024px) {
  .site-header {
    padding: 16px 28px;
  }
  .nav-list {
    gap: 22px;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 14px 20px;
  }
  .nav {
    display: none;
  }
}

/* ==========================================================================
   SERVICES SECTION: S-02, S-03, S-04 Stacked Editorial Cards
   ========================================================================== */
.services-section {
  width: 100%;
  position: relative;
}

/* Services Intro Banner */
.services-intro {
  background-color: #0c0c0e;
  color: #ffffff;
  padding: 110px 48px 90px 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.services-intro-inner {
  max-width: 1360px;
  margin: 0 auto;
}

.services-kicker {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-orange);
  text-transform: uppercase;
  display: block;
  margin-bottom: 18px;
}

.services-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.services-intro-body {
  max-width: 980px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-lead {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.58;
  color: #f4f4f6;
  font-weight: 550;
  letter-spacing: -0.01em;
}

.services-para {
  font-size: 1.02rem;
  line-height: 1.72;
  color: #a1a1aa;
  font-weight: 400;
}

.services-para-close {
  font-size: 0.98rem;
  line-height: 1.62;
  color: #d4d4d8;
  font-style: italic;
  font-weight: 500;
  padding-top: 6px;
}

.services-caps-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.cap-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e4e4e7;
  letter-spacing: 0.03em;
  transition: all 0.2s ease;
}

.cap-pill:hover {
  background: rgba(255, 90, 31, 0.12);
  border-color: rgba(255, 90, 31, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.cap-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-orange);
}

/* Individual Service Block */
.service-block {
  width: 100%;
  padding: 95px 48px 105px 48px;
  position: relative;
}

.service-container {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.service-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
}

/* --- Visual Column --- */
.service-visual-col {
  display: flex;
  flex-direction: column;
}

.service-index {
  font-family: var(--font-headline);
  font-size: clamp(3.5rem, 5.8vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 22px;
  color: #111111;
}

.service-index-white {
  color: #ffffff;
}

.service-media-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.service-media-frame:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 32px 64px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(0, 0, 0, 0.08);
}

/* --- Info Column --- */
.service-info-col {
  display: flex;
  flex-direction: column;
}

.service-glyph-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: currentColor;
  opacity: 0.92;
}

.service-glyph-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.service-title {
  font-family: var(--font-headline);
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: currentColor;
}

.service-desc {
  font-size: 0.98rem;
  line-height: 1.62;
  opacity: 0.88;
  margin-bottom: 12px;
  font-weight: 500;
}

.service-subdesc {
  font-size: 0.9rem;
  line-height: 1.55;
  opacity: 0.74;
  font-style: italic;
  margin-bottom: 26px;
}

.service-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 34px;
}

.service-bullets-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 24px;
  margin-bottom: 34px;
}

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

.service-bullets li,
.service-bullets-grid li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.35;
}

.bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.service-pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: currentColor;
  border: 1.8px solid currentColor;
  border-radius: 9999px;
  padding: 10px 32px;
  font-family: var(--font-headline);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.service-pill-btn:hover {
  background-color: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* ==========================================================================
   THEME STYLES (S-01 Website Building, S-02 Email, S-03 Yellow, S-04 Black)
   ========================================================================== */

/* S-01: Website Building & Digital Experiences */
.service-s01 {
  background-color: #f7f5ed;
  color: #111111;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.website-frame {
  position: relative;
  background: #111215;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
}

.website-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.website-frame:hover .website-photo {
  transform: scale(1.03);
}

/* S-02: Content Creation for Reels & Ad Shoots (Warm Stone / Titanium) */
.service-s02 {
  background-color: #eae8e1;
  color: #111111;
}

.phone-frame-container {
  position: relative;
  background: radial-gradient(circle at 50% 30%, #f5f3ec 0%, #e2dfd7 60%, #dedcd5 100%);
  padding: 38px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.iphone-glass-glow {
  position: absolute;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 31, 0.16) 0%, rgba(245, 188, 56, 0.12) 40%, transparent 70%);
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
}

.iphone-device {
  width: 284px;
  height: 488px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-radius: 40px;
  border: 8.5px solid #1a1a1c;
  box-shadow: 
    0 28px 60px rgba(0, 0, 0, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 2px 4px rgba(255, 255, 255, 0.9) inset;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 2;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.iphone-device:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 
    0 38px 75px rgba(0, 0, 0, 0.34),
    0 12px 28px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.7) inset,
    0 2px 4px rgba(255, 255, 255, 1) inset;
}

.iphone-glass-reflection {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    122deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.25) 24%,
    rgba(255, 255, 255, 0.02) 38%,
    transparent 50%,
    rgba(255, 255, 255, 0.05) 75%,
    rgba(255, 255, 255, 0.22) 100%
  );
  pointer-events: none;
  z-index: 15;
  border-radius: 32px;
}

.iphone-notch-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 7px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 16;
}

.iphone-dynamic-island {
  width: 78px;
  height: 19px;
  background: #000000;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(255, 255, 255, 0.15) inset;
}

.iphone-display {
  padding: 32px 18px 12px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.88) 0%, rgba(248, 247, 244, 0.72) 48%, rgba(255, 255, 255, 0.82) 100%);
  position: relative;
  z-index: 2;
}

.iphone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.iphone-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.iphone-card-sub {
  font-size: 0.68rem;
  font-weight: 700;
  color: #71717a;
  letter-spacing: 0.04em;
}

.iphone-chip-live {
  font-size: 0.6rem;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 2px 7px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #059669;
}

.iphone-balance-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.iphone-val {
  font-family: var(--font-headline);
  font-size: 1.58rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #111111;
}

.iphone-trend-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #10b981;
}

.iphone-chart-area {
  width: 100%;
  height: 84px;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.iphone-wave-svg {
  width: 100%;
  height: 100%;
}

.iphone-flows-stack {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 4px;
}

.flow-pill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 11px;
  font-size: 0.72rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.025), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition: all 0.2s ease;
}

.flow-pill-item:hover {
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
}

.flow-title {
  font-weight: 600;
  color: #27272a;
}

.flow-stat {
  font-weight: 800;
  color: #111111;
}

.iphone-home-bar {
  width: 90px;
  height: 4px;
  background: #111111;
  border-radius: 9999px;
  margin: 6px auto 0 auto;
}

/* S-03: Content Marketing (Bold Yellow from Reference) */
.service-s03 {
  background-color: #f5bc38;
  color: #111111;
}

.keynote-frame {
  background: #000000;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.auditorium-photo {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.service-pill-btn-dark:hover {
  background-color: #111111;
  color: #f5bc38;
  border-color: #111111;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

/* S-04: Social Marketing (Obsidian Black from Reference) */
.service-s04 {
  background-color: #121215;
  color: #ffffff;
}

.quivo-frame {
  position: relative;
  background: #182318;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.quivo-scenery {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(68, 128, 76, 0.6) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(35, 78, 42, 0.8) 0%, transparent 60%),
    linear-gradient(135deg, #152b18 0%, #0d1e10 100%);
  overflow: hidden;
}

.quivo-scenery::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 130px;
  height: 120%;
  background: linear-gradient(170deg, rgba(60, 65, 60, 0.6) 0%, rgba(45, 50, 45, 0.9) 50%, rgba(30, 35, 30, 0.6) 100%);
  transform: rotate(-24deg);
  border-left: 2px dashed rgba(255, 255, 255, 0.22);
  border-right: 2px dashed rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
}

.quivo-browser-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  color: #111111;
  padding: 20px 24px 22px 24px;
}

.quivo-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.quivo-dots {
  display: flex;
  gap: 5px;
}

.quivo-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
}

.quivo-brand-logo {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #111111;
}

.quivo-top-nav {
  display: flex;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #6b7280;
}

.quivo-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}

.quivo-mask-heading {
  font-family: var(--font-headline);
  font-size: clamp(3.5rem, 5.5vw, 5.2rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.88;
  text-transform: lowercase;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #153219 0%, #2f6b39 45%, #153219 80%, #0f2412 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.quivo-arrow-note {
  font-size: 0.72rem;
  font-weight: 700;
  color: #6b7280;
  display: block;
  text-align: right;
}

.service-desc-white {
  color: #e4e4e7;
}

.service-subdesc-white {
  color: #a1a1aa;
}

.service-bullets-white li {
  color: #f4f4f5;
}

/* S-06: Email Marketing (Warm Stone Cream) */
.service-s06 {
  background-color: #f2eee5;
  color: #111111;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reels-shoot-frame {
  position: relative;
  background: #0f1012;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 
    0 24px 50px rgba(0, 0, 0, 0.14),
    0 6px 18px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.reels-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.reels-shoot-frame:hover .reels-photo {
  transform: scale(1.035);
}

.reels-shoot-tag {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(15, 16, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.shoot-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: shootPulse 1.8s infinite ease-in-out;
  flex-shrink: 0;
}

@keyframes shootPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.service-pill-btn-white {
  border-color: #ffffff;
  color: #ffffff;
}

.service-pill-btn-white:hover {
  background-color: #ffffff;
  color: #121215;
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Responsive Breakpoints for Services
   ========================================================================== */
@media (max-width: 1024px) {
  .service-content-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-block {
    padding: 70px 32px 80px 32px;
  }

  .service-visual-col {
    order: 2;
  }

  .service-info-col {
    order: 1;
  }

  .quivo-frame {
    min-height: 340px;
  }
}

@media (max-width: 768px) {
  .service-block {
    padding: 55px 20px 65px 20px;
  }

  .service-index {
    font-size: 3.2rem;
    margin-bottom: 16px;
  }

  .service-title {
    font-size: 2rem;
  }

  .iphone-device {
    width: 250px;
    height: 440px;
  }

  .quivo-browser-card {
    padding: 16px 18px;
  }

  .quivo-mask-heading {
    font-size: 3.2rem;
  }
}

/* ==========================================================================
   FEATURED WORK SECTION (Matching Reference Image)
   ========================================================================== */
.featured-work-section {
  width: 100%;
  padding: 110px 48px 120px 48px;
  background-color: var(--bg-cream);
  position: relative;
  border-top: 1px solid rgba(17, 17, 17, 0.08);
}

.work-container {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.work-header {
  margin-bottom: 48px;
}

.work-headline {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 14px;
}

.work-subtext {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 620px;
  line-height: 1.58;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 36px;
}

.work-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  border: none;
  background: transparent;
  text-align: left;
}

.work-media-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background-color: #dedcd5;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.work-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-image {
  transform: scale(1.05);
}

.work-glass-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.32);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-glass-overlay {
  opacity: 1;
}

.work-pill-badge {
  background: rgba(255, 255, 255, 0.95);
  color: #111111;
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 10px 22px;
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(8px);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-pill-badge {
  transform: translateY(0);
}

.work-meta {
  margin-top: 16px;
}

.work-project-title {
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-black);
  margin-bottom: 5px;
}

.work-project-tags {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.work-footer-action {
  margin-top: 64px;
  display: flex;
  justify-content: center;
}

@media (max-width: 900px) {
  .featured-work-section {
    padding: 70px 24px 80px 24px;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .work-headline {
    font-size: 2.4rem;
  }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
  width: 100%;
  background-color: #0b0b0d;
  color: #ffffff;
  padding: 100px 48px 45px 48px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-logo .logo-img,
.logo-img-footer {
  filter: brightness(0) invert(1);
  height: 64px;
}

.footer-about-text {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #a1a1aa;
  margin-bottom: 26px;
  max-width: 440px;
}

.footer-direct-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 440px;
}

.direct-label {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-orange);
}

.direct-email-address {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  word-break: break-all;
}

.direct-email-address:hover {
  color: var(--color-orange);
  text-decoration: underline;
}

.direct-sub {
  font-size: 0.72rem;
  color: #71717a;
  font-style: italic;
}

.footer-col-heading {
  font-family: var(--font-headline);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #ffffff;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list li a {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
  display: inline-block;
}

.footer-cta-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #a1a1aa;
  margin-bottom: 24px;
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.76rem;
  color: #71717a;
  letter-spacing: 0.04em;
}

.footer-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  padding: 5px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Modal Direct Mail Helper & Feedback */
.modal-direct-mail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 6px;
}

.modal-mail-link {
  color: var(--color-orange);
  font-weight: 700;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.modal-mail-link:hover {
  text-decoration: underline;
}

.form-feedback {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.45;
  margin-top: 4px;
}

.form-feedback.success {
  display: block !important;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block !important;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .site-footer {
    padding: 70px 24px 35px 24px;
  }
}

/* ==========================================================================
   SUBPAGE ARCHITECTURE & LAYOUTS (About, Services, Work, Insights, Contact)
   ========================================================================== */

.page-wrapper {
  width: 100%;
  padding-top: 100px;
  background-color: var(--color-cream-bg);
  min-height: 100vh;
}

.page-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 48px 40px 48px;
}

.page-tag {
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  margin-bottom: 14px;
  display: block;
}

.page-title {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-black);
  margin-bottom: 22px;
  max-width: 900px;
}

.page-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: #4b4b52;
  max-width: 780px;
}

.page-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 48px 80px 48px;
}

.section-head {
  margin-bottom: 48px;
}

.section-label {
  font-family: var(--font-headline);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-orange);
  margin-bottom: 8px;
  display: block;
}

.section-heading-lg {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-black);
  line-height: 1.15;
}

/* Metric Strip */
.stats-banner {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 70px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 800;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.85rem;
  color: #66666e;
  font-weight: 500;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.team-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
}

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f1f2f5;
  border: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .team-photo {
  transform: scale(1.05);
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f8f9fb 0%, #eceef3 100%);
  color: #8b8f9a;
  position: relative;
}

.team-photo-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 0, 0, 0.07) 1px, transparent 1px);
  background-size: 14px 14px;
  opacity: 0.8;
}

.team-initials {
  position: relative;
  font-family: var(--font-headline);
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a1e;
  letter-spacing: 0.05em;
  opacity: 0.35;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.team-card:hover .team-initials {
  opacity: 0.7;
  transform: scale(1.08);
}

.team-role {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.team-name {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #55555c;
}

/* Feature/Pillars Grid */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.pillar-num {
  font-family: var(--font-headline);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 14px;
}

.pillar-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 10px;
}

.pillar-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #55555c;
}

/* Filter Bar for Work */
.work-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-tab {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  padding: 8px 20px;
  font-family: var(--font-headline);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-black);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--color-black);
  color: #ffffff;
  border-color: var(--color-black);
}

/* Detailed Case Study Card */
.case-study-hero-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
}

.case-study-img-wrap {
  width: 100%;
  height: 100%;
  min-height: 380px;
  position: relative;
  overflow: hidden;
}

.case-study-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study-content {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-badge {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-orange);
  margin-bottom: 10px;
}

.case-study-title {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 14px;
  line-height: 1.15;
}

.case-study-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #55555c;
  margin-bottom: 24px;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
  background: #fbf9f5;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.metric-val {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-black);
}

.metric-lbl {
  font-size: 0.76rem;
  color: #71717a;
  font-weight: 600;
}

/* Insights Layout */
.insights-featured-box {
  background: #111115;
  color: #ffffff;
  border-radius: 20px;
  padding: 50px 48px;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}

.featured-article-title {
  font-family: var(--font-headline);
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.featured-article-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: #a1a1aa;
  margin-bottom: 24px;
}

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

.insight-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.insight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.16);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.06);
}

.insight-meta {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--color-orange);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.insight-title {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--color-black);
  margin-bottom: 14px;
}

.insight-excerpt {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #55555c;
  margin-bottom: 22px;
}

.insight-footer {
  font-size: 0.76rem;
  font-weight: 600;
  color: #888892;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
}

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

.contact-card-box {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 44px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.offices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 36px;
}

.office-box {
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.office-city {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-black);
  margin-bottom: 4px;
}

.office-address {
  font-size: 0.88rem;
  color: #66666e;
  line-height: 1.5;
}

/* Responsive Overrides for Subpages */
@media (max-width: 1024px) {
  .case-study-hero-card {
    grid-template-columns: 1fr;
  }
  .case-study-img-wrap {
    min-height: 280px;
  }
  .pillars-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insights-grid {
    grid-template-columns: 1fr 1fr;
  }
  .insights-featured-box {
    grid-template-columns: 1fr;
  }
  .stats-banner {
    grid-template-columns: 1fr 1fr;
  }
  .contact-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Mobile Navigation Toggle & Drawer
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  z-index: 105;
  transition: background-color 0.2s ease;
  touch-action: manipulation;
}

.mobile-nav-toggle:active {
  background-color: rgba(0, 0, 0, 0.08);
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background-color: var(--color-black);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  pointer-events: none;
}

.mobile-nav-drawer.open {
  display: block;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-drawer.open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: var(--bg-cream);
  box-shadow: -12px 0 36px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 26px;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-nav-drawer.open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mobile-drawer-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-black);
  cursor: pointer;
  padding: 6px;
  touch-action: manipulation;
}

.mobile-drawer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.mobile-drawer-link {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-black);
  text-decoration: none;
  display: block;
  letter-spacing: -0.02em;
  padding: 4px 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-link:active,
.mobile-drawer-link:hover {
  color: var(--color-orange);
  transform: translateX(6px);
}

.mobile-drawer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-cta-btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
}

.mobile-drawer-tagline {
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-align: center;
}

.services-cards-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

/* ==========================================================================
   Comprehensive Mobile Phone Optimization (<= 768px, iPhones, Galaxy, Pixel)
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: flex;
  }
  .header-cta-desktop {
    display: none !important;
  }
  .nav {
    display: none !important;
  }
  .site-header {
    padding: 12px 18px;
  }
  .center-container {
    padding: 72px 16px 36px 16px;
    min-height: auto;
  }
  .hero-main-layout {
    gap: 32px;
  }
  .hero-title {
    font-size: clamp(2.1rem, 7.8vw, 3.2rem);
    line-height: 0.96;
    word-break: break-word;
  }
  .hero-subtext {
    font-size: 0.92rem;
    line-height: 1.5;
  }
  .social-proof-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .center-model-img {
    max-height: 48vh;
  }
  .torn-paper-banner {
    width: 100%;
    margin-top: -12px;
  }
  .banner-inner-content {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 8px;
  }
  .stat-card {
    padding: 6px 4px;
    gap: 6px;
  }
  .stat-figure {
    font-size: 1.22rem;
  }
  .stat-description {
    font-size: 0.68rem;
  }
  .hero-bottom-action {
    width: 100%;
    margin-top: 14px;
    white-space: normal;
  }
  .cta-black-strip {
    width: 100%;
    padding: 8px 14px;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .cta-pill-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  .cta-tagline {
    font-size: 0.68rem;
    text-align: center;
  }

  /* Services Blocks on Mobile */
  .services-intro {
    padding: 65px 18px 50px 18px;
  }
  .services-headline {
    font-size: clamp(1.8rem, 6.5vw, 2.6rem);
  }
  .services-caps-tags {
    gap: 8px;
  }
  .cap-pill {
    font-size: 0.74rem;
    padding: 6px 12px;
  }
  .service-block {
    padding: 48px 16px 56px 16px;
  }
  .service-title {
    font-size: 1.85rem;
  }
  .service-bullets-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .service-bullets-grid li {
    font-size: 0.88rem;
  }
  .service-pill-btn {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
  }
  .reels-shoot-tag {
    font-size: 0.68rem;
    padding: 8px 12px;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }

  /* iPhone Mockup on Phones */
  .phone-frame-container {
    padding: 24px 12px;
  }
  .iphone-device {
    width: 235px;
    max-width: 90vw;
    height: 420px;
  }

  /* Featured Work & Case Studies on Mobile */
  .featured-work-section {
    padding: 65px 16px 75px 16px;
  }
  .work-headline {
    font-size: 2.2rem;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .case-study-hero-card {
    grid-template-columns: 1fr;
    margin-bottom: 28px;
  }
  .case-study-content {
    padding: 24px 18px;
  }
  .case-study-title {
    font-size: 1.55rem;
  }
  .case-study-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
  }

  /* Subpages */
  .page-hero {
    padding: 95px 18px 36px 18px;
  }
  .page-title {
    font-size: clamp(1.75rem, 6.8vw, 2.6rem);
    line-height: 1.1;
  }
  .page-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .pillars-grid,
  .insights-grid,
  .team-grid,
  .stats-banner,
  .services-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }
  .stats-banner {
    padding: 22px 18px;
  }
  .contact-card-box {
    padding: 24px 18px;
  }

  /* Footer on Phones */
  .site-footer {
    padding: 60px 18px 32px 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-row {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  /* Modal on Phones */
  .modal-backdrop {
    padding: 10px;
    align-items: flex-end;
  }
  .modal-card {
    padding: 24px 18px;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow-y: auto;
    width: 100%;
    max-width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .modal-title {
    font-size: 1.3rem;
  }
  .modal-submit-btn {
    width: 100%;
    padding: 14px 20px;
  }
}

/* Small Phones (iPhone SE, Galaxy Fold 320px - 380px) */
@media (max-width: 380px) {
  .site-header {
    padding: 10px 14px;
  }
  .logo-text {
    font-size: 1rem;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .banner-inner-content {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .stat-card {
    justify-content: flex-start;
  }
  .iphone-device {
    width: 215px;
    height: 390px;
    border-width: 6px;
  }
  .iphone-display {
    padding: 22px 10px 10px 10px;
  }
  .iphone-val {
    font-size: 1.15rem;
  }
  .quivo-mask-heading {
    font-size: 2.2rem;
  }
  .case-study-metrics {
    grid-template-columns: 1fr;
  }
  .service-index {
    font-size: 2.8rem;
  }
}

