/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --nav-height: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── NAV ─── */
#site-nav {
  background: rgba(240, 250, 245, 0);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
#site-nav.scrolled {
  background: rgba(240, 250, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(10, 31, 63, 0.08);
}
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2a9d7a;
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover::after { width: 100%; }

/* ─── MOBILE MENU ─── */
#mobile-menu.open { opacity: 1; pointer-events: all; }
#mobile-menu.closed { opacity: 0; pointer-events: none; }
.mobile-link { transition: transform 0.3s var(--ease-out-expo); }
.mobile-link:hover { transform: translateY(-2px); }
#menu-icon-open.active span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
#menu-icon-open.active span:nth-child(2) { opacity: 0; }
#menu-icon-open.active span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); width: 1.25rem; }
#menu-icon-close:not(.hidden) { opacity: 1; pointer-events: all; }

/* ─── BUTTONS ─── */
.btn-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #2a9d7a;
  color: #ffffff;
  border-radius: 0.5rem;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(42, 157, 122, 0.3);
}
.btn-mint:hover {
  background: #1f7d61;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(42, 157, 122, 0.35);
}
.btn-mint:active { transform: translateY(0); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #0a1f3f;
  border: 1.5px solid rgba(10, 31, 63, 0.25);
  border-radius: 0.5rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-outline:hover {
  background: rgba(10, 31, 63, 0.05);
  border-color: rgba(10, 31, 63, 0.5);
  transform: translateY(-2px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ─── SECTION UTILITIES ─── */
.section { position: relative; }
.section-tag { display: block; }
.section-title { }

/* ─── HERO ─── */
.hero { position: relative; }
.hero-tag {
  display: inline-block;
  padding: 0.4em 1em;
  background: rgba(42, 157, 122, 0.1);
  border: 1px solid rgba(42, 157, 122, 0.2);
  border-radius: 100px;
}
.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero-sub { }
.hero-actions { }
.hero-stats { }

.hero-img-wrap {
  position: relative;
  transition: transform 0.6s var(--ease-out-expo);
}
.hero-img {
  transition: transform 0.8s var(--ease-out-expo);
}
.hero-img-wrap:hover .hero-img {
  transform: scale(1.03);
}
.hero-badge {
  background: #0a1f3f;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(10, 31, 63, 0.3);
  font-size: 0.875rem;
  line-height: 1.4;
}

.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #0a1f3f;
  opacity: 0.4;
  animation: scroll-bounce 2s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ─── SERVICES ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: #ffffff;
  border: 1px solid rgba(10, 31, 63, 0.07);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease, border-color 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(10, 31, 63, 0.1);
  border-color: rgba(42, 157, 122, 0.2);
}
.service-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 0.75rem;
  background: rgba(42, 157, 122, 0.1);
  color: #2a9d7a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s ease, transform 0.3s var(--ease-out-expo);
}
.service-card:hover .service-icon-wrap {
  background: #2a9d7a;
  color: #ffffff;
  transform: scale(1.05);
}
.service-title { }
.service-desc { }
.service-link { }

/* ─── ABOUT ─── */
.about-img-col { }
.about-img-main { }
.about-img-accent { }
.about-img { transition: transform 0.6s var(--ease-out-expo); }
.about-img:hover { transform: scale(1.02); }
.about-feature { }
.about-feature-icon { }

/* ─── PROCESS ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
}
.process-step { position: relative; }
.process-step-num { }
.process-step h3 { }
.process-step p { }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: #f0faf5;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(42, 157, 122, 0.1);
  transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(10, 31, 63, 0.08);
}
.testimonial-stars { display: flex; gap: 0.25rem; }
.testimonial-text { font-style: italic; }
.testimonial-author { }

/* ─── CTA BANNER ─── */
.cta-banner { }
.cta-banner-decor {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.cta-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(42, 157, 122, 0.08);
}
.cta-circle-1 {
  width: 400px; height: 400px;
  top: -150px; right: -100px;
}
.cta-circle-2 {
  width: 250px; height: 250px;
  bottom: -80px; left: -60px;
}
.cta-circle-3 {
  width: 120px; height: 120px;
  top: 40%; right: 20%;
  background: rgba(168, 230, 207, 0.12);
}

/* ─── CONTACT ─── */
.contact-info-item { }
.contact-info-icon { }
.contact-map { border-radius: 0.75rem; overflow: hidden; }

.form-wrap { }
.form-group { }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #0a1f3f;
  margin-bottom: 0.375rem;
  letter-spacing: 0.01em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(10, 31, 63, 0.15);
  border-radius: 0.5rem;
  font-family: inherit;
  font-size: 0.9375rem;
  color: #0a1f3f;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: rgba(10, 31, 63, 0.3); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #2a9d7a;
  box-shadow: 0 0 0 3px rgba(42, 157, 122, 0.12);
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%230a1f3f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-success { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 0.9375rem; }
.form-success.hidden { display: none; }

/* ─── FOOTER ─── */
footer { }

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ─── HERO ANIMATIONS (above-the-fold, always visible) ─── */
.hero-tag { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.1s both; }
.hero-headline { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.2s both; }
.hero-sub { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.3s both; }
.hero-actions { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.4s both; }
.hero-stats { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.5s both; }
.hero-img-wrap { animation: heroSlideIn 1s var(--ease-out-expo) 0.3s both; }
.hero-badge { animation: heroFadeUp 0.8s var(--ease-out-expo) 0.6s both; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSlideIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
  .hero { min-height: auto; padding: 8rem 0 4rem; }
  .hero-img-wrap { aspect-ratio: 4/3; margin-bottom: 1.5rem; }
  .hero-badge { position: relative; bottom: auto; left: auto; margin-top: 1rem; display: inline-block; }
  .scroll-arrow { display: none; }
  .process-step-num { font-size: 4rem !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero { padding-top: 6rem; }
}
