@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --green: #07883d;
  --green-2: #11984b;
  --green-soft: #eaf8ef;
  --primary: #07883d;
  --primary-soft: #eaf8ef;
  --ink: #101927;
  --muted: #556070;
  --line: #e7ece9;
  --shadow: 0 18px 48px rgba(18, 38, 28, .075);
  --max: 1920px;
  --pad: clamp(18px, 3.65vw, 64px);
  --radius-card: 12px;
  --radius-btn: 8px;
  --font-base: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --transition-duration: 180ms;
  --transition-easing: ease;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  height: 72px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.topbar {
  max-width: var(--max);
  height: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  height: 36px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.2vw, 36px);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.main-nav a {
  position: relative;
  padding: 24px 0;
  color: #374151;
  transition: color 0.15s ease;
}

.main-nav a:hover {
  color: var(--green);
}

.main-nav a.is-active {
  color: var(--green);
}

.main-nav a.is-active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--primary);
  color: #fff;
  font-family: var(--font-base);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(21,128,61,.22);
  transition: background var(--transition-duration) var(--transition-easing),
              transform var(--transition-duration) var(--transition-easing),
              box-shadow var(--transition-duration) var(--transition-easing);
  text-decoration: none;
}
.cta:hover {
  background: #146e33;
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(21,128,61,.3);
}
.cta svg { width:18px; height:18px; stroke-width:2; }

.cta.ghost {
  background: #fff;
  color: #111827;
  border: 1.5px solid var(--primary);
  box-shadow: none;
}
.cta.ghost:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.cta.header-cta {
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
}

.page {
  max-width: var(--max);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(34px, 3.8vw, 62px) var(--pad) 38px;
  position: relative;
  overflow: hidden;
}

.page:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 56% 18%, rgba(14, 142, 67, .11), transparent 18%),
    radial-gradient(circle at 5% 82%, rgba(14, 142, 67, .06), transparent 16%);
}

.page>* {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid #c8e6d0;
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 6px 14px;
  width: fit-content;
  margin-bottom: 20px;
}
.eyebrow:after { display:none; }

.title {
  margin: 0 0 18px;
  font-size: clamp(36px, 3.75vw, 60px);
  line-height: 1.12;
  letter-spacing: -.01em;
  color: #111827;
}

.title span,
.green {
  color: var(--primary);
}

.lead {
  max-width: 540px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 32px;
}

.section-head {
  text-align: center;
  margin: 0 auto 58px;
}

.section-head .eyebrow {
  justify-content: center;
}

.section-head .eyebrow:before {
  content: "";
  width: 46px;
  height: 2px;
  background: var(--green);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.07);
  transition: box-shadow var(--transition-duration) var(--transition-easing);
}
.card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid #c8e6d0;
}
.icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

/* ══════════════════════════
   HERO PAGE WRAPPER
══════════════════════════ */
.hero-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden;
  background: #f9fafb;
}

/* ══════════════════════════
   HERO SECTION
══════════════════════════ */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: calc(100vh - 102px);
  padding: 60px 80px 0;
  position: relative;
  background: #f9fafb;
}

/* LEFT COLUMN */
.hero-content {
  padding-right: 40px;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-base);
  font-size: clamp(38px, 3.8vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #111827;
  margin: 0 0 20px;
}

.hero-title-highlight {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--primary);
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
}

.hero-lead {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Social proof */
.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-stack {
  display: flex;
  align-items: center;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
  object-fit: cover;
}
.avatar:first-child { margin-left: 0; }
.avatar-badge {
  width: 38px;
  height: 38px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
}

.proof-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof-text strong {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.proof-text span {
  font-size: 12px;
  color: #6b7280;
}

/* RIGHT COLUMN: visual wrap */
.hero-visual-wrap {
  position: relative;
  height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

/* Person image */
.hero-person {
  position: relative;
  z-index: 2;
  width: auto;
  height: 580px;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,.15));
}

/* ── Floating cards ── */
.float-card {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  padding: 14px 16px;
  z-index: 3;
  animation: floatUp 0.5s ease both;
}
.float-card p { margin: 0; }

/* Website mockup card — top-left of visual */
.float-card--mockup {
  top: 0;
  left: -60px;
  width: 210px;
  animation-delay: .2s;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.mockup-logo {
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
}
.mockup-nav {
  display: flex;
  gap: 6px;
  font-size: 9px;
  color: #9ca3af;
}
.mockup-tagline {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
  margin-bottom: 6px;
}
.mockup-tagline span { color: var(--primary); }
.mockup-sub {
  font-size: 9px;
  color: #6b7280;
  line-height: 1.5;
  margin-bottom: 10px;
}
.mockup-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}
.mockup-btn svg { width:10px; height:10px; }

/* Project Status card — top-right */
.float-card--status {
  top: 20px;
  right: -20px;
  width: 130px;
  text-align: center;
  animation-delay: .3s;
}
.float-card-label {
  font-size: 10px;
  font-weight: 700;
  color: #374151;
  margin-bottom: 8px !important;
}
.float-card-sub {
  font-size: 10px;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 6px !important;
}
.float-card-sub svg { width:12px; height:12px; color: var(--primary); }

.donut-wrap {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.donut { width: 60px; height: 60px; }
.donut-pct {
  position: absolute;
  font-size: 12px;
  font-weight: 800;
  color: var(--primary);
}

/* Growth Overview card — bottom-left */
.float-card--growth {
  bottom: 60px;
  left: -50px;
  width: 170px;
  animation-delay: .35s;
}
.float-stat {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 2px 0 0 !important;
}
.float-stat--green { color: var(--primary); }

.sparkline {
  display: block;
  width: 100%;
  height: 36px;
  margin-top: 8px;
}

/* Revenue Impact card — bottom-right */
.float-card--revenue {
  bottom: 80px;
  right: -30px;
  width: 140px;
  animation-delay: .4s;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 44px;
  margin-top: 10px;
}
.bar {
  flex: 1;
  background: var(--primary);
  border-radius: 4px 4px 0 0;
  opacity: .85;
}
.bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #9ca3af;
  margin-top: 4px;
}

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

/* ══════════════════════════
   FEATURE BAR
══════════════════════════ */
.feature-bar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding: 40px 80px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.mini-feature {
  display: flex;
  gap: 14px;
  align-items: center;
  color: #111827;
  font-size: 14px;
}
.mini-feature:not(:last-child) {
  border-right: 1px solid #e5e7eb;
}
.mini-feature strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}
.mini-feature span {
  color: #6b7280;
  font-size: 12px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px 22px;
}

.service-card {
  min-height: 245px;
  padding: 26px 24px;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 19px;
  line-height: 1.28;
}

.card p {
  color: #263344;
  line-height: 1.55;
  margin: 0;
}

.learn {
  display: inline-flex;
  gap: 14px;
  margin-top: 20px;
  color: var(--green);
  font-weight: 700;
}

.wide-cta {
  margin-top: 16px;
  padding: 18px 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(90deg, #f0faf4, #f9fdfb);
}

.about-grid,
.why-grid,
.contact-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 54px;
  align-items: start;
}

.portrait-panel {
  min-height: 640px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f6ed, #f8fcfa);
  position: relative;
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.bio-overlay,
.quote-card {
  position: absolute;
  left: 54px;
  right: 54px;
  bottom: 50px;
  padding: 30px;
  border-radius: 12px;
  color: #fff;
  background: rgba(0, 80, 35, .86);
}

.stats,
.bring-grid,
.timeline,
.contact-methods,
.hours-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 28px;
  padding: 24px 12px;
  text-align: center;
}

.stats>div {
  border-right: 1px solid var(--line);
  padding: 0 14px;
}

.stats>div:last-child {
  border-right: 0;
}

.stats strong {
  display: block;
  color: var(--green);
  font-size: 32px;
}

.lower-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  margin-top: 34px;
}

.bring-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  padding: 28px;
}

.timeline {
  padding: 30px;
}

.timeline-row {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 34px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-row:last-child {
  border-bottom: 0;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  position: relative;
}

.process-line:before {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  top: -40px;
  height: 2px;
  background: var(--green);
}

.process-card {
  padding: 32px 20px 24px;
  text-align: center;
  min-height: 480px;
}

.step-no {
  width: 38px;
  height: 38px;
  margin: -18px auto 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.check-list {
  padding: 18px 0 0;
  margin: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  text-align: left;
  color: #334155;
}

.check-list li {
  margin: 11px 0;
  font-size: 13px;
}

.check-list li:before {
  content: "+";
  color: var(--green);
  font-weight: 900;
  margin-right: 8px;
}

.process-values {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px;
  background: #f2faf5;
}

.process-values>div {
  display: flex;
  gap: 20px;
  align-items: center;
  border-right: 1px solid #d5e5dc;
}

.process-values>div:last-child {
  border-right: 0;
}

.why-grid {
  grid-template-columns: 1fr 560px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-card {
  padding: 24px 20px;
  min-height: 300px;
  text-align: center;
}

.why-photo {
  min-height: 980px;
}

.quote-card {
  left: 30px;
  right: 30px;
  bottom: 30px;
  font-size: 22px;
  line-height: 1.45;
}

.contact-grid {
  grid-template-columns: 1fr .96fr;
}

.contact-perks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 50px 0 106px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px;
  text-align: center;
}

.contact-methods>div {
  border-right: 1px solid var(--line);
  padding: 0 18px;
}

.contact-methods>div:last-child {
  border-right: 0;
}

.message-card {
  padding: 40px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-weight: 700;
  color: #253044;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #dce3df;
  border-radius: 8px;
  min-height: 54px;
  padding: 14px 18px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 136, 61, 0.12);
}

.field-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.field-icon-wrap input {
  padding-right: 48px;
}

.field-icon-wrap .field-icon {
  position: absolute;
  right: 16px;
  color: #9ca3af;
  pointer-events: none;
  display: grid;
  place-items: center;
}

.field-icon-wrap .field-icon svg {
  width: 18px;
  height: 18px;
}

.field textarea {
  min-height: 136px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.form-status {
  min-height: 24px;
  color: var(--muted);
}

.form-status.is-success {
  color: var(--green);
}

.form-status.is-error {
  color: #b42318;
}

.map-row {
  display: grid;
  grid-template-columns: 1.2fr .88fr;
  gap: 0;
  margin-top: 36px;
  overflow: hidden;
}

.map-row iframe {
  width: 100%;
  min-height: 260px;
  border: 0;
  filter: saturate(.65) hue-rotate(70deg);
}

.hours-card {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 30px;
  padding: 38px;
  border-radius: 0;
  box-shadow: none;
}

.blog-hero {
  display: grid;
  grid-template-columns: 1fr 560px;
  align-items: center;
  gap: 70px;
  padding: 18px 0 58px;
  border-bottom: 1px solid var(--line);
}

.subscribe-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 24px;
  padding: 30px;
}

.subscribe-form {
  grid-column: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
}

.subscribe-form input,
.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
}

.subscribe-form input {
  border: 1px solid #dce3df;
  border-radius: 8px;
  min-height: 52px;
  padding: 0 18px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  margin-top: 30px;
}

.blog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.category-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.category-pill.is-active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.search-box {
  min-width: 350px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #dce3df;
  border-radius: 8px;
  padding: 0 16px;
  min-height: 52px;
  background: #fff;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.post-card {
  overflow: hidden;
}

.post-thumb {
  min-height: 205px;
  background: linear-gradient(rgba(0, 0, 0, .06), rgba(0, 0, 0, .22)), repeating-linear-gradient(90deg, rgba(255, 255, 255, .18) 0 2px, transparent 2px 18px), linear-gradient(135deg, #e7eee9, #07140f);
}

.post-thumb--dashboard {
  background: radial-gradient(circle at 78% 28%, rgba(26, 190, 91, .46), transparent 17%), repeating-linear-gradient(90deg, rgba(17, 152, 75, .28) 0 12px, transparent 12px 30px), linear-gradient(135deg, #062719, #0b5230);
}

.post-thumb--automation {
  background: radial-gradient(circle at 18% 24%, #87a884 0 11%, transparent 12%), linear-gradient(145deg, #252b25, #0a5a32 44%, #111);
}

.post-body {
  padding: 24px;
}

.post-tag {
  display: inline-flex;
  border-radius: 5px;
  background: var(--green);
  color: #fff;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.post-meta {
  display: flex;
  gap: 18px;
  color: #667085;
  font-size: 13px;
  margin: 16px 0;
}

.post-card h2 {
  font-size: 21px;
  line-height: 1.25;
  margin: 0 0 14px;
}

.blog-sidebar {
  display: grid;
  gap: 24px;
  align-content: start;
}

.popular-list {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.popular-post {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  align-items: center;
}

.popular-thumb {
  width: 82px;
  height: 82px;
  border-radius: 6px;
  background: linear-gradient(135deg, #083b23, #0fb052);
}

.popular-post h3 {
  font-size: 15px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.blog-empty {
  padding: 28px;
  color: var(--muted);
}

.blog-sidebar[hidden],
.blog-tools[hidden] {
  display: none;
}

.admin-panel {
  max-width: 1480px;
  margin: 0 auto;
}

/* Login card centered, full-width when dashboard is shown */
.admin-login-wrap {
  max-width: 420px;
  margin: 0 auto;
}

.admin-dashboard {
  width: 100%;
}

/* Legacy grid kept for compat but no longer used by sechele */
.admin-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 24px;
  align-items: start;
}

.admin-form,
.table-panel {
  padding: 24px;
}

.admin-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 18px;
}

.admin-stat {
  padding: 20px;
}

.admin-stat p {
  color: var(--green);
  font-size: 34px;
  font-weight: 800;
  margin: 6px 0 0;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-filter,
.admin-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}

.admin-filter.is-active,
.admin-tab.is-active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.admin-section[hidden] {
  display: none;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: #667085;
  font-size: 12px;
  text-transform: uppercase;
}

.status-pill {
  color: var(--green);
  background: var(--green-soft);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
}

.empty-state {
  color: var(--muted);
  padding: 28px;
  text-align: center;
}

.blog-admin-list {
  display: grid;
  gap: 12px;
}

.blog-admin-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: start;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7fbf8;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 34px var(--pad);
  display: grid;
  grid-template-columns: 1.4fr .7fr .9fr;
  gap: 34px;
}

.footer-inner img {
  width: 190px;
}

.footer-inner p,
.footer-inner li {
  color: var(--muted);
  line-height: 1.6;
}

.footer-links,
.footer-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: #667085;
}

@media (max-width: 1320px) {
  .topbar {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
  }

  .main-nav.is-open {
    position: absolute;
    left: var(--pad);
    right: var(--pad);
    top: 84px;
    display: grid;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav a {
    padding: 14px;
  }

  .hero,
  .about-grid,
  .why-grid,
  .contact-grid,
  .lower-grid,
  .map-row,
  .blog-hero,
  .blog-layout {
    grid-template-columns: 1fr;
  }

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

  .process-line {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-line:before {
    display: none;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-photo {
    min-height: 720px;
  }

  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-tools {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 84px;
  }

  .brand img {
    width: 162px;
  }

  .page {
    min-height: auto;
    padding-top: 34px;
  }

  .hero {
    display: block;
  }

  .hero-visual {
    min-height: 450px;
    margin-top: 28px;
  }

  .person {
    width: 78%;
  }

  .feature-bar,
  .services-grid,
  .process-line,
  .process-values,
  .stats,
  .bring-grid,
  .values-grid,
  .contact-perks,
  .contact-methods,
  .field-grid,
  .hours-card,
  .footer-inner,
  .admin-grid,
  .admin-stat-row,
  .posts-grid,
  .subscribe-form {
    grid-template-columns: 1fr;
  }

  .mini-feature,
  .process-values>div,
  .contact-methods>div,
  .stats>div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }

  .subscribe-card {
    grid-template-columns: 1fr;
  }

  .subscribe-form {
    grid-column: auto;
  }

  .footer-bottom,
  .wide-cta,
  .admin-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .message-card {
    padding: 24px;
  }

  .portrait-panel {
    min-height: 520px;
  }

  .bio-overlay,
  .quote-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 20px;
  }

  .admin-table {
    font-size: 13px;
  }

  .blog-admin-item {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════
   RESPONSIVE: Hero section
════════════════════════════ */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding: 48px 40px 0;
    min-height: auto;
    gap: 40px;
  }
  .hero-content {
    padding-right: 0;
  }
  .hero-visual-wrap {
    height: 420px;
    order: -1;
  }
  .hero-person {
    height: 400px;
  }
  .float-card--mockup { left: 0; top: 0; width: 180px; }
  .float-card--status { right: 0; }
  .float-card--growth { left: 0; bottom: 10px; }
  .float-card--revenue { right: 0; bottom: 10px; }
  .feature-bar {
    grid-template-columns: repeat(3, 1fr);
    padding: 32px 40px;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 32px 20px 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-visual-wrap {
    height: 320px;
  }
  .hero-person {
    height: 300px;
  }
  .float-card { display: none; }
  .float-card--status { display: flex; }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .cta {
    width: 100%;
    justify-content: center;
  }
  .feature-bar {
    grid-template-columns: 1fr 1fr;
    padding: 24px 20px;
    gap: 16px;
  }
  .mini-feature:not(:last-child) {
    border-right: none;
  }
}

/* ════════════════════════════
   SOCIAL LINKS
════════════════════════════ */
.social-links {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #c8e6d0;
  background: var(--primary-soft);
  color: var(--primary);
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(7, 136, 61, 0.08);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(7, 136, 61, 0.25);
}

.social-links svg { width: 20px; height: 20px; stroke-width: 2; }

/* ════════════════════════════
   PORTFOLIO PAGE
════════════════════════════ */
.portfolio-hero {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 50px;
  align-items: center;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 30px;
}
.portfolio-stats-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.portfolio-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.portfolio-stat:nth-child(2n) { border-right: none; }
.portfolio-stat:nth-child(3), .portfolio-stat:nth-child(4) { border-bottom: none; }
.portfolio-stat-num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.portfolio-stat-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.portfolio-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.portfolio-search-row { display: flex; align-items: center; gap: 12px; }
.portfolio-sort-select {
  height: 52px;
  padding: 0 16px;
  border: 1px solid #dce3df;
  border-radius: 8px;
  background: #fff;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-base);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 36px;
}
.portfolio-card { overflow: hidden; display: flex; flex-direction: column; }
.portfolio-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}
.portfolio-card-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.portfolio-card:hover .portfolio-card-img { transform: scale(1.04); }
.portfolio-card-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.15);
  transition: background 0.25s ease;
}
.portfolio-card:hover .portfolio-card-overlay { background: rgba(0,0,0,.3); }
.portfolio-play-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  border: none; cursor: pointer;
  display: grid; place-items: center;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: transform 0.2s ease;
}
.portfolio-play-btn:hover { transform: scale(1.1); }
.portfolio-play-btn svg { width: 22px; height: 22px; }
.portfolio-duration {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,.72); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 4px 8px; border-radius: 5px;
}
.portfolio-img-badge {
  position: absolute; top: 10px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(255,255,255,.85);
  border-radius: 7px; display: grid; place-items: center;
  color: var(--muted);
}
.portfolio-img-badge svg { width: 16px; height: 16px; }
.portfolio-card-body { padding: 22px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.portfolio-cat-tag {
  display: inline-flex; padding: 5px 12px; border-radius: 5px;
  font-size: 12px; font-weight: 700; margin-bottom: 12px; width: fit-content;
}
.cat-web   { background: #e8f5ff; color: #0070c0; }
.cat-mobile { background: #fff3e0; color: #e65100; }
.cat-ai    { background: #f3e5f5; color: #7b1fa2; }
.cat-dash  { background: #e8f5e9; color: var(--primary); }
.cat-ecom  { background: #fce4ec; color: #c62828; }
.cat-api   { background: #e0f2f1; color: #00695c; }
.portfolio-card-title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; color: var(--ink); }
.portfolio-card-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 16px; flex: 1; }
.portfolio-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.portfolio-tag {
  background: #f4f6f5; border: 1px solid var(--line);
  border-radius: 5px; padding: 4px 10px;
  font-size: 12px; font-weight: 600; color: var(--muted);
}
.portfolio-card-link { font-size: 14px; margin-top: auto; text-decoration: none; }
.portfolio-cta { margin-top: 0; }
.portfolio-cta-icon { background: var(--primary); color: #fff; border-color: var(--primary); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ════════════════════════════
   BLOG POST READER
════════════════════════════ */
.blog-post-loading { text-align: center; padding: 80px 20px; color: var(--muted); }
.loading-spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.blog-post-error { text-align: center; padding: 80px 20px; }
.blog-post-article { max-width: 860px; margin: 0 auto; }
.blog-post-back { margin-bottom: 28px; }
.blog-post-header { margin-bottom: 32px; }
.blog-post-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 800; line-height: 1.15;
  margin: 16px 0 20px; color: var(--ink);
}
.blog-post-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  color: var(--muted); font-size: 14px; align-items: center;
}
.blog-post-meta svg { width: 16px; height: 16px; vertical-align: middle; margin-right: 4px; }
.blog-post-cover { margin-bottom: 36px; border-radius: 14px; overflow: hidden; }
.blog-post-cover-img { width: 100%; max-height: 480px; object-fit: cover; display: block; }
.blog-post-video-wrap { margin-bottom: 36px; border-radius: 14px; overflow: hidden; }
.video-responsive {
  position: relative; padding-top: 56.25%;
  border-radius: 14px; overflow: hidden; background: #000;
}
.video-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.blog-video-player { width: 100%; max-height: 480px; border-radius: 14px; background: #000; display: block; }
.blog-post-body { font-size: 17px; line-height: 1.85; color: #2d3748; margin-bottom: 48px; }
.blog-post-body h2 {
  font-size: 26px; font-weight: 700; color: var(--ink);
  margin: 40px 0 16px;
  border-bottom: 2px solid var(--line); padding-bottom: 10px;
}
.blog-post-body h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 28px 0 12px; }
.blog-post-body p { margin: 0 0 22px; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 22px; padding-left: 28px; }
.blog-post-body li { margin: 10px 0; }
.blog-post-body blockquote {
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  padding: 18px 24px; margin: 28px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic; color: #374151;
}
.blog-post-body code {
  background: #f3f4f6; border: 1px solid var(--line);
  border-radius: 5px; padding: 2px 8px;
  font-size: 14px; font-family: 'Fira Code', monospace;
}
.blog-post-body pre {
  background: #1e293b; color: #e2e8f0;
  border-radius: 12px; padding: 24px;
  overflow-x: auto; margin: 24px 0;
}
.blog-post-body pre code { background: none; border: none; color: inherit; padding: 0; }
.blog-content-img {
  max-width: 100%; border-radius: 12px; margin: 24px auto; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.blog-post-cta { margin-bottom: 56px; }
.blog-post-more { border-top: 1px solid var(--line); padding-top: 48px; }
.blog-post-more-title { font-size: 24px; font-weight: 700; margin: 0 0 28px; }
.post-thumb-img {
  min-height: 205px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.post-thumb-link { display: block; position: relative; overflow: hidden; }
.post-video-badge {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.88);
  display: grid; place-items: center;
  color: var(--primary); pointer-events: none;
}
.post-video-badge svg { width: 22px; height: 22px; }
.popular-thumb-link { display: block; }

/* ════════════════════════════
   RESPONSIVE: Portfolio & Blog Post
════════════════════════════ */
@media (max-width: 1200px) {
  .portfolio-hero { grid-template-columns: 1fr; }
  .portfolio-stats-box { grid-template-columns: repeat(4, 1fr); }
  .portfolio-stat:nth-child(n) { border-right: 1px solid var(--line); border-bottom: none; }
  .portfolio-stat:last-child { border-right: none; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .portfolio-toolbar { flex-direction: column; align-items: flex-start; }
  .portfolio-search-row { width: 100%; }
}
@media (max-width: 760px) {
  .portfolio-stats-box { grid-template-columns: 1fr 1fr; }
  .portfolio-stat:nth-child(n) { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .portfolio-stat:nth-child(2n) { border-right: none; }
  .portfolio-stat:nth-child(3), .portfolio-stat:nth-child(4) { border-bottom: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-post-meta { flex-direction: column; gap: 8px; }
  .admin-login-wrap { max-width: 100%; }
}
