/* ==========================================================================
   SHAFRA SOFTWARE — BESPOKE DIGITAL PRODUCT STUDIO
   ========================================================================== */

:root {
  /* Surface Colors */
  --bg-main: #0b0d13;
  --bg-subtle: #10131b;
  --bg-card: #151822;
  --bg-card-hover: #1c202e;
  --bg-input: #0e1118;
  
  /* Borders */
  --border-hairline: rgba(255, 255, 255, 0.07);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-focus: #3b82f6;

  /* Accents */
  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-tag: rgba(59, 130, 246, 0.12);
  --accent-tag-text: #60a5fa;

  /* Typography Colors */
  --text-pure-white: #ffffff;
  --text-heading: #f3f4f6;
  --text-body: #9ca3af;
  --text-muted: #6b7280;
  --text-faint: #4b5563;

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Sizing */
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Strictly remove all default or forced underlines everywhere */
a, a:hover, a:visited, a:active, a:focus {
  text-decoration: none !important;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

button, input, textarea, select {
  font-family: inherit;
}

.container {
  width: min(var(--container-width), 92%);
  margin-left: auto;
  margin-right: auto;
}

/* Section Shared Utilities */
.section {
  padding: 100px 0;
  border-top: 1px solid var(--border-hairline);
}

.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.section-kicker {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-tag-text);
  margin-bottom: 12px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.65rem);
  font-weight: 700;
  color: var(--text-pure-white);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-top-desc {
  max-width: 520px;
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--text-pure-white);
  color: #0b0d13 !important;
  font-weight: 700;
}

.btn-primary:hover {
  background-color: #e5e7eb;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-card);
  color: var(--text-heading) !important;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.04);
}

.btn-nav {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--border-card);
  color: var(--text-pure-white) !important;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
}

.btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-hero {
  padding: 14px 26px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 84px;
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(11, 13, 19, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-hairline);
  transition: all var(--transition-fast);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  transition: opacity var(--transition-fast);
}

.brand-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand:hover .brand-img {
  transform: scale(1.03);
  filter: drop-shadow(0 2px 16px rgba(0, 212, 239, 0.25));
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color var(--transition-fast);
}

.nav-item:hover {
  color: var(--text-pure-white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 10px 9px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  transition: all var(--transition-fast);
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-pure-white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-toggle.is-active .toggle-bar:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-toggle.is-active .toggle-bar:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 70px;
}

.hero-header {
  max-width: 820px;
  margin-bottom: 60px;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-heading);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
  line-height: 1.14;
  color: var(--text-pure-white);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Featured Case Study Card */
.hero-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  margin-bottom: 60px;
  transition: border-color var(--transition-normal);
}

.hero-hero-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-card-media {
  position: relative;
  min-height: 380px;
  background: #000;
  overflow: hidden;
}

.hero-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}

.hero-hero-card:hover .hero-card-img {
  transform: scale(1.03);
}

.hero-card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(11, 13, 19, 0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(8px);
}

.hero-card-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.client-name {
  color: var(--text-pure-white);
  font-weight: 600;
}

.meta-separator {
  margin: 0 6px;
}

.hero-card-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text-pure-white);
  line-height: 1.3;
  margin-bottom: 14px;
}

.hero-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-body);
  margin-bottom: 28px;
}

.hero-card-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border-hairline);
}

.h-metric {
  display: flex;
  flex-direction: column;
}

.h-metric-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure-white);
}

.h-metric-txt {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Trust Strip */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border-hairline);
  gap: 24px;
  flex-wrap: wrap;
}

.trust-heading {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.trust-list {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #7d8799;
}

.trust-brand i {
  color: var(--text-muted);
}

/* ==========================================================================
   WORK / CASE STUDIES
   ========================================================================== */
.filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-card);
}

.filter-tab {
  background: none;
  border: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab:hover {
  color: var(--text-pure-white);
}

.filter-tab.active {
  background: var(--text-pure-white);
  color: #0b0d13;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.work-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.work-media {
  position: relative;
  min-height: 270px;
  background: #000;
  overflow: hidden;
}

.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.work-card:hover .work-img {
  transform: scale(1.03);
}

.work-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(11, 13, 19, 0.8);
  backdrop-filter: blur(8px);
  color: var(--text-heading);
  padding: 5px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-card);
}

.work-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.work-tags span {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  padding: 3px 9px;
  border-radius: var(--radius-xs);
}

.work-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-pure-white);
  line-height: 1.35;
  margin-bottom: 10px;
}

.work-description {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.work-highlight {
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.work-highlight strong {
  color: var(--text-pure-white);
}

/* ==========================================================================
   SERVICES & DISCIPLINES (EDITORIAL ROW LAYOUT)
   ========================================================================== */
.services-row-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-row-item {
  background: var(--bg-card);
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 60px 1.5fr 1fr;
  align-items: center;
  gap: 30px;
  transition: background-color var(--transition-fast);
}

.service-row-item:hover {
  background: var(--bg-card-hover);
}

.service-row-number {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-faint);
}

.service-row-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 8px;
}

.service-row-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.service-row-deliverables {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.deliv-tag {
  font-size: 0.78rem;
  color: var(--text-heading);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-card);
  padding: 5px 11px;
  border-radius: var(--radius-xs);
}

/* ==========================================================================
   WHY SHAFRA (STUDIO PRINCIPLES)
   ========================================================================== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.principle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
}

.principle-num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-tag-text);
  margin-bottom: 18px;
}

.principle-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 10px;
}

.principle-text {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   PROCESS ROADMAP
   ========================================================================== */
.process-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 30px 24px;
}

.step-index {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.step-label {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 10px;
}

.step-info {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   REVIEWS / TESTIMONIALS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-box {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-quote {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text-heading);
  margin-bottom: 28px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #232a3b;
  border: 1px solid var(--border-card);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-pure-white);
}

.author-title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-entry {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color var(--transition-fast);
}

.faq-entry[open] {
  border-color: rgba(255, 255, 255, 0.22);
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-pure-white);
  cursor: pointer;
  list-style: none;
}

.faq-title::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

.faq-entry[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  padding-top: 14px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--text-pure-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.contact-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 36px;
}

.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.direct-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition-fast);
}

.direct-link:not(.static-direct):hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: var(--bg-card-hover);
}

.direct-link i {
  font-size: 1.3rem;
  color: var(--text-heading);
}

.direct-link small {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.direct-link span {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-pure-white);
}

/* Contact Form */
.project-form {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.form-title-area {
  margin-bottom: 24px;
}

.form-title-area h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 4px;
}

.form-title-area p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-field-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.type-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.chip-item {
  cursor: pointer;
}

.chip-item input {
  display: none;
}

.chip-btn {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 9px 4px;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  color: var(--text-body);
  transition: all var(--transition-fast);
}

.chip-item input:checked + .chip-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-pure-white);
  color: var(--text-pure-white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-pure-white);
  font-size: 0.92rem;
  transition: border-color var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--border-focus);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  font-size: 0.98rem;
}

.form-feedback {
  margin-top: 14px;
  font-size: 0.88rem;
  text-align: center;
  min-height: 20px;
  font-weight: 600;
}

.form-feedback.success {
  color: #10b981;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border-hairline);
  background: #080a0f;
  padding: 70px 0 35px;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-logo-img {
  height: 54px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
  margin-bottom: 22px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 320px;
}

.footer-links-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-pure-white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 10px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-pure-white);
}

.footer-contact-item {
  font-size: 0.88rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border-hairline);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-hero-card {
    grid-template-columns: 1fr;
  }

  .hero-card-media {
    min-height: 300px;
  }

  .service-row-item {
    grid-template-columns: 50px 1.4fr 1fr;
    padding: 30px 24px;
    gap: 20px;
  }

  .principles-grid,
  .process-steps-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 860px) {
  .header {
    height: 76px;
  }

  .brand-img {
    height: 46px;
  }

  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100vh - 76px);
    height: calc(100dvh - 76px);
    background: #0b0d13;
    background-color: var(--bg-main);
    z-index: 999;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid var(--border-hairline);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.95);
  }

  .mobile-menu.is-active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-menu-inner {
    padding: 24px 0 32px;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    justify-content: space-between;
    gap: 24px;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .mobile-link {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--text-heading);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-hairline);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-link:hover,
  .mobile-link:active {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.4);
    color: var(--text-pure-white);
    transform: translateX(3px);
  }

  .mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border-hairline);
  }

  .mobile-contact-info {
    font-size: 0.86rem;
    color: var(--text-muted);
    text-align: center;
  }

  .section {
    padding: 70px 0;
  }

  .hero {
    padding-top: 115px;
    padding-bottom: 50px;
  }

  /* Enhanced "What We Do" Section on Tablet & Mobile */
  .services-row-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .service-row-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  }

  .service-row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-tag-text);
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    letter-spacing: 0.05em;
  }

  .service-row-main {
    width: 100%;
  }

  .service-row-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .service-row-desc {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-body);
  }

  .service-row-deliverables {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
    padding-top: 14px;
    border-top: 1px solid var(--border-hairline);
  }

  .deliv-tag {
    font-size: 0.8rem;
    padding: 5px 11px;
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--border-card);
  }

  .work-grid {
    grid-template-columns: 1fr;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .type-chips {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links-side {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .header {
    height: 72px;
  }

  .mobile-menu {
    top: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .brand-img {
    height: 42px;
  }

  .footer-logo-img {
    height: 46px;
    margin-bottom: 18px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Specific Fine-Tuning for Mobile Phone Screens */
  .service-row-item {
    padding: 22px 18px;
    gap: 14px;
  }

  .service-row-title {
    font-size: 1.18rem;
  }

  .service-row-desc {
    font-size: 0.9rem;
  }

  .deliv-tag {
    font-size: 0.76rem;
    padding: 4px 9px;
  }

  .principles-grid,
  .process-steps-row {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links-side {
    grid-template-columns: 1fr;
  }
}
