/* -------------------------------------------------------------
   Fonts
------------------------------------------------------------- */
@font-face {
  font-family: "Project Blackbird";
  src: url("../../projekt-blackbird-v2.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* -------------------------------------------------------------
   Design Tokens
------------------------------------------------------------- */
:root {
  --font-heading: "Project Blackbird", "Quantico", sans-serif;
  --font-body: "Quantico", sans-serif;

  --color-bg-start: #2d2a4a;
  --color-bg-mid: #3a2d5a;
  --color-bg-dark: #1f1d35;
  --color-brand: #6b4fd9;
  --color-brand-accent: #5a3fc7;
  --color-brand-secondary: #00d4ff;
  --color-text-base: #ffffff;
  --color-text-muted: #b8b5d0;

  --shadow-soft: 0 0 10px rgba(107, 79, 217, 0.15);
  --shadow-strong: 0 10px 25px rgba(0, 0, 0, 0.4);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --container-max: 1200px;
  --section-spacing: clamp(3rem, 8vw, 5rem);
}

/* -------------------------------------------------------------
   Base
------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--color-text-base);
  background: linear-gradient(
    160deg,
    rgba(27, 22, 74, 1),
    rgba(44, 0, 62, 1),
    rgba(11, 1, 33, 1)
  );
  opacity: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

main {
  opacity: 1;
  min-height: 100vh;
}

section {
  padding: var(--section-spacing) 1.5rem;
  background: transparent;
}

section.faq-section,
section.contact-section,
section.about-us {
  min-height: calc(100vh - 80px);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  margin: 0 0 1rem;
}

/* Fix para caracteres acentuados - usar fuente del body para todo el texto del hero */
.hero-text p {
  font-family: var(--font-body);
}

.hero-text p strong,
.hero-text strong {
  font-weight: 600;
}

p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

button {
  font: inherit;
}

@keyframes gradientAnimation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* -------------------------------------------------------------
   Navigation / Topbar
------------------------------------------------------------- */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.75rem clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 1000;
  background: rgba(15, 12, 30, 0.3);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 79, 217, 0.08);
  box-sizing: border-box;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
}

#nav.nav-hidden {
  transform: translateY(-100%);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text-base);
  text-shadow: none;
  transition: opacity 0.4s ease;
  letter-spacing: 1.5px;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
}

.logo sup {
  font-size: 0.7em;
  vertical-align: super;
  color: var(--color-brand);
}

/* Menu Button integrado en topbar */
.menu-toggle {
  position: relative;
  width: 120px;
  height: 40px;
  background: rgba(107, 79, 217, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(107, 79, 217, 0.2);
  border-radius: 8rem;
  transition: all 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  cursor: pointer;
  z-index: 1001;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  align-self: center;
}

.menu-toggle:hover {
  background: rgba(107, 79, 217, 0.18);
  border-color: rgba(107, 79, 217, 0.35);
  transform: scale(1.01);
}

.menu-copy {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: var(--color-text-base);
  transition: left 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 1;
}

.menu-copy p {
  color: var(--color-text-base);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 0.9;
  margin: 0;
}

.menu-toggle-icon {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 36px;
  height: 36px;
  border-radius: 100%;
  background-color: var(--color-brand);
  transition: all 0.5s cubic-bezier(0.075, 0.82, 0.165, 1);
  z-index: 10;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(107, 79, 217, 0.25);
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.menu-toggle:hover .hamburger,
.menu-toggle.opened .hamburger {
  opacity: 1;
}

.menu-bar {
  position: absolute;
  width: 15px;
  height: 1.5px;
  background: var(--color-text-base);
  transition-property: transform;
  transition: all 250ms ease-out;
}

.menu-bar[data-position="top"] {
  transform: translateY(-3px);
}

.menu-bar[data-position="bottom"] {
  transform: translateY(3px);
}

.menu-toggle.opened .menu-bar[data-position="top"] {
  transform: translateY(0) rotate(45deg) scaleX(1.05);
}

.menu-toggle.opened .menu-bar[data-position="bottom"] {
  transform: translateY(0) rotate(-45deg) scaleX(1.05);
}

/* Menu */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100svh;
  clip-path: circle(0% at 50% 50%);
  background-color: var(--color-bg-dark);
  overflow: hidden;
  padding: 1rem;
  z-index: 100;
  pointer-events: none;
}

.menu-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  background-color: rgba(143, 95, 255, 0.1);
  border-radius: 2rem;
  padding: 2rem;
}

.col {
  position: relative;
  height: 100%;
  display: flex;
}

.col-1 {
  flex: 3;
  padding: 2rem;
}

.col-2 {
  flex: 2;
  align-items: flex-end;
  padding: 2rem;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link {
  position: relative;
  pointer-events: auto;
}

.link a {
  text-decoration: none;
  color: inherit;
}

.link a h2 {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 4rem;
  line-height: 1.1;
  pointer-events: auto;
  transition: color 0.3s ease-out;
  margin: 0;
  font-family: var(--font-heading);
}

.link a h2:hover {
  color: var(--color-text-base);
}

.socials {
  width: 50%;
  display: flex;
  gap: 2em;
}

.socials .sub-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2rem;
}

.menu-meta {
  color: var(--color-text-base);
}

.socials .sub-col p {
  position: relative;
  margin-bottom: 0.25rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.menu-meta p:nth-child(1) {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* SplitText mask styles */
.split-line {
  overflow: hidden;
  will-change: transform;
  pointer-events: auto;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .link a h2 {
    font-size: 2.25rem;
    line-height: 1.2;
  }

  .col-2 {
    flex-direction: column;
    align-items: flex-start;
  }

  .socials {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10rem;
  }

  .socials .sub-col {
    flex: 1;
  }

  .menu-commissions {
    display: none;
  }
}

/* -------------------------------------------------------------
   Hero
------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 7rem clamp(1rem, 4vw, 2rem) 2rem;
  background: transparent;
  text-align: left;
  box-sizing: border-box;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-text {
  max-width: min(600px, 90vw);
  width: 50%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 0 clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.hero-text h1,
#heroTitle {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-align: left;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
}

/* Fix para caracteres acentuados - asegurar que strong use fuente del body */
.hero-text p strong,
.hero-text strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: inherit;
}

.hero-text .btn-primary {
  margin-top: 0.25rem;
}

.hero-mockup-wrapper {
  position: relative;
  width: 50%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
}

.hero-image,
#mockup {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  object-fit: contain;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0;
  z-index: 1;
  transform: scale(1.6);
  transform-origin: center;
}

.hero-side-text {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  opacity: 0;
  pointer-events: none;
}

.hero-side-left {
  left: 0;
  text-align: right;
}

.hero-side-right {
  right: 0;
  text-align: left;
}

.hero-side-text p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .hero-side-text {
    display: none;
  }
}

.btn-primary,
.cta-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--color-text-base);
  background: linear-gradient(
    135deg,
    var(--color-brand-accent),
    var(--color-brand)
  );
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover,
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* -------------------------------------------------------------
   Timeline / Futuro
------------------------------------------------------------- */
.futuro-section {
  background: transparent;
}

.futuro-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--color-brand);
  text-shadow: none;
  margin-bottom: 3rem;
}

.timeline {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  background: linear-gradient(
    to bottom,
    var(--color-brand),
    var(--color-brand-secondary)
  );
  transform: translateX(-50%);
  height: 100%;
}

.timeline-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 2.5rem;
  margin-block: 4.5rem;
}

.timeline-item:nth-child(odd) .content {
  order: 1;
}

.timeline-item:nth-child(odd) .image {
  order: 2;
}

.timeline-item:nth-child(even) .content {
  order: 2;
}

.timeline-item:nth-child(even) .image {
  order: 1;
}

.timeline-item .content {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.timeline-item h3 {
  color: var(--color-brand-secondary);
  margin-bottom: 0.5rem;
  /* Usar Quantico como fallback inmediato para caracteres acentuados */
  font-family: "Project Blackbird", "Quantico", sans-serif;
}

.timeline-item p {
  margin: 0;
  font-family: var(--font-body);
}

.timeline-item .image {
  text-align: center;
}

.timeline-item img {
  max-width: 260px;
}

/* -------------------------------------------------------------
   FAQ
------------------------------------------------------------- */
.faq-preview {
  max-width: 1000px;
  margin: 0 auto var(--section-spacing);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

.faq-section {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.faq-item {
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border 0.3s ease;
  border: 1px solid transparent;
}

.faq-item.open {
  border-color: var(--color-brand);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--color-text-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1rem 1.5rem;
  cursor: pointer;
}

.faq-question .feature-icon {
  color: var(--color-brand);
  font-size: 1.3rem;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 220px;
  padding-bottom: 1.25rem;
}

/* -------------------------------------------------------------
   Contact / Forms
------------------------------------------------------------- */
.contact-section {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 2rem;
  margin: 2rem 0;
}

.social-links a {
  color: var(--color-brand);
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  color: var(--color-brand-secondary);
}

.early-form {
  margin: 2.5rem auto 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.early-form label {
  font-weight: 600;
  color: var(--color-text-muted);
}

.early-form input,
.early-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-text-base);
  font-family: var(--font-body);
}

.early-form textarea {
  min-height: 120px;
}

.privacy-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.privacy-label a {
  color: var(--color-brand);
  text-decoration: underline;
}

.contact-card {
  margin: 0 auto;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--color-text-base);
  margin-bottom: 1.5rem;
}

/* -------------------------------------------------------------
   About
------------------------------------------------------------- */

.about-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-text span {
  color: #ffd86b;
  font-weight: 700;
}

.about-text p {
  opacity: 0;
  transform: translateY(20px);
}

.about-text p.glow {
  color: var(--color-text-base);
  text-shadow: none;
}

.about-values {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-values li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-muted);
}

.about-values i {
  color: var(--color-brand);
  font-size: 1.5rem;
}

.about-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
}

.about-cta {
  margin-top: 1.5rem;
}

/* -------------------------------------------------------------
   Legal / Utility Sections
------------------------------------------------------------- */
.legal-section {
  max-width: 900px;
  margin: 120px auto 40px;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.legal-section h1 {
  text-align: center;
  color: var(--color-brand);
}

.legal-section h2 {
  color: var(--color-brand-secondary);
  margin-top: 2rem;
}

.legal-section ul {
  margin: 0 0 1.5rem 1.2rem;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.site-footer {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--color-text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--color-brand);
  margin: 0 0.35rem;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: var(--color-text-base);
}

/* -------------------------------------------------------------
   Responsive
------------------------------------------------------------- */
@media (max-width: 900px) {
  #nav {
    padding: 0.75rem clamp(1rem, 3vw, 1.5rem);
    gap: 0.75rem;
  }

  .logo {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    letter-spacing: 1px;
    flex-shrink: 1;
  }

  .menu-toggle {
    width: clamp(90px, 20vw, 110px);
    height: clamp(34px, 8vw, 38px);
  }

  .menu-toggle-icon {
    width: clamp(30px, 7vw, 34px);
    height: clamp(30px, 7vw, 34px);
  }

  .menu-copy {
    right: clamp(16px, 4vw, 20px);
  }

  .menu-copy p {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
  }

  .hero {
    flex-direction: column;
    padding-top: 10rem;
    padding-bottom: 0;
    padding-left: clamp(1rem, 3vw, 1.5rem);
    padding-right: clamp(1rem, 3vw, 1.5rem);
    gap: 0.25rem;
    text-align: center;
    max-width: 100%;
    justify-content: flex-start;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    padding: 0 1rem;
    align-items: center;
    text-align: center;
    margin-bottom: 0;
  }

  .hero-text .btn-primary {
    margin-bottom: 0;
  }

  .hero-text h1,
  #heroTitle {
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .hero-text p {
    margin-bottom: 0.5rem;
  }

  .hero-mockup-wrapper {
    width: 100%;
    flex-direction: column;
    gap: 0;
    max-width: 100%;
    overflow: hidden;
    margin-top: -1rem;
    padding-top: 2rem;
    margin-bottom: -60vh !important;
    padding-bottom: 0;
    position: relative;
  }

  .hero-image,
  #mockup {
    width: 250%;
    max-width: 300%;
    height: auto;
    min-height: 180vh;
    padding: 0;
    margin: 0;
    transform: none;
    position: relative;
    object-fit: contain;
    object-position: top;
  }

  section.hero {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
  }

  section.futuro-section {
    padding: 0 1rem var(--section-spacing) !important;
    margin-top: -70vh !important;
    position: relative;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 640px) {
  #nav {
    padding: 0.6rem clamp(0.75rem, 3vw, 1rem);
    gap: 0.5rem;
    min-height: 50px;
  }

  .logo {
    font-size: clamp(0.7rem, 3.5vw, 0.9rem);
    letter-spacing: 0.3px;
    max-width: min(120px, 40vw);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex-shrink: 1;
  }

  .logo sup {
    font-size: 0.6em;
  }

  .menu-toggle {
    width: clamp(70px, 18vw, 90px);
    height: clamp(30px, 7.5vw, 36px);
    flex-shrink: 0;
  }

  .menu-toggle-icon {
    width: clamp(26px, 6.5vw, 30px);
    height: clamp(26px, 6.5vw, 30px);
    top: 2px;
    left: 2px;
  }

  .menu-copy {
    right: clamp(12px, 3vw, 16px);
  }

  .menu-copy p {
    font-size: clamp(0.65rem, 2.5vw, 0.75rem);
  }

  .hamburger {
    width: clamp(20px, 5vw, 24px);
    height: clamp(20px, 5vw, 24px);
  }

  .menu-bar {
    width: clamp(10px, 2.5vw, 12px);
    height: 1.2px;
  }

  section {
    padding-inline: 1rem;
  }

  section.hero {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
  }

  section.futuro-section {
    padding: 0 1rem var(--section-spacing) !important;
    margin-top: -6rem !important;
  }

  .hero {
    flex-direction: column;
    padding-top: 9rem;
    padding-bottom: 0 !important;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    gap: 0;
    text-align: center;
    justify-content: flex-start;
    margin-bottom: 0 !important;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
    padding: 0 1rem;
    align-items: center;
    text-align: center;
  }

  .hero-text .btn-primary {
    margin-bottom: 0;
  }

  .hero-text h1,
  #heroTitle {
    font-size: clamp(2rem, 9vw, 2.75rem);
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .hero-text p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
  }

  .hero-text .btn-primary {
    margin-bottom: 0.5rem;
    margin-top: 0.25rem;
  }

  .hero-image,
  #mockup {
    width: 300%;
    max-width: 350%;
    height: auto;
    min-height: 240vh;
    padding: 0;
    margin: 0;
    object-fit: contain;
    object-position: top;
    transform: none;
    transform-origin: center;
    position: relative;
  }

  .hero-mockup-wrapper {
    margin-bottom: -70vh !important;
    padding-bottom: 0;
    overflow: hidden;
    position: relative;
  }

  section.hero {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
  }

  section.futuro-section {
    padding: 0 1rem var(--section-spacing) !important;
    margin-top: -80vh !important;
    position: relative;
  }
}

/* -------------------------------------------------------------
   Footer
------------------------------------------------------------- */
.footer {
  width: 100vw;
  height: 100%;
  min-height: 100svh;
  padding: 4rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.footer-row:nth-child(1) {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
}

.footer-contact,
.footer-nav {
  flex: 1;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.footer-nav-item {
  width: 50%;
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(107, 79, 217, 0.3);
  text-transform: uppercase;
  font-weight: 600;
  transition: opacity 0.3s ease;
  color: var(--color-text-base);
  text-decoration: none;
  font-family: var(--font-body);
}

.footer-nav-item:hover {
  opacity: 0.7;
}

.footer-nav-item:last-child {
  border-bottom: 1px dashed rgba(107, 79, 217, 0.3);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 50%;
}

.footer-title {
  font-size: 4vw;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-text-base);
  font-family: var(--font-heading);
}

.footer-email {
  font-size: 4vw;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--color-text-base);
  font-family: var(--font-body);
}

.footer-email span {
  font-weight: 400;
  color: var(--color-brand);
}

.footer-description {
  max-width: 80%;
  line-height: 1.6;
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

.footer-btn {
  margin-top: 1em;
  width: max-content;
}

.footer-contact p {
  margin-bottom: 0.5em;
}

.footer-header {
  width: 100%;
  padding: 4rem 0 2rem 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  position: relative;
  overflow: visible;
  min-height: 200px;
}

.footer-bg-text {
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 12vw;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  color: var(--color-brand);
  opacity: 0.15;
  white-space: nowrap;
  letter-spacing: -0.02em;
  pointer-events: none;
  z-index: 0;
  font-family: var(--font-heading);
}

.footer-copyright-line {
  width: 100%;
  padding: 0.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px dashed rgba(107, 79, 217, 0.3);
  position: relative;
  z-index: 2;
}

.footer-copyright-line p {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin: 0;
}

.footer-copyright-line p:nth-child(2) {
  text-align: right;
}

.footer-copyright-line p span {
  color: var(--color-text-base);
}

@media (max-width: 1000px) {
  .footer-row:nth-child(1) {
    flex-direction: column;
  }

  .footer-contact {
    max-width: 100%;
  }

  .footer-title,
  .footer-email {
    font-size: 8vw;
  }

  .footer-description {
    max-width: 100%;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-nav-item {
    width: 100%;
  }

  .footer-header {
    padding: 1rem 0;
  }

  .footer-bg-text {
    font-size: 15vw;
  }

  .footer {
    padding: 4rem 1.25rem 1.25rem 1.25rem;
    gap: 2rem;
  }
}

