/* ============================================
   ANNAPURNA IT SOLUTIONS
   style.css — annaitsystems.com
   Palette: off-white + forest green
   Feel: warm, premium, approachable
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  /* Palette */
  --cream:      #f7f4ef;
  --cream-dark: #ede9e2;
  --cream-mid:  #f2ede6;
  --green:      #3a6b4a;
  --green-dark: #2d5239;
  --green-light:#4a7c59;
  --green-pale: #e8f0eb;
  --green-mist: #f0f5f1;
  --text:       #1c2b21;
  --text-mid:   #4a5c50;
  --text-light: #7a8c80;
  --text-pale:  #a0b0a5;
  --white:      #ffffff;
  --border:     rgba(58,107,74,0.12);
  --border-dark:rgba(58,107,74,0.2);
  --shadow-sm:  0 2px 12px rgba(28,43,33,0.07);
  --shadow-md:  0 8px 32px rgba(28,43,33,0.1);
  --shadow-lg:  0 20px 60px rgba(28,43,33,0.12);

  /* Type */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Outfit', sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ──────────────────────────────
   CURSOR — elegant ring only
────────────────────────────── */
#cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--green);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  opacity: 0.6;
  transition: width 0.3s var(--ease),
              height 0.3s var(--ease),
              opacity 0.3s var(--ease),
              background 0.3s var(--ease);
}

#cursor-ring.grow {
  width: 52px; height: 52px;
  opacity: 0.35;
  background: rgba(58,107,74,0.06);
}

/* ──────────────────────────────
   TYPOGRAPHY
────────────────────────────── */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

h1 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: 1.5rem; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--text); }

em { font-style: italic; color: var(--green); }

p { color: var(--text-mid); }

/* ──────────────────────────────
   LAYOUT
────────────────────────────── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 5%;
}

section { padding: 7rem 0; }

/* ──────────────────────────────
   HEADER / NAV
────────────────────────────── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 0 5%;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
              padding 0.3s var(--ease);
}

#header.scrolled {
  background: rgba(247,244,239,0.96);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  flex-shrink: 0;
}

.logo-leaf {
  width: 34px; height: 34px;
  background: var(--green);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.logo-leaf svg { width: 20px; height: 20px; }

.logo-name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

/* Nav links */
.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}

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

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

/* Nav CTA */
.nav-btn {
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--white);
  background: var(--green);
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  flex-shrink: 0;
}

.nav-btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

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

.hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ──────────────────────────────
   HERO
────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9rem 5% 5rem;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

/* Subtle texture overlay */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 70% 60% at 85% 40%, rgba(58,107,74,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(58,107,74,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Grain texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-pale);
  border: 1px solid var(--border-dark);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green);
  margin-bottom: 1.8rem;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(74,222,128,0.6);
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* Hero h1 */
.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.08rem;
  color: var(--text-mid);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.8rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(58,107,74,0.25);
}

.cta-primary svg { width: 16px; height: 16px; transition: transform 0.2s; }
.cta-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(58,107,74,0.35);
}
.cta-primary:hover svg { transform: translateX(3px); }

.cta-ghost {
  font-size: 0.9rem;
  color: var(--text-mid);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 2px;
}
.cta-ghost:hover { color: var(--text); }

/* Trust row */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.trust-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  margin-bottom: 3px;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--text-pale);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-sep {
  width: 1px; height: 36px;
  background: var(--border-dark);
}

/* Hero right */
.hero-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.hero-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-2 {
  margin-left: 2rem;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.9rem;
}

.card-avatar {
  width: 40px; height: 40px;
  background: var(--green-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green);
  flex-shrink: 0;
}

.card-avatar.green {
  background: var(--green);
  color: var(--white);
}

.card-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.card-stars {
  font-size: 0.75rem;
  color: #f59e0b;
  letter-spacing: 1px;
}

.card-quote {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.8rem;
  font-style: italic;
}

.card-tag {
  display: inline-block;
  background: var(--green-mist);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
}

/* Uptime badge */
.uptime-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.uptime-ring {
  position: relative;
  width: 56px; height: 56px;
  flex-shrink: 0;
}

.uptime-ring svg {
  width: 56px; height: 56px;
}

.uptime-ring circle:last-child {
  transition: stroke-dashoffset 2s ease;
}

.uptime-pct {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.uptime-label {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.hero-scroll span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-pale);
}

/* ──────────────────────────────
   SECTION SHARED STYLES
────────────────────────────── */
.section-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  background: var(--green-pale);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}

.section-intro {
  max-width: 600px;
  margin-bottom: 4rem;
}

.section-intro h2 { margin-bottom: 1rem; }

.section-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
}

/* ──────────────────────────────
   SERVICES
────────────────────────────── */
.services {
  background: var(--cream-mid);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-light), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-dark);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: var(--green);
  border-color: var(--green);
}

.service-card.featured::before { background: rgba(255,255,255,0.3); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p  { color: rgba(255,255,255,0.75); }
.service-card.featured .svc-number { color: rgba(255,255,255,0.25); }
.service-card.featured .svc-icon-wrap { color: var(--white); background: rgba(255,255,255,0.12); }
.service-card.featured .svc-features li { color: rgba(255,255,255,0.8); }
.service-card.featured .svc-features li::before { color: rgba(255,255,255,0.5); }
.service-card.featured .svc-link { color: rgba(255,255,255,0.9); }

.featured-pill {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.svc-number {
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 1rem;
  font-weight: 300;
}

.svc-icon-wrap {
  width: 48px; height: 48px;
  background: var(--green-pale);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-bottom: 1.4rem;
}

.svc-icon-wrap svg { width: 26px; height: 26px; }

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.svc-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.svc-features li {
  font-size: 0.85rem;
  color: var(--text-light);
  padding-left: 1.1rem;
  position: relative;
}

.svc-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
  font-size: 0.75rem;
}

.svc-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.svc-link:hover { gap: 8px; }

/* ──────────────────────────────
   WHY US
────────────────────────────── */
.why-us {
  background: var(--cream);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 7rem;
  align-items: center;
}

.why-left h2 { margin-bottom: 1.2rem; }

.why-desc {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  font-weight: 300;
}

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

.reason {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--border);
}

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

.reason-icon {
  width: 36px; height: 36px;
  min-width: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  margin-top: 2px;
}

.reason-icon svg { width: 24px; height: 24px; }

.reason h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.reason p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  font-weight: 300;
}

/* ──────────────────────────────
   PROCESS
────────────────────────────── */
.process {
  background: var(--green);
  padding: 7rem 0;
}

.process .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.process h2 {
  color: var(--white);
  margin-bottom: 0;
}

.process .section-desc { color: rgba(255,255,255,0.65); }

.process .section-intro { margin-bottom: 4rem; }

.steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.step-content h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  font-weight: 300;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-top: 26px;
  position: relative;
}

.step-connector::after {
  content: '';
  position: absolute;
  right: -5px; top: -4px;
  width: 8px; height: 8px;
  border-top: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3);
  transform: rotate(45deg);
}

/* ──────────────────────────────
   CONTACT
────────────────────────────── */
.contact {
  background: var(--cream-mid);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-left h2 { margin-bottom: 1rem; }

.contact-desc {
  font-size: 0.98rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.ci-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ci-icon {
  width: 42px; height: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.ci-icon svg { width: 20px; height: 20px; }

.ci-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-pale);
  font-weight: 500;
  margin-bottom: 2px;
}

.ci-val {
  display: block;
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 400;
}

/* Form card */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-light), var(--green-dark));
}

.form-title {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.form-sub {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  font-weight: 300;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1.2rem;
}

label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
}

.opt-label {
  color: var(--text-pale);
  font-weight: 400;
}

input, textarea, select {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  -webkit-appearance: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(58,107,74,0.08);
}

input::placeholder, textarea::placeholder { color: var(--text-pale); }

select option { background: var(--white); }

textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 100px;
  cursor: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(58,107,74,0.25);
  margin-top: 0.5rem;
}

.btn-submit svg { width: 16px; height: 16px; }

.btn-submit:hover:not(:disabled) {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,107,74,0.35);
}

.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hidden { display: none !important; }

.form-note {
  font-size: 0.72rem;
  color: var(--text-pale);
  text-align: center;
  margin-top: 1rem;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon {
  width: 64px; height: 64px;
  color: var(--green);
  margin: 0 auto 1.5rem;
}

.success-icon svg { width: 64px; height: 64px; }

.form-success h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-success p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.btn-reset {
  background: none;
  border: 1.5px solid var(--border-dark);
  color: var(--text-mid);
  font-family: var(--sans);
  font-size: 0.85rem;
  padding: 0.6rem 1.4rem;
  border-radius: 100px;
  cursor: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-reset:hover { border-color: var(--green); color: var(--green); }

/* Error state */
.form-error {
  background: #fff5f5;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #b91c1c;
}

/* ──────────────────────────────
   FOOTER
────────────────────────────── */
.footer {
  background: var(--text);
  padding: 5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-leaf { background: var(--green); }

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  font-weight: 300;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-col h5 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
}

.footer-links-col a,
.footer-links-col span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 300;
}

.footer-links-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: var(--white); }

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}

/* ──────────────────────────────
   SCROLL REVEAL
────────────────────────────── */
.reveal, .fade-up {
  opacity: 0;
  transform: translateY(28px);
}

.fade-up {
  animation: fadeUpAnim 0.7s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeUpAnim {
  to { opacity: 1; transform: translateY(0); }
}

.reveal.visible {
  animation: fadeUpAnim 0.7s var(--ease) forwards;
}

/* ──────────────────────────────
   RESPONSIVE
────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-right { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .why-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .steps { flex-direction: column; gap: 2rem; }
  .step-connector { display: none; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-btn { display: none; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(247,244,239,0.98);
    backdrop-filter: blur(16px);
    padding: 2rem 5%;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-menu.open .nav-link { font-size: 1.1rem; }
}

@media (max-width: 640px) {
  section { padding: 5rem 0; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.9rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-trust { flex-wrap: wrap; gap: 1rem; }
  .trust-sep { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 400px) {
  body { cursor: auto; }
  #cursor-ring { display: none; }
}
