/* ===========================
   CSS VARIABLES & RESET
=========================== */
:root {
  --c-bg:        #080f09;
  --c-bg-2:      #0d1a0e;
  --c-bg-3:      #122014;
  --c-surface:   #162b18;
  --c-border:    #1e3d21;
  --c-border-2:  #2a5430;
  --c-green-mid: #2f7d3a;
  --c-green:     #3ea84a;
  --c-green-lt:  #5cc268;
  --c-accent:    #a8e6ae;
  --c-text:      #dff0e0;
  --c-text-muted:#7aab80;
  --c-text-dim:  #4d7a52;
  --c-gold:      #c9a84c;

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-body:    'Outfit', sans-serif;

  --radius:    4px;
  --radius-lg: 12px;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ===========================
   UTILITIES
=========================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

.section {
  padding: 110px 0;
}

.section-label {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.12;
  color: var(--c-text);
  margin-bottom: 32px;
}

.section-title em {
  font-style: italic;
  color: var(--c-green-lt);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--c-green);
  color: var(--c-bg);
  border-color: var(--c-green);
}
.btn--primary:hover {
  background: var(--c-green-lt);
  border-color: var(--c-green-lt);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(62, 168, 74, 0.3);
}

.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-2);
}
.btn--ghost:hover {
  border-color: var(--c-green);
  color: var(--c-green-lt);
  transform: translateY(-2px);
}

.btn--full { width: 100%; justify-content: center; }

/* ===========================
   HEADER
=========================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(8, 15, 9, 0.96);
  backdrop-filter: blur(16px);
  border-color: var(--c-border);
  padding: 12px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LOGO */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  flex-shrink: 0;
}

.logo__plain {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.04em;
}

.logo__gren {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-green);
  letter-spacing: 0.04em;
}

.logo__sub {
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-left: 8px;
  align-self: center;
}

.logo--sm .logo__plain,
.logo--sm .logo__gren { font-size: 18px; }
.logo--sm .logo__sub { font-size: 8px; }

/* NAV */
.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--c-text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav__link:hover { color: var(--c-text); }
.nav__link:hover::after { transform: scaleX(1); }

.nav__link--cta {
  color: var(--c-bg);
  background: var(--c-green);
  padding: 9px 22px;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
.nav__link--cta::after { display: none; }
.nav__link--cta:hover {
  background: var(--c-green-lt);
  color: var(--c-bg);
}

/* BURGER */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

/* Grid background */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--c-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--c-border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.hero__orb--1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(47, 125, 58, 0.35) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}
.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(20, 60, 25, 0.5) 0%, transparent 70%);
  bottom: -100px;
  left: -150px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-green);
  border: 1px solid var(--c-border-2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s both;
}

.hero__badge::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  background: var(--c-green);
  border-radius: 50%;
}

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--c-text);
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.15s both;
}

.hero__title em {
  font-style: italic;
  color: var(--c-green-lt);
}

.hero__desc {
  font-size: 17px;
  color: var(--c-text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
  animation: fadeUp 0.8s 0.3s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.8s 0.45s both;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.hero__scroll-line {
  width: 50px;
  height: 1px;
  background: var(--c-border-2);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-green);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   ABOUT
=========================== */
.about {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}

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

.about__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about__text p {
  color: var(--c-text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

.about__pillars {
  list-style: none;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}

.about__pillars li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text);
  letter-spacing: 0.03em;
}

.pillar-icon {
  color: var(--c-green);
  font-size: 10px;
}

.about__visual {
  position: relative;
  padding-top: 32px;
}

.about__card {
  background: var(--c-surface);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
  z-index: 2;
}

.about__card::before {
  content: '❝';
  font-family: var(--f-display);
  font-size: 80px;
  color: var(--c-green);
  opacity: 0.2;
  position: absolute;
  top: 12px;
  left: 28px;
  line-height: 1;
}

.about__card-quote {
  font-family: var(--f-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--c-text);
  margin-bottom: 20px;
}

.about__card-sig {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-green);
}

.about__geo {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid var(--c-border-2);
  border-radius: 50%;
  bottom: -40px;
  right: -20px;
  z-index: 1;
  opacity: 0.4;
}

.about__geo::after {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid var(--c-green-mid);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}

/* ===========================
   SERVICES
=========================== */
.services {
  background: var(--c-bg);
}

.services .section-title {
  margin-bottom: 60px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--c-bg-2);
  padding: 44px 36px;
  position: relative;
  transition: background var(--transition);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, background var(--transition);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  background: var(--c-surface);
}

.service-card__number {
  font-family: var(--f-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--c-text-dim);
  margin-bottom: 20px;
}

.service-card__icon {
  font-size: 24px;
  color: var(--c-green);
  margin-bottom: 18px;
  display: block;
  transition: transform var(--transition);
}

.service-card:hover .service-card__icon {
  transform: scale(1.2) rotate(45deg);
}

.service-card__title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 14px;
}

.service-card__desc {
  font-size: 14.5px;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ===========================
   FAQ
=========================== */
.faq {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
}

.faq__inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.faq__header {
  position: sticky;
  top: 100px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
}

.faq__item:last-child {
  border-bottom: none;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 28px;
  background: var(--c-bg-3);
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.5;
  transition: background var(--transition), color var(--transition);
}

.faq__question:hover {
  background: var(--c-surface);
  color: var(--c-green-lt);
}

.faq__question[aria-expanded="true"] {
  background: var(--c-surface);
  color: var(--c-green-lt);
}

.faq__icon {
  font-size: 22px;
  color: var(--c-green);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq__question[aria-expanded="true"] .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__answer p {
  padding: 20px 28px 28px;
  font-size: 15px;
  color: var(--c-text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--c-border);
}

/* ===========================
   CONTACT
=========================== */
.contact {
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__desc {
  color: var(--c-text-muted);
  font-size: 16px;
  max-width: 420px;
  margin-bottom: 48px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact__item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.contact__item-value {
  font-size: 15.5px;
  color: var(--c-text);
  transition: color var(--transition);
}

a.contact__item-value:hover {
  color: var(--c-green-lt);
}

/* FORM */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--c-bg-3);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 13px 16px;
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  resize: vertical;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--c-text-dim); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-green-mid);
  box-shadow: 0 0 0 3px rgba(47, 125, 58, 0.15);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234d7a52' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group select option {
  background: var(--c-bg-2);
  color: var(--c-text);
}

.form-success {
  display: none;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-green-lt);
  padding: 14px;
  background: rgba(62, 168, 74, 0.1);
  border: 1px solid var(--c-border-2);
  border-radius: var(--radius);
}

.form-success.show { display: block; }

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-border);
  padding: 32px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 13px;
  color: var(--c-text-dim);
}

/* ===========================
   REVEAL ANIMATION
=========================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 960px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__content { grid-template-columns: 1fr; gap: 48px; }
  .faq__inner { grid-template-columns: 1fr; gap: 40px; }
  .faq__header { position: static; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .services__grid { grid-template-columns: 1fr; }
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: rgba(8, 15, 9, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 36px 36px;
    gap: 8px;
    transition: right var(--transition);
    border-left: 1px solid var(--c-border);
  }
  .nav.open { right: 0; }
  .nav__link {
    font-size: 18px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--c-border);
  }
  .nav__link--cta {
    margin-top: 16px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .burger { display: flex; z-index: 200; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
  .about__pillars { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .contact__form { padding: 28px 20px; }
  .hero__title { font-size: 3rem; }
  .hero__badge { font-size: 10px; }
}
