:root {
  --brand-green: #1db954;
  --deep-forest: #0b1a15;
  --cream: #f9f7f2;
  --page-bg: #f5f0e8;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--page-bg);
  color: var(--deep-forest);
  overflow-x: hidden;
}

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: var(--page-bg);
}

.nav-logo {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 36px;
  font-size: 0.9rem;
  color: rgba(11, 26, 21, 0.6);
}

.nav-links span {
  cursor: pointer;
  transition: color 0.2s;
}

.nav-links span:hover {
  color: var(--deep-forest);
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-outline {
  padding: 9px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--deep-forest);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--deep-forest);
  font-family: inherit;
  transition: background 0.2s;
}

.btn-outline:hover {
  background: rgba(11, 26, 21, 0.06);
}

.btn-solid {
  padding: 9px 22px;
  border-radius: 999px;
  border: none;
  background: var(--brand-green);
  color: white;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-solid:hover {
  background: #17a44a;
}

/* ── Hero wrapper — white page bg, hero inside rounded rect ── */
.hero-wrapper {
  padding: 50px 40px 30px;
}

.hero {
  position: relative;
  width: 100%;
  height: calc(90vh - 90px);
  border-radius: 28px;
  overflow: hidden;
}

/* Slideshow */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.3s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 26, 21, 0.8) 0%,
    rgba(11, 26, 21, 0.5) 45%,
    rgba(11, 26, 21, 0.28) 100%
  );
  pointer-events: none;
}

/* Content row */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 64px;
}

/* Left text */
.hero-text {
  flex: 1;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-eyebrow {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-green);
  margin: 0;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
}

.hero-sub {
  font-size: 1.5rem;
  color: rgba(249, 247, 242, 0.65);
  line-height: 1.65;
  max-width: 400px;
  margin: 0;
}

/* Dots */
.slide-dots {
  display: flex;
  gap: 9px;
  margin-top: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.3s;
}

.dot.active {
  background: var(--brand-green);
  transform: scale(1.35);
}

/* ── Form card ── */
.form-card {
  width: 370px;
  flex-shrink: 0;
  background: rgba(11, 26, 21, 0.68);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--cream);
  margin: 0 0 4px;
}

.input-row {
  display: flex;
  gap: 10px;
}

.form-card input {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: white;
  font-size: 1.5rem;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.form-card input::placeholder {
  color: rgba(255, 255, 255, 0.33);
}

.form-card input:focus {
  border-color: rgba(29, 185, 84, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.form-card button {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: none;
  background: var(--brand-green);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.15s;
  margin-top: 2px;
}

.form-card button:hover {
  background: #17a44a;
  transform: translateY(-1px);
}

.form-msg {
  font-size: 1.5rem;
  color: var(--brand-green);
  text-align: center;
  margin: 0;
  min-height: 16px;
}

.form-note {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
  margin: 0;
}

/* ── Footer ── */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  font-size: 0.78rem;
  color: rgba(11, 26, 21, 0.35);
}

.footer-brand {
  font-weight: 600;
  color: rgba(11, 26, 21, 0.5);
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links span {
  cursor: pointer;
  transition: color 0.2s;
}

.footer-links span:hover {
  color: rgba(11, 26, 21, 0.7);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-wrapper {
    padding: 0 12px 12px;
  }

  .hero {
    height: auto;
    min-height: 100svh;
    border-radius: 20px;
  }

  .hero-content {
    flex-direction: column;
    justify-content: flex-end;
    padding: 100px 24px 36px;
    gap: 24px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .form-card {
    width: 100%;
  }

  .navbar {
    padding: 14px 20px;
  }
  .nav-links {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    padding: 16px 20px;
  }
}
