/* ===================================
   TRESTLES GROUP - ANODIZED COBALT STRUCTURALISM
   Industrial precision with goldenrod accents
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,600;1,400&family=Space+Grotesk:wght@300;500;700&family=JetBrains+Mono:wght@300&display=swap');

/* === ROOT VARIABLES === */
:root {
  --navy-deep: #05080f;
  --navy-anodized: #0a1324;
  --blue-gray: #334155;
  --gray-metal: #94a3b8;
  --goldenrod: #eab308;
  --goldenrod-dim: #854d0e;
  --edge-highlight: rgba(255, 255, 255, 0.08);
  --font-serif: 'Cormorant Garamond', serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy-deep);
  color: var(--gray-metal);
  font-family: var(--font-tech);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Anodized Grain Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* === STRUCTURAL GRID BACKGROUND === */
.structural-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(to right, var(--edge-highlight) 1px, transparent 1px),
    linear-gradient(to bottom, var(--edge-highlight) 1px, transparent 1px);
  background-size: 80px 80px;
  z-index: -1;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* === HERO ACCELERATOR STAGE === */
.accelerator-stage {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
  border-bottom: 1px solid var(--blue-gray);
  background: var(--navy-deep);
  box-shadow: none;
  position: relative;
  overflow: hidden;
  animation: stageReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stageReveal {
  from {
    opacity: 0;
    transform: scale(0.98) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* === HERO BACKGROUND VIDEO === */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* === HERO OVERLAY === */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(5, 8, 15, 0.75) 0%,
      rgba(10, 19, 36, 0.65) 50%,
      rgba(5, 8, 15, 0.8) 100%);
  z-index: 1;
}

/* === STAGE HEADER === */
.stage-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(5, 8, 15, 0.35);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.3s ease;
}

.brand {
  font-family: var(--font-tech);
  letter-spacing: 0.3em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand::before {
  content: "";
  width: 12px;
  height: 12px;
  background: var(--goldenrod);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

nav {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  font-size: 0.7rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #fff;
}

.hover-reveal {
  position: absolute;
  width: 100%;
  height: 1px;
  background: var(--goldenrod);
  left: 0;
  bottom: -4px;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover .hover-reveal {
  transform: scaleX(1);
  transform-origin: left;
}

.status-pill {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--goldenrod);
  border: 1px solid var(--goldenrod-dim);
  padding: 4px 12px;
  text-transform: uppercase;
}

/* === HERO SECTION === */
.hero-section {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-section::after {
  content: "";
  display: none;
}

.tagline {
  font-family: var(--font-mono);
  color: var(--goldenrod);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  animation: fadeIn 0.8s forwards 0.5s;
}

.headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.05;
  color: #fff;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 900px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.headline .highlight-word {
  font-style: italic;
  color: var(--gray-metal);
}

.hero-description {
  max-width: 650px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* === DATA PANEL === */
.data-panel {
  border-left: 1px solid var(--blue-gray);
  background: rgba(0, 0, 0, 0.2);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  backdrop-filter: blur(10px);
}

.data-point {
  border-top: 1px solid var(--blue-gray);
  padding-top: 1rem;
}

.label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  color: var(--goldenrod);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}

.value {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 300;
}

.metric-bar {
  width: 100%;
  height: 2px;
  background: var(--blue-gray);
  position: relative;
  margin-top: 0.5rem;
}

.metric-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 75%;
  background: var(--goldenrod);
  box-shadow: 0 0 10px var(--goldenrod-dim);
}

/* === STRUCTURAL FOOTER === */
.structural-footer {
  grid-column: 1;
  padding: 2.5rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  position: relative;
  z-index: 10;
}

/* === METRICS FOOTER === */
.metrics-footer {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 3rem 2rem;
  background: rgba(5, 8, 15, 0.5);
  backdrop-filter: blur(10px);
}

.metric-item {
  text-align: center;
  flex: 1;
}

.metric-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--goldenrod);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  text-shadow: 0 2px 15px rgba(234, 179, 8, 0.3);
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* === CTA BUTTON === */
.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1.25rem 2.5rem;
  background: transparent;
  border: 1px solid var(--goldenrod);
  color: var(--goldenrod);
  font-family: var(--font-tech);
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  font-weight: 700;
  font-size: 0.75rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--goldenrod);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.cta-button:hover {
  color: var(--navy-deep);
}

.cta-button:hover::before {
  transform: translateX(100%);
}

/* === CONTENT STAGES === */
.content-stage {
  padding: 8rem 4rem;
  border-bottom: 1px solid var(--blue-gray);
  position: relative;
}

.dark-stage {
  background: linear-gradient(135deg, var(--navy-anodized) 0%, var(--navy-deep) 100%);
}

.stage-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stage-inner.centered {
  text-align: left;
}

.stage-inner.centered .section-headline,
.stage-inner.centered .section-body,
.stage-inner.centered .cta-button {
  text-align: left;
}

.stage-inner.centered .contact-grid {
  justify-content: flex-start;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--goldenrod);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  color: #fff;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 800px;
}

.section-headline span {
  font-style: italic;
  color: var(--gray-metal);
}

.section-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-metal);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

/* === SERVICES GRID === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--blue-gray);
  border: 1px solid var(--blue-gray);
}

.service-card {
  background: var(--navy-deep);
  padding: 3rem;
  position: relative;
  transition: all 0.4s ease;
}

.service-card:hover {
  background: var(--navy-anodized);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--goldenrod), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover .card-accent {
  transform: scaleX(1);
}

.service-number {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--goldenrod);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #fff;
  font-weight: 300;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-title span {
  font-style: italic;
  color: var(--gray-metal);
}

.service-desc {
  font-size: 0.95rem;
  color: var(--gray-metal);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.service-list {
  list-style: none;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--gray-metal);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--edge-highlight);
}

.service-list li:last-child {
  border-bottom: none;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--goldenrod);
  font-size: 0.8rem;
}

/* === PROCESS LAYOUT === */
.process-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.process-left {
  position: sticky;
  top: 100px;
}

.process-left .section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--goldenrod);
  margin-bottom: 1.5rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}



.process-left .section-headline span {
  font-style: italic;
  color: var(--gray-metal);
}

.process-left .section-body {
  margin-bottom: 3rem;
  line-height: 1.8;
  color: var(--gray-light);
  max-width: 500px;
}

/* === PROCESS TABS (HORIZONTAL) === */
.process-tabs {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.process-tab {
  background: transparent;
  border: 1px solid var(--blue-gray);
  padding: 1rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gray-light);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.process-tab:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(234, 179, 8, 0.3);
  transform: translateY(-2px);
}

.process-tab.active {
  background: rgba(234, 179, 8, 0.08);
  border-color: var(--goldenrod);
  color: var(--goldenrod);
}

.process-tab.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--goldenrod);
}

.tab-number {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.tab-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
}

/* === PROCESS CONTENT === */
.process-content {
  position: relative;
  min-height: 450px;
  margin-top: 2.5rem;
}

.process-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
  border: 1px solid var(--blue-gray);
  background: rgba(255, 255, 255, 0.02);
  max-width: 800px;
  margin: 0 auto;
}

.process-panel.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Decorative step number */
.step-decorative-number {
  position: absolute;
  top: -20px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 10rem;
  font-weight: 300;
  color: rgba(234, 179, 8, 0.06);
  line-height: 1;
  pointer-events: none;
  font-style: italic;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 300;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.step-body {
  position: relative;
  z-index: 2;
}

.step-intro {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--goldenrod);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.step-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  color: var(--gray-light);
  font-size: 1.05rem;
  line-height: 1.6;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.step-list li::before {
  content: "→";
  position: absolute;
  left: 0.5rem;
  color: var(--goldenrod);
  font-family: var(--font-mono);
}

.step-closing {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--blue-gray);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  font-style: italic;
}

/* === INDUSTRY TAGS === */
#industries .section-body {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.industry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 3rem 0;
}

.industry-tag {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--blue-gray);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--goldenrod);
  transition: all 0.3s ease;
  cursor: default;
}

.industry-tag:hover {
  border-color: var(--goldenrod);
  background: rgba(234, 179, 8, 0.05);
}

/* === TESTIMONIAL === */
.testimonial-stage {
  background: var(--navy-anodized);
}

.testimonial-stage .section-label {
  text-align: left;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.5;
  font-style: italic;
  color: #fff;
  max-width: 900px;
  margin: 0 auto 2rem;
  position: relative;
  text-align: center;
}

.testimonial-quote::before {
  content: '"';
  position: absolute;
  top: -1rem;
  left: -2rem;
  font-size: 5rem;
  color: var(--goldenrod-dim);
  font-family: var(--font-serif);
  line-height: 1;
  opacity: 0.5;
}

.testimonial-author {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--goldenrod);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: normal;
  text-align: right;
  display: block;
  max-width: 900px;
  margin: 0 auto;
}

/* === CONTACT === */
.contact-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.contact-item {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.cta-button {
  display: inline-block;
  margin: 2rem auto 0;
  text-align: center;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--goldenrod);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-family: var(--font-tech);
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.contact-value:hover {
  color: var(--goldenrod);
}

/* === SITE FOOTER === */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid var(--blue-gray);
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-tech);
  letter-spacing: 0.3em;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--blue-gray);
  margin-bottom: 1rem;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--gray-metal);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .accelerator-stage {
    grid-template-columns: 1fr;
    height: auto;
    min-height: auto;
  }

  .data-panel {
    border-left: none;
    border-top: 1px solid var(--blue-gray);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .data-point {
    flex: 1;
    min-width: 150px;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stage-header {
    flex-wrap: wrap;
    gap: 1rem;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--blue-gray);
  }
}

@media (max-width: 640px) {
  .content-stage {
    padding: 4rem 1.5rem;
  }

  .hero-section {
    padding: 2rem;
  }

  .headline {
    font-size: 2rem;
  }

  .section-headline {
    font-size: 1.8rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .structural-footer {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* === CASE STUDY GRID === */
.case-study-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.case-study-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--blue-gray);
  padding: 2.5rem;
  position: relative;
  transition: all 0.4s ease;
}

.case-study-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--goldenrod);
  transform: translateY(-5px);
}

.case-study-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blue-gray);
}

.case-study-metric {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.problem-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #ef4444;
  /* Red for problem */
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.solution-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
  /* Muted for solution process */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.result-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--goldenrod);
  /* Gold for result */
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

.case-text {
  font-size: 1rem;
  color: var(--gray-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.result-text {
  font-size: 1.1rem;
  color: var(--gray-light);
  font-style: italic;
  font-weight: normal;
}

@media (max-width: 768px) {
  .case-study-grid {
    grid-template-columns: 1fr;
  }
}

/* === FOOTER REDESIGN (Footer7 Adaptation) === */
.site-footer {
  background-color: var(--navy-darker);
  /* Deep dark background */
  color: var(--gray-light);
  padding: 5rem 0 2rem 0;
  /* py-32 equivalent scaled down slightly */
  font-family: var(--font-sans);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 992px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

/* Left Column (Brand) */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 400px;
  text-align: left;
  align-items: flex-start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-logo img {
  height: 2rem;
}

.footer-logo-text {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-metal);
  font-weight: 300;
}

.footer-socials {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social-link {
  color: var(--gray-light);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: var(--goldenrod);
}

/* Right Column (Links Grid) */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* 2 cols on mobile */
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-links-grid {
    grid-template-columns: repeat(3, 1fr);
    /* 3 cols on tablet+ */
    gap: 5rem;
  }
}

.footer-column-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
  font-family: var(--font-sans);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--gray-metal);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--goldenrod);
}

/* Bottom Bar */
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-metal);
  justify-content: space-between;
}

.footer-bottom p {
  text-align: left;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

.footer-legal-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-legal-link {
  color: var(--gray-metal);
  text-decoration: none;
}

.footer-legal-link:hover {
  text-decoration: underline;
  color: #fff;
}