/* ── ELAN HAUS AGENCY — Global Stylesheet ── */

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

:root {
  --blue: #114fed;
  --yellow: #e4ff4b;
  --black: #080808;
  --dark: #0d0d0d;
  --surface: #111111;
  --surface2: #181818;
  --white: #f5f5f0;
  --muted: #9c9c9c;
  --sans: "Barlow Condensed", sans-serif;
  --body: "DM Sans", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-weight: 400;
  overflow-x: hidden;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--yellow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.15s,
    height 0.15s;
  opacity: 0;
}
.cursor-ring {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s,
    height 0.25s,
    opacity 0.25s,
    border-color 0.25s;
  opacity: 0;
}
.footer-logo {
  max-width: 40%;
}
/* ── NOISE GRAIN ── */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9000;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-logo img {
  height: 48px;
  width: auto;
  filter: invert(1) brightness(2);
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}
.nav-cta {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 10px 24px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.nav-cta:hover {
  background: #f0ff70;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  /* cursor: pointer; */
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--blue);
  z-index: 700;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 0 40px;
  gap: 8px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 10vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  line-height: 1.1;
  transition: color 0.2s;
}
.mobile-menu a:hover {
  color: var(--yellow);
}
.mobile-menu .mobile-cta {
  margin-top: 32px;
  font-size: 0.75rem;
  font-family: var(--body);
  letter-spacing: 0.15em;
  color: var(--black);
  background: var(--yellow);
  padding: 14px 32px;
  text-transform: uppercase;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding: 140px 48px 72px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse 50% 70% at 80% 20%,
    rgba(17, 79, 237, 0.18) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.page-hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.page-hero-title {
  font-family: var(--sans);
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.page-hero-title em {
  font-style: italic;
  color: var(--blue);
  -webkit-text-stroke: 1px var(--blue);
  color: transparent;
}

/* ── SHARED SECTION ── */
section {
  padding: 120px 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 48px;
}
.section-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--blue);
}
.section-title {
  font-family: var(--sans);
  font-size: clamp(2.4rem, 5vw, 5.5rem);
  font-weight: 800;
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.section-title em {
  font-style: italic;
  -webkit-text-stroke: 2px var(--yellow);
  color: transparent;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
  position: relative;
}
.btn-primary:hover {
  background: #1a5fff;
  transform: translateY(-2px);
}
.btn-yellow {
  display: inline-block;
  padding: 14px 40px;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.btn-yellow:hover {
  background: #f0ff70;
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-block;
  padding: 13px 39px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-outline:hover {
  border-color: var(--white);
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--blue);
  padding: 16px 0;
  border-top: none;
  border-bottom: none;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 20s linear infinite;
  width: max-content;
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
.marquee-item {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.marquee-item::after {
  content: "★";
  color: var(--yellow);
  font-size: 0.5rem;
}

/* ── TESTIMONIAL ── */
.testimonial {
  background: var(--blue);
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: -60px;
  right: 48px;
  font-family: var(--sans);
  font-size: 28rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}
.testimonial-text {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 960px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}
.testimonial-attr {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.testimonial-brand {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--yellow);
  padding: 120px 48px;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  border: 80px solid rgba(17, 79, 237, 0.08);
  border-radius: 50%;
  pointer-events: none;
}
.cta-section .section-tag {
  color: var(--blue);
}
.cta-section .section-tag::before {
  background: var(--blue);
}
.cta-section .section-title {
  color: var(--black);
}
.cta-section .section-title em {
  -webkit-text-stroke-color: var(--blue);
}
.cta-sub {
  font-size: 0.85rem;
  line-height: 1.9;
  color: rgba(0, 0, 0, 0.55);
  max-width: 500px;
  margin: 28px 0 48px;
  letter-spacing: 0.02em;
}
.cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 72px 48px 40px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-logo img {
  height: 28px;
  width: auto;
  filter: invert(1) brightness(2);
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 0.75rem;
  line-height: 1.9;
  color: var(--muted);
  max-width: 220px;
}
.footer-col-title {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}
.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-size: 0.65rem;
  color: rgba(102, 102, 96, 0.5);
  letter-spacing: 0.05em;
}
.footer-socials {
  display: flex;
  gap: 24px;
}
.footer-socials a {
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-socials a:hover {
  color: var(--yellow);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ══════════════════════════
   MOBILE RESPONSIVE
══════════════════════════ */
@media (max-width: 768px) {
  nav {
    padding: 16px 24px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

  section {
    padding: 72px 24px;
  }
  .page-hero {
    padding: 110px 24px 56px;
    min-height: 44vh;
  }

  .testimonial {
    padding: 72px 24px;
  }
  .cta-section {
    padding: 72px 24px;
  }

  footer {
    padding: 60px 24px 32px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .footer-socials {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
