/* ==========================================================================
   Evinyan Marketing — navy + green, professional with an edge
   ========================================================================== */

:root {
  --navy: #0d1f4d;
  --navy-deep: #081435;
  --navy-light: #1a2f66;
  --green: #4eb857;
  --green-bright: #6fd14a;
  --green-deep: #1f8a3a;
  --green-soft: #dff5e1;
  --cream: #f5f8f3;
  --white: #ffffff;
  --ink: #0a1330;
  --ink-soft: #47557a;
  --line: rgba(13, 31, 77, 0.12);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(13, 31, 77, 0.35);
  --shadow-sm: 0 8px 20px -10px rgba(13, 31, 77, 0.28);
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Layout ---------- */
.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}
section { padding: 90px 0; }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--navy);
}
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: clamp(20px, 2.1vw, 26px); }

p { margin: 0 0 16px; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
  margin-right: 10px;
  vertical-align: middle;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.logo img { height: 42px; width: auto; }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width .2s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 2px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn-primary {
  background: var(--green);
  border-color: var(--green);
  color: var(--navy);
}
.btn-primary:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--cream);
}
.btn-light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn-light:hover {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 100px 0 120px;
  background:
    radial-gradient(1000px 520px at 80% -20%, rgba(78, 184, 87, 0.18), transparent),
    radial-gradient(800px 420px at 10% 110%, rgba(13, 31, 77, 0.08), transparent),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.hero h1 .accent {
  background: linear-gradient(90deg, var(--green-deep), var(--green-bright));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  max-width: 560px;
  margin: 20px 0 32px;
  color: var(--ink-soft);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--navy);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(320px 200px at 20% 20%, rgba(111, 209, 74, 0.22), transparent),
    radial-gradient(280px 180px at 80% 80%, rgba(78, 184, 87, 0.18), transparent);
}
.hero-visual img {
  position: relative;
  width: 70%;
  height: auto;
}
.hero-meta {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: rgba(245, 248, 243, 0.7);
  text-transform: uppercase;
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--navy);
  color: var(--cream);
  padding: 28px 0;
  overflow: hidden;
}
.trust-track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.trust-track span { display: inline-flex; align-items: center; gap: 64px; color: rgba(245, 248, 243, 0.92); }
.trust-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Section header ---------- */
.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.section-head p { font-size: 18px; }

/* ---------- Service cards ---------- */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--green);
  transition: width .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card:hover::before { width: 100%; }
.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--green-soft);
  color: var(--green-deep);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 22px;
  font-weight: 800;
}
.card h3 { color: var(--navy); margin-bottom: 10px; }
.card p { margin-bottom: 16px; }
.card ul { margin: 0; padding-left: 18px; color: var(--ink-soft); font-size: 15px; }
.card ul li { margin-bottom: 6px; }
.card .link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-deep);
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
}
.card .link:hover { color: var(--navy); }

/* ---------- Stats ---------- */
.stats {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0;
}
.stats h2 { color: var(--cream); }
.stats .grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat {
  text-align: left;
}
.stat .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 60px);
  color: var(--green-bright);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .label {
  font-weight: 600;
  color: rgba(245, 248, 243, 0.82);
  margin-top: 10px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  max-width: 820px;
  text-align: center;
  margin: 0 auto;
}
.testimonial h2 {
  font-size: clamp(24px, 2.8vw, 36px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.testimonial .quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: var(--green);
  margin-bottom: 0;
}
.testimonial cite {
  display: block;
  margin-top: 24px;
  font-style: normal;
  font-weight: 700;
  color: var(--navy);
}
.testimonial cite small {
  display: block;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 4px;
}

/* ---------- CTA ---------- */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
  background-image:
    radial-gradient(500px 300px at 20% 10%, rgba(78, 184, 87, 0.18), transparent),
    radial-gradient(500px 300px at 80% 90%, rgba(111, 209, 74, 0.14), transparent);
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: rgba(245, 248, 243, 0.85); max-width: 620px; margin: 0 auto 28px; font-size: 18px; }
.cta-band .btn { margin: 4px; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: rgba(245, 248, 243, 0.7);
  padding: 48px 0 32px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
footer .logo { color: var(--cream); }
footer p { color: rgba(245, 248, 243, 0.55); margin: 0; font-size: 14px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 14px; color: rgba(245, 248, 243, 0.75); }
.footer-links a:hover { color: var(--green-bright); }

/* ---------- Page header ---------- */
.page-header {
  padding: 80px 0 40px;
  text-align: center;
  background:
    radial-gradient(700px 320px at 50% -20%, rgba(78, 184, 87, 0.12), transparent),
    var(--cream);
}
.page-header h1 { margin-bottom: 16px; }
.page-header p { max-width: 640px; margin: 0 auto; font-size: 18px; }

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.plan.featured {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
  transform: translateY(-10px);
}
.plan.featured:hover { transform: translateY(-14px); }
.plan.featured h3 { color: var(--cream); }
.plan.featured .price { color: var(--green-bright); }
.plan.featured p { color: rgba(245, 248, 243, 0.8); }
.plan.featured ul { color: rgba(245, 248, 243, 0.92); }
.plan.featured ul li { border-bottom-color: rgba(245, 248, 243, 0.14); }
.plan.featured ul li::before { color: var(--green-bright); }
.plan.featured .btn {
  background: var(--green);
  color: var(--navy);
  border-color: var(--green);
}
.plan.featured .btn:hover {
  background: var(--green-bright);
  border-color: var(--green-bright);
}

.plan h3 { font-size: 24px; margin-bottom: 6px; }
.plan .desc { font-size: 15px; margin-bottom: 18px; }
.plan .price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 46px;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 8px 0 6px;
}
.plan .price small { font-size: 16px; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  color: var(--ink);
  font-size: 15px;
}
.plan ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.plan ul li::before {
  content: "✓";
  color: var(--green-deep);
  font-weight: 900;
  flex-shrink: 0;
}
.plan .btn { margin-top: auto; justify-content: center; }

.badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--green);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 36px;
}
.step {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.step .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--green-deep);
  display: block;
  margin-bottom: 6px;
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { font-size: 15px; margin: 0; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 14px;
  transition: border-color .2s ease;
}
.faq details[open] { border-color: var(--green); }
.faq summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  color: var(--green-deep);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 14px 0 0; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  section { padding: 64px 0; }
  .hero { padding: 60px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .nav-links { display: none; }
  .plan.featured, .plan.featured:hover { transform: none; }
  footer .container { flex-direction: column; text-align: center; }
}
