/* ─── GEOCOMUNIQ · GLOBAL STYLES ─── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@300;400;500;600&family=Space+Mono:wght@400;700&display=swap');

:root {
  --green: #A0B909;
  --green-deep: #849900;
  --green-light: #C8DC2A;
  --dark: #1A1A1A;
  --dark-mid: #2A2A2A;
  --dark-light: #3D3D3D;
  --white: #F4F4F2;
  --gray: #9A9A9A;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 2px; }

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 70px;
  background: var(--green);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  transition: background 0.3s;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo svg {
  height: 32px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin-left: auto;
  align-items: center;
}
.nav-area-mobile { display: none; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.3rem 0.4rem;
  border-radius: 3px;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--dark);
  font-weight: 700;
}
.nav-area {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  background: transparent;
  padding: 0.45rem 1rem;
  border-radius: 3px;
  border: 1px solid var(--white);
  margin-left: 2rem;
  transition: all 0.2s;
}
.nav-area:hover { background: rgba(255,255,255,0.1); }
.nav-area { white-space: nowrap; }
footer .nav-area { margin-left: 0; display: inline-block; }
@media(max-width:1100px) and (min-width:901px) {
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.75rem; letter-spacing: 0.08em; padding: 0.3rem 0.2rem; }
  .nav-area { font-size: 0.75rem; margin-left: 0.8rem; padding: 0.4rem 0.7rem; }
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 140px 5vw 60px;
  border-bottom: 1px solid rgba(160,185,9,0.1);
}
.page-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
}
.page-sub {
  color: var(--gray);
  font-size: 1rem;
  max-width: 600px;
  margin-top: 1rem;
  line-height: 1.7;
}
.section-body { padding: 60px 5vw 100px; }

/* ─── BUTTONS ─── */
.btn-primary {
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green); }
.btn-dark {
  background: var(--dark);
  color: var(--green);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  border-radius: 3px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-dark:hover { background: var(--dark-light); }

/* ─── CTA BANNER ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 100%);
  padding: 3rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--dark);
  letter-spacing: 0.03em;
  max-width: 500px;
  line-height: 1.1;
}

/* ─── FOOTER ─── */
footer {
  background: var(--dark-mid);
  border-top: 1px solid rgba(160,185,9,0.1);
  padding: 3rem 5vw;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .logo {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}
.footer-brand .logo span { color: var(--green); }
.footer-brand p { font-size: 0.88rem; color: var(--gray); line-height: 1.7; max-width: 260px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li { font-size: 0.88rem; color: var(--gray); transition: color 0.2s; }
.footer-col ul li a { color: var(--gray); text-decoration: none; transition: color 0.2s; }
.footer-col ul li:hover, .footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}
.social-links { display: flex; gap: 1rem; }
.social-link {
  width: 34px; height: 34px;
  background: rgba(100,100,100,0.15);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  font-size: 0.8rem;
  color: var(--gray);
  transition: background 0.2s, color 0.2s;
}
.social-link:hover { background: var(--green); color: var(--dark); }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes pulseRing {
  0% { transform: scale(0.3); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ─── PILLARS ─── */
.pillar {
  background: var(--dark-mid);
  padding: 2rem;
  transition: background 0.2s;
}
.pillar:hover { background: var(--dark-light); }
.pillar-icon { font-size: 1.8rem; margin-bottom: 0.8rem; display: block; }
.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.pillar p { font-size: 0.9rem; color: var(--gray); line-height: 1.6; }
@media(max-width:768px) {
  .index-pillars div[style*="grid-template-columns"] {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media(max-width:480px) {
  .index-pillars div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}

/* ─── NEWSLETTER ─── */
.newsletter {
  border-top: 1px solid rgba(160,185,9,0.1);
  border-bottom: 1px solid rgba(160,185,9,0.1);
  padding: 4rem 5vw;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.newsletter-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.newsletter-sub {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  max-width: 400px;
}
.newsletter-form {
  flex-shrink: 0;
}
.newsletter-input-wrap {
  display: flex;
  gap: 0;
}
.newsletter-input-wrap input {
  background: var(--dark-mid);
  border: 1px solid rgba(100,100,100,0.3);
  border-right: none;
  border-radius: 3px 0 0 3px;
  padding: 0.85rem 1.2rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  width: 260px;
  transition: border-color 0.2s;
}
.newsletter-input-wrap input:focus {
  border-color: var(--green);
}
.newsletter-input-wrap button {
  background: var(--green);
  color: var(--dark);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--green);
  border-radius: 0 3px 3px 0;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-input-wrap button:hover {
  background: var(--green-light);
  border-color: var(--green-light);
}
.newsletter-success {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
}
@media(max-width:768px) {
  .newsletter-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .newsletter-sub { max-width: none; }
  .newsletter-input-wrap input { width: 100%; min-width: 0; }
  .newsletter-form { width: 100%; }
}

/* ─── REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── PAGE PULSE (decorative GPS rings on subpages) ─── */
.page-pulse {
  position: absolute;
  right: 8vw;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  pointer-events: none;
  opacity: 0;
  animation: fadeIn 1s 0.4s forwards;
}
.page-header { position: relative; overflow: hidden; }
.page-pulse .pulse-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(160,185,9,0.2);
  animation: pulseRing 3s ease-out infinite;
}
.page-pulse .pulse-ring:nth-child(2) { animation-delay: 1s; }
.page-pulse .pulse-ring:nth-child(3) { animation-delay: 2s; }
.page-pulse .pulse-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--green);
}
.page-pulse .pulse-cross {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: rgba(160,185,9,0.08);
  font-size: 180px;
  font-family: var(--font-display);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
@media(max-width:900px) {
  .page-pulse {
    width: 120px; height: 120px;
    right: 5vw;
    top: 45%;
    opacity: 0.5;
  }
  .page-pulse .pulse-cross { font-size: 100px; }
  .page-pulse .pulse-dot { width: 8px; height: 8px; }
}

/* ─── HERO VIDEO ─── */
.hero-video {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,26,26,0.92) 0%,
    rgba(26,26,26,0.75) 50%,
    rgba(26,26,26,0.5) 100%
  );
}

/* ─── MOBILE NAV ─── */
@media(max-width:900px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 85%;
    background: var(--dark-mid);
    flex-direction: column;
    padding: 100px 2.5rem 2rem;
    gap: 2rem;
    border-bottom: none;
    display: flex;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 99;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 0.9rem; color: var(--white); }
  .nav-links a:hover, .nav-links a.active { color: var(--green); }
  .hamburger { display: flex; z-index: 101; }
  .nav-area-desktop { display: none; }
  .nav-area-mobile {
    display: list-item;
    list-style: none;
    margin-top: 1rem;
  }
  .nav-area-mobile .nav-area {
    display: inline-block;
    margin-left: 0;
    border-color: var(--white);
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }
}
