/* ===========================
   ROOT VARIABLES
=========================== */
:root {
  --accent: #a8ff3e;
  --accent-dark: #85d926;
  --accent-glow: rgba(168, 255, 62, 0.18);
  --text-light: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dim: rgba(255, 255, 255, 0.3);
  --border: rgba(255, 255, 255, 0.08);
  --header-bg: rgba(10, 10, 10, 0.45);
  --header-border: rgba(255, 255, 255, 0.1);
  --header-blur: blur(18px);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Nunito', sans-serif;
  --font-body: 'Nunito', sans-serif;
  --font: 'Nunito', sans-serif;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-border: rgba(255, 255, 255, 0.12);
  --input-focus: rgba(168, 255, 62, 0.45);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: #0a0a0a;
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
.accent { color: var(--accent); }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  z-index: 1000;
  border-radius: 999px;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  backdrop-filter: var(--header-blur);
  -webkit-backdrop-filter: var(--header-blur);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(10,10,10,0.75);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 24px;
  gap: 16px;
  height: 64px;
}

.header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__logo img {
  height: 67px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav__link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: 999px;
  position: relative;
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  opacity: 0;
  transform: scale(0.88);
  transition: opacity var(--transition), transform var(--transition);
}

.nav__link:hover { color: var(--text-light); }
.nav__link:hover::before { opacity: 1; transform: scale(1); }
.nav__link.active { color: var(--text-light); }
.nav__link.active::before { opacity: 1; transform: scale(1); }

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transition: transform var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.header__btn {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #0a0a0a;
  background: var(--accent);
  padding: 9px 22px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.header__btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.header__btn:hover::before { left: 140%; }
.header__btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(168,255,62,0.35);
}
.header__btn:active { transform: translateY(0px); }

.header__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
}

.header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-light);
  transition: transform var(--transition), opacity var(--transition), width var(--transition);
  transform-origin: center;
}

.header__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav hidden by default — collapsed, NOT displayed:none so transition works */
/* Mobile nav — fully invisible when closed */
.header__mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0;                         /* ← ALL padding zeroed, not just vertical */
  border-top: 1px solid transparent;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;                 /* ← prevents it painting any box at all */
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              visibility 0s linear 0.4s,   /* ← delays hide until after collapse */
              border-color 0.35s ease;
}

.header__mobile-nav.open {
  max-height: 400px;
  opacity: 1;
  visibility: visible;                /* ← instantly visible when opening */
  padding: 12px 20px 20px;
  border-top-color: var(--header-border);
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.35s ease,
              padding 0.35s ease,
              visibility 0s linear 0s,     /* ← no delay when opening */
              border-color 0.35s ease;
}

/* ── 768px breakpoint ── */
@media (max-width: 768px) {
  .header {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 20px;
  }

  .header:not(.menu-open) {
    border-radius: 999px;
  }

  .header__inner {
    height: 52px;
    padding: 0 14px;
  }

  .header__logo img {
    height: 40px; /* ← was 48px, reduced to fit 52px row with padding */
  }

  .header__nav { display: none; }
  .header__btn:not(.mobile-btn) { display: none; }
  .header__hamburger { display: flex; }

  .header.menu-open {
    border-radius: 20px;
  }
}

/* ── 480px breakpoint ── */
@media (max-width: 480px) {
  .header__inner {
    padding: 0 12px;
    height: 48px;
  }

  .header__logo img {
    height: 34px; /* ← was 65px (way too tall for a 48px row!) */
  }
}
/* ===========================
   CONTACT PAGE
=========================== */
.contact-page {
  min-height: 100vh;
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Ambient background blobs */
.contact-page::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168,255,62,0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: blobFloat 10s ease-in-out infinite alternate;
}
.contact-page::after {
  content: '';
  position: absolute;
  bottom: -5%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(168,255,62,0.05) 0%, transparent 65%);
  pointer-events: none;
  animation: blobFloat 13s ease-in-out infinite alternate-reverse;
}
@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.06); }
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Heading ── */
.contact-heading {
  text-align: center;
  margin-bottom: 64px;
}
.contact-heading h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.contact-heading h1 .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.contact-heading h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.4;
}
.contact-heading p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 400;
}

/* ── Two-column grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.65fr;
  gap: 28px;
  align-items: start;
}

/* ── Info cards (left column) ── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
  cursor: default;
}
.info-card:hover {
  border-color: rgba(168,255,62,0.28);
  background: rgba(168,255,62,0.04);
  transform: translateY(-2px);
}
.info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(168,255,62,0.1);
  border: 1px solid rgba(168,255,62,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.info-content h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.info-content p {
  font-size: 0.95rem;
  color: var(--text-light);
  font-weight: 500;
  line-height: 1.5;
}

/* ── Social card ── */
.social-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px 24px;
}
.social-card h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link:hover {
  color: var(--accent);
  border-color: rgba(168,255,62,0.3);
  background: rgba(168,255,62,0.07);
}

/* ── Form card (right column) ── */
.contact-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 40px 40px 36px;
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}

/* ── Form layout ── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}
.form-group:last-of-type { margin-bottom: 0; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.form-group label .req {
  color: var(--accent);
  margin-left: 2px;
}

/* ── Inputs & textarea ── */
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--text-light);
  outline: none;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
  font-weight: 400;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(168,255,62,0.55);
  box-shadow: 0 0 0 3px rgba(168,255,62,0.1);
  background: rgba(168,255,62,0.04);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

/* ── Custom select arrow ── */
.select-wrapper {
  position: relative;
}
.select-wrapper::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid rgba(255,255,255,0.4);
  pointer-events: none;
  transition: border-top-color var(--transition);
}
.select-wrapper:focus-within::after {
  border-top-color: var(--accent);
}
.select-wrapper select {
  cursor: pointer;
  padding-right: 38px;
}
.select-wrapper select option {
  background: #141414;
  color: var(--text-light);
}

/* ── Budget radio pills ── */
.budget-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.budget-pill input[type="radio"] {
  display: none;
}
.budget-pill label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all var(--transition);
  text-transform: none;
  letter-spacing: 0;
}
.budget-pill input[type="radio"]:checked + label {
  color: #0a0a0a;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(168,255,62,0.3);
}
.budget-pill label:hover {
  color: var(--text-light);
  border-color: rgba(168,255,62,0.3);
  background: rgba(168,255,62,0.06);
}

/* ── Custom checkbox ── */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-top: 6px;
}
.form-checkbox input[type="checkbox"] {
  display: none;
}
.checkbox-box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all var(--transition);
}
.form-checkbox input[type="checkbox"]:checked ~ .checkbox-box {
  background: var(--accent);
  border-color: var(--accent);
}
.checkbox-box svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}
.form-checkbox input[type="checkbox"]:checked ~ .checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}
.form-checkbox span {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
}
.form-checkbox span a {
  color: var(--accent);
  font-weight: 600;
}

/* ── Section label & divider ── */
.form-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 16px;
}
.form-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 22px 0;
}

/* ── Submit row ── */
.form-submit {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.submit-btn {
  flex: 1;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  color: #0a0a0a;
  background: var(--accent);
  border: none;
  padding: 15px 32px;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.03em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.submit-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.submit-btn:hover::before { left: 140%; }
.submit-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168,255,62,0.4);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn .btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.submit-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #141414;
  border: 1px solid rgba(168,255,62,0.4);
  border-radius: 16px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  transform: translateY(80px);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.34,1.56,0.64,1), opacity 0.35s ease;
  z-index: 9999;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon {
  width: 32px; height: 32px;
  background: rgba(168,255,62,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.toast-title {
  font-weight: 700;
  margin-bottom: 2px;
}
.toast-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: #070707;
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
  font-family: var(--font);
}

.footer__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px 48px;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
}

.footer__logo img {
  height: 64px; width: auto; object-fit: contain;
  display: block; margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.9rem; color: var(--text-muted);
  line-height: 1.75; font-weight: 500; max-width: 320px;
}

.footer__col-title {
  font-size: 0.85rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 20px;
}

.footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer__link {
  font-size: 0.9rem; color: var(--text-muted); font-weight: 500;
  transition: color var(--transition);
}

.footer__link:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px; text-align: center;
}

.footer__copy {
  font-size: 0.85rem; color: var(--text-dim); font-weight: 500;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .info-card { flex: 1 1 calc(50% - 8px); }
  .social-card { width: 100%; }
}

@media (max-width: 640px) {
  .contact-form-card { padding: 28px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info { flex-direction: column; }
  .info-card { flex: unset; }
  .contact-page { padding: 120px 16px 60px; }
  .form-submit { flex-direction: column; align-items: stretch; }
  .submit-note { justify-content: center; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .header__inner { padding: 10px 12px; }
  .header__logo img { height: 65px; }
}