/* ============================================
   VALUMO DIGITAL — Main Stylesheet
   Design: Black/white, premium, bold
   ============================================ */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:        #111111;
  --white:        #f5f5f0;
  --gray:         #888;
  --border:       rgba(245, 245, 240, 0.12);

  --light-bg:     #fafaf8;
  --text-dark:    #1a1a1a;
  --gray-dark:    #666;
  --border-light: rgba(0, 0, 0, 0.1);

  --font-main: 'Syne', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --size-h1: clamp(1.8rem, 3.5vw, 2.8rem);
  --size-h2: clamp(1.4rem, 2.2vw, 1.9rem);
  --size-h3: clamp(1.1rem, 1.6vw, 1.4rem);

  --nav-h: 88px;
  --section-pad: clamp(80px, 12vw, 160px);
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

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

ul {
  list-style: none;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

/* --- NAV --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 120px;
  height: auto;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: transparent;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 120px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px clamp(20px, 8vw, 80px);
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  display: block;
  width: 180px;
  height: auto;
  max-width: none;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-burger.open span:first-child {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-burger.open span:last-child {
  transform: translateY(-7.5px) rotate(-45deg);
}

.nav-mobile-menu {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 24px clamp(24px, 5vw, 80px);
  gap: 24px;
}

.nav-mobile-menu.open {
  display: flex;
}

.mobile-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  padding: 8px 12px;
  margin: 0 -12px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.mobile-link:hover {
  background: rgba(245, 245, 240, 0.12);
  color: #ffffff;
}

/* --- HERO --- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) clamp(24px, 5vw, 80px) 80px;
  position: relative;
  overflow: hidden;
}

.hero-map-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}

.hero-map-bg svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 32px;
}

.hero-headline {
  font-size: var(--size-h1);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--gray);
  margin-bottom: 56px;
  max-width: 500px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid var(--white);
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--white);
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollPulse 3.5s ease-in-out infinite;
}

.scroll-comet {
  display: block;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.15; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.9; transform: translateX(-50%) translateY(36px); }
}

.hero-scroll-hint {
  animation-duration: 3.5s;
}

/* --- SECTIONS --- */
.section {
  padding: var(--section-pad) 0;
}

.section--dark {
  background: #111;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 72px;
}

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

.service-card {
  padding: 48px 40px;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: rgba(245, 245, 240, 0.04);
}

.service-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gray);
  margin-bottom: 32px;
  letter-spacing: 0.1em;
}

.service-name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f5f5f0;
}

.service-desc strong {
  color: var(--white);
  font-weight: 600;
}

/* --- ABOUT --- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-headline {
  font-size: var(--size-h1);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.about-right p {
  color: #f5f5f0;
  margin-bottom: 24px;
  font-size: 1rem;
  line-height: 1.75;
}

.about-right p:last-child {
  margin-bottom: 0;
}

/* --- CONTACT --- */
.contact-intro {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 64px;
  margin-top: -40px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-item {
  display: flex;
  align-items: baseline;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  transition: padding-left 0.25s;
}

.contact-item:last-child {
  border-bottom: 1px solid var(--border);
}

.contact-item:hover {
  padding-left: 16px;
}

.contact-type {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  min-width: 60px;
}

.contact-value {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* --- LIGHT SECTIONS --- */
.section--light {
  background: var(--light-bg);
  color: var(--text-dark);
}

.section--light .section-label {
  color: var(--gray-dark);
}

.section--light .section-title {
  color: var(--text-dark);
}

.section--light .services-grid {
  border: none;
  gap: 24px;
}

.section--light .service-card {
  border: none;
  background: #ffffff;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.section--light .service-card:last-child {
  border-right: none;
}

.section--light .service-card:hover {
  background: #ffffff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.11), 0 2px 6px rgba(0, 0, 0, 0.05);
}

.section--light .service-num {
  color: var(--gray-dark);
}

.section--light .service-name {
  color: var(--text-dark);
}

.section--light .service-desc {
  color: #1a1a1a;
}

.section--light .service-desc strong {
  color: var(--text-dark);
}

.service-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  border: 1.5px solid var(--text-dark);
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s;
}

.service-link:hover {
  background: #111;
  color: #f5f5f0;
}

.section--light .contact-intro {
  color: var(--gray-dark);
}

.section--light .contact-item {
  border-top-color: var(--border-light);
}

.section--light .contact-item:last-child {
  border-bottom-color: var(--border-light);
}

.section--light .contact-type {
  color: var(--gray-dark);
}

.section--light .contact-value {
  color: var(--text-dark);
}

/* --- FOOTER --- */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--black);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 56px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col:first-child {
  align-items: flex-start;
  gap: 20px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo-img {
  width: 180px;
  height: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-col--nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-col--contact {
  align-items: flex-end;
}

.footer-link {
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-link:hover {
  opacity: 0.6;
}

.footer-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--gray);
}

.footer-credit {
  font-size: 0.75rem;
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-credit:hover {
  color: var(--white);
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-col--contact {
    align-items: flex-start;
  }
}

/* Hide mobile-only breaks on desktop */
.hero-br-mobile {
  display: none;
}
@media (max-width: 600px) {
  .hero-br-mobile {
    display: block;
  }
}

/* --- ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

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

  .about-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .hero {
    min-height: 100svh;
  }
}

@media (max-width: 600px) {
  .contact-item {
    flex-direction: column;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .container {
    padding: 0 30px;
  }

  .btn-primary,
  .service-link {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .hero {
    justify-content: flex-start;
    padding-top: calc(var(--nav-h) + 64px);
    padding-bottom: 80px;
    min-height: unset;
  }
}
