/* ===================== NY Marketing Groups — Styles ===================== */
:root {
  --ink: #1c2230;
  --ink-soft: #3a4254;
  --slate: #4a5568;
  --green: #34a853;
  --green-dark: #2a8a44;
  --green-light: #e8f7ec;
  --gold: #c9a227;
  --paper: #ffffff;
  --mist: #f5f7f6;
  --line: #e6e8eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(28, 34, 48, 0.08);
  --shadow-lg: 0 20px 50px rgba(28, 34, 48, 0.14);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.section-head p { color: var(--slate); font-size: 1.05rem; }
.section.alt { background: var(--mist); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px rgba(52, 168, 83, .35); }
.btn-primary:hover { background: var(--green-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-dark { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; justify-content: center; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; }
.brand img { height: 42px; width: auto; }
.brand span { color: var(--ink); }
.brand small { display: block; font-size: .62rem; font-weight: 600; letter-spacing: .14em; color: var(--slate); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: color .15s ease; }
.nav-links a:hover { color: var(--green-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1c2230 0%, #232c3d 55%, #1a3a29 100%);
  color: #fff;
  padding: 120px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(52,168,83,.28), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(52,168,83,.18), transparent 40%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,168,83,.16);
  border: 1px solid rgba(52,168,83,.4);
  color: #a8f0bb;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: #7be495; }
.hero p.lead { font-size: 1.15rem; color: #cfd6e0; max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.7rem; color: #fff; }
.hero-stats div span { font-size: .82rem; color: #a7afbe; }

.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-card h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.hero-card ul li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #dfe4ea;
  font-size: .95rem;
}
.hero-card ul li:last-child { border-bottom: none; }
.hero-card .tick {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--green);
  color: #0d1a12;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800;
}

/* Logo strip */
.logo-strip { padding: 40px 0; border-bottom: 1px solid var(--line); }
.logo-strip p { text-align: center; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--slate); margin-bottom: 22px; }
.logo-strip .row { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; opacity: .6; font-weight: 700; color: var(--ink-soft); font-size: 1.1rem; letter-spacing: .02em; }

/* ===================== Services ===================== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--green-light);
  color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--slate); font-size: .95rem; margin-bottom: 0; }

/* ===================== Process ===================== */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding: 28px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.process-step .num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.process-step h4 { font-size: 1.02rem; }
.process-step p { color: var(--slate); font-size: .92rem; margin: 0; }

/* ===================== Stats band ===================== */
.stats-band {
  background: var(--ink);
  color: #fff;
  padding: 60px 0;
}
.stats-band .grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band strong { display: block; font-size: 2.2rem; color: #7be495; }
.stats-band span { color: #b9c2d0; font-size: .9rem; }

/* ===================== Testimonials ===================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.testi-stars { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p { color: var(--ink-soft); font-style: italic; }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-light); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center; font-weight: 800;
}
.testi-person strong { display: block; font-size: .92rem; }
.testi-person span { font-size: .8rem; color: var(--slate); }

/* ===================== CTA band ===================== */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { font-size: 1.9rem; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0; }

/* ===================== Footer ===================== */
.site-footer { background: #14181f; color: #b9c2d0; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 18px; }
.footer-grid li { padding: 6px 0; font-size: .92rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { font-size: .9rem; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #7a8395;
}

/* ===================== Register page ===================== */
.reg-hero {
  background: linear-gradient(160deg, #1c2230, #1a3a29);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}
.reg-hero h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.reg-hero p { color: #cfd6e0; max-width: 560px; margin: 0 auto; }
.reg-wrap { padding: 70px 0 110px; }
.reg-layout { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.reg-info {
  background: var(--mist);
  border-radius: var(--radius);
  padding: 32px;
  position: sticky;
  top: 100px;
}
.reg-info h3 { font-size: 1.15rem; }
.reg-info ul { margin-top: 18px; }
.reg-info li { display: flex; gap: 12px; padding: 10px 0; font-size: .92rem; color: var(--ink-soft); }
.reg-info li::before { content: "✓"; color: var(--green-dark); font-weight: 900; }
.reg-info .contact-line { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; }
.reg-info .contact-line strong { display: block; color: var(--ink); font-size: 1rem; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(52,168,83,.14);
}
.field textarea { resize: vertical; min-height: 100px; }
.field .hint { font-size: .78rem; color: var(--slate); margin-top: 6px; }
.form-msg { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-size: .9rem; display: none; }
.form-msg.success { display: block; background: var(--green-light); color: var(--green-dark); border: 1px solid rgba(52,168,83,.3); }
.form-msg.error { display: block; background: #fdeceb; color: #b3261e; border: 1px solid #f4c7c3; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--slate); margin-bottom: 22px; }
.checkbox-row input { margin-top: 3px; }

/* ===================== Blog ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-cover {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), var(--green-dark));
}
.blog-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  width: fit-content;
}
.blog-meta { font-size: .8rem; color: var(--slate); margin-top: auto; padding-top: 14px; }
.blog-body h3 { font-size: 1.08rem; }
.blog-body p { color: var(--slate); font-size: .92rem; }
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--mist);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 60px;
}
.blog-featured .blog-cover { height: 220px; border-radius: 16px; }
.blog-empty, .blog-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--slate);
  background: var(--mist);
  border-radius: var(--radius);
}

/* ===================== Single post ===================== */
.post-wrap { padding: 70px 0 110px; }
.post-header { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.post-header .blog-tag { margin: 0 auto 16px; }
.post-header h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.post-header .post-meta { color: var(--slate); font-size: .92rem; }
.post-cover {
  max-width: 860px;
  margin: 0 auto 40px;
  height: 260px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ink), var(--green-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
}
.post-content { max-width: 720px; margin: 0 auto; font-size: 1.05rem; color: var(--ink-soft); }
.post-content p { margin-bottom: 1.2em; }
.post-back { display: block; max-width: 720px; margin: 0 auto 30px; font-weight: 700; color: var(--green-dark); }

/* ===================== Admin ===================== */
.admin-wrap { padding: 70px 0 110px; min-height: 60vh; }
.admin-login { max-width: 420px; margin: 0 auto; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 1.6rem; margin: 0; }
.admin-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; align-items: start; }
.admin-list { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; max-height: 640px; overflow-y: auto; }
.admin-post-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
}
.admin-post-row:hover { background: var(--mist); }
.admin-post-row.active { background: var(--green-light); border-color: rgba(52,168,83,.3); }
.admin-post-row .title { font-weight: 700; font-size: .92rem; }
.admin-post-row .sub { font-size: .78rem; color: var(--slate); }
.status-pill { font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 9px; border-radius: 999px; }
.status-pill.published { background: var(--green-light); color: var(--green-dark); }
.status-pill.draft { background: #f1f1ef; color: var(--slate); }
.admin-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.admin-actions .btn { padding: 10px 18px; font-size: .85rem; }
.btn-danger { background: #fdeceb; color: #b3261e; }
.btn-danger:hover { background: #f7d6d3; }
.confirm-row { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--slate); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .services-grid, .process-grid, .testi-grid, .stats-band .grid4, .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reg-layout { grid-template-columns: 1fr; }
  .reg-info { position: static; }
  .blog-featured { grid-template-columns: 1fr; }
  .admin-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline-dark { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; padding: 20px 24px; gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .services-grid, .process-grid, .testi-grid, .stats-band .grid4, .footer-grid, .form-row, .blog-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .admin-topbar { flex-direction: column; align-items: flex-start; }
}
