/* ── TOKENS ── */
:root {
  --bg:       #FFFFFF;
  --surface:  #F7F8F5;
  --ink:      #0D0D0D;
  --ink-soft: #3D3D3D;
  --muted:    #6B7280;
  --border:   #E5E7EB;
  --green:    #16A34A;
  --green-lt: #22C55E;
  --green-bg: #F0FDF4;
  --green-dim:#DCFCE7;
  --white:    #FFFFFF;
  --font-d:   'Space Grotesk', sans-serif;
  --font-b:   'Inter', sans-serif;
  --r:        10px;
  --r-lg:     16px;
  --ease:     0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%; height: 64px;
  background: black;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--ease);
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.nav-logo {
  font-family: var(--font-d); font-size: 1.45rem; font-weight: 700;
  color: var(--ink); display: flex; align-items: center; gap: 6px; z-index: 1001;
}
.nav-logo span { color: var(--green); }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink); color: var(--white);
  padding: 10px 22px; border-radius: 50px; border: none; cursor: pointer;
  font-family: var(--font-b); font-size: 0.875rem; font-weight: 600;
  transition: background var(--ease), transform var(--ease);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green); transform: translateY(-1px); }
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 6px; z-index: 1001;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: var(--ease); }
.mobile-menu {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  flex-direction: column; padding: 2rem 5%; gap: 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.5rem; font-weight: 600; color: var(--ink);
  padding: 1.1rem 0; border-bottom: 1px solid var(--border);
  font-family: var(--font-d);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu-cta {
  margin-top: 1.5rem; background: var(--ink); color: var(--white);
  padding: 16px; border-radius: var(--r); border: none; cursor: pointer;
  font-family: var(--font-d); font-size: 1rem; font-weight: 600;
  text-align: center; transition: background var(--ease);
}
.mobile-menu-cta:hover { background: var(--green); }

/* ── HERO ── */
.hero {
  padding: 140px 5% 90px;
  display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center;
  position: relative; min-height: 100vh; overflow: hidden;
}
.hero-ghost {
  position: absolute; right: -2%; bottom: -4%; z-index: 0;
  font-family: var(--font-d); font-size: clamp(160px, 22vw, 280px); font-weight: 700;
  color: #F2F2F0; line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-bg); border: 1px solid var(--green-dim);
  border-radius: 50px; padding: 6px 14px 6px 10px;
  font-size: 0.78rem; font-weight: 600; color: var(--green);
  margin-bottom: 1.75rem; letter-spacing: 0.03em;
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--green-lt); border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero h1 {
  font-family: var(--font-d);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700; line-height: 1.1;
  color: var(--ink); margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--green); }
.hero p {
  font-size: 1.05rem; color: var(--muted); line-height: 1.8;
  max-width: 540px; margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--white);
  padding: 15px 30px; border-radius: 50px; border: none; cursor: pointer;
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 600;
  transition: background var(--ease), transform var(--ease);
  min-height: 50px;
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink);
  padding: 15px 30px; border-radius: 50px;
  border: 1.5px solid var(--border); cursor: pointer;
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 500;
  transition: border-color var(--ease), color var(--ease), transform var(--ease);
  min-height: 50px;
}
.btn-outline:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.hero-cards {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px;
}
.hcard {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 22px; min-width: 200px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  animation: float 7s ease-in-out infinite;
}
.hcard:nth-child(2) { animation-delay: 2.5s; margin-left: 20px; }
.hcard:nth-child(3) { animation-delay: 5s; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.hcard-label { font-size: 0.7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.hcard-value { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; color: var(--ink); line-height: 1; }
.hcard-sub { font-size: 0.75rem; color: var(--green); font-weight: 600; margin-top: 4px; }

/* ── STATS BAR ── */
.stats-bar {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 48px 5%;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-d); font-size: 2.8rem; font-weight: 700;
  color: var(--ink); display: block; line-height: 1; letter-spacing: -0.03em;
}
.stat-num b { color: var(--green); }
.stat-label { font-size: 0.83rem; color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ── SECTION COMMON ── */
section { padding: 100px 5%; }
.label-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--green); margin-bottom: 1rem;
}
.label-tag::before { content:''; display: block; width: 20px; height: 2px; background: var(--green); border-radius: 2px; }
.section-title {
  font-family: var(--font-d);
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 700; color: var(--ink); line-height: 1.15;
  letter-spacing: -0.02em; margin-bottom: 1rem;
}
.section-sub { font-size: 1rem; color: var(--muted); max-width: 560px; line-height: 1.75; }
.section-head { margin-bottom: 3.5rem; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }

/* ── ABOUT ── */
.about { background: var(--surface); }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 3rem 2rem; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,0.04);
}
.about-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: var(--green-bg); border: 3px solid var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; margin: 0 auto 1.25rem;
}
.about-name { font-family: var(--font-d); font-size: 1.3rem; font-weight: 700; color: var(--ink); }
.about-role { color: var(--green); font-size: 0.875rem; margin-top: 4px; font-weight: 600; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-top: 1.5rem; }
.skill-tag {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink-soft); padding: 5px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600;
}
.about-text p { color: var(--muted); line-height: 1.85; margin-bottom: 1.1rem; }
.about-text p:last-of-type { margin-bottom: 1.75rem; }

/* ── SERVICES ── */
.services { background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2.25rem;
  transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}
.svc:hover {
  border-color: var(--green); transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(22,163,74,0.08);
}
.svc-icon {
  width: 48px; height: 48px; border-radius: var(--r);
  background: var(--green-bg); border: 1px solid var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.25rem;
}
.svc h3 { font-family: var(--font-d); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.svc-list li {
  padding: 7px 0; font-size: 0.875rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.svc-list li:last-child { border-bottom: none; }
.svc-list li::before { content: '→'; color: var(--green); font-size: 0.8rem; flex-shrink: 0; font-weight: 700; }

/* ── PORTFOLIO ── */
.portfolio { background: var(--surface); }
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.port-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  cursor: pointer;
}
.port-card:hover {
  transform: translateY(-5px);
  border-color: #D1D5DB;
  box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}
    

.port-card img {
  transition: 0.3s ease;
}

.port-card:hover img {
  opacity: 0.7;
}
    

.port-thumb {
  height: 300px; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.port-thumb-bg { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; }
.port-thumb-icon { font-size: 2.5rem; opacity: 1; position: relative; z-index: 1; }
.port-domain {
  position: absolute; bottom: 10px; left: 10px; z-index: 2;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,0.08); border-radius: 6px;
  padding: 3px 9px; font-size: 0.68rem; color: var(--ink); font-weight: 700;
}
.port-overlay {
  position: absolute; inset: 0; background: rgba(13,13,13,0.75);
  opacity: 0; transition: opacity var(--ease);
  display: flex; align-items: center; justify-content: center;
}
.port-card:hover .port-overlay { opacity: 1; }
.port-view {
  background: var(--white); color: var(--ink);
  padding: 9px 22px; border-radius: 50px;
  font-weight: 700; font-size: 0.8rem;
  transform: translateY(8px); transition: transform var(--ease);
}
.port-card:hover .port-view { transform: translateY(0); }
.port-info { padding: 1.1rem 1.25rem; }
.port-info h4 {
  font-family: var(--font-d); font-weight: 700; color: var(--ink);
  font-size: 0.9rem; margin-bottom: 0.5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.port-meta { display: flex; gap: 5px; flex-wrap: wrap; }
.meta-tag {
  font-size: 0.67rem; font-weight: 700; padding: 3px 8px; border-radius: 4px;
}
.meta-tag.industry { background: var(--green-bg); color: var(--green); }
.meta-tag.platform { background: var(--surface); color: var(--ink-soft); border: 1px solid var(--border); }
.meta-tag.type { background: #FEF9C3; color: #92400E; }

/* ── WHY ── */
.why { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.75rem;
  transition: border-color var(--ease), transform var(--ease);
  position: relative; overflow: hidden;
}
.why-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform var(--ease);
}
.why-card:hover { border-color: var(--green-dim); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon { font-size: 2rem; margin-bottom: 1.1rem; display: block; }
.why-card h4 { font-family: var(--font-d); font-size: 0.95rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.why-card p { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ── PROCESS ── */
.process { background: var(--surface); }
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
  z-index: 0;
}
.pstep { text-align: center; position: relative; z-index: 1; }
.pstep-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 1.25rem;
  transition: border-color var(--ease), background var(--ease);
}
.pstep:hover .pstep-num { border-color: var(--green); background: var(--green-bg); }
.pstep h4 { font-family: var(--font-d); font-size: 0.9rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.pstep p { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* ── TECH ── */
.tech { background: var(--white); padding: 80px 0; overflow: hidden; }
.tech .section-head { padding: 0 5%; }
.tech-wrap { overflow: hidden; position: relative; }
.tech-wrap::before, .tech-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.tech-wrap::before { left: 0; background: linear-gradient(to right, white, transparent); }
.tech-wrap::after { right: 0; background: linear-gradient(to left, white, transparent); }
.tech-track {
  display: flex; gap: 1rem; width: max-content;
  animation: slide 30s linear infinite;
}
@keyframes slide { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.tech-pill {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50px; padding: 10px 18px; white-space: nowrap;
  transition: border-color var(--ease);
}
.tech-pill:hover { border-color: var(--green); }
.tech-pill span { font-size: 1.2rem; }
.tech-pill strong { font-size: 0.85rem; font-weight: 600; color: var(--ink); }

/* ── TESTIMONIALS ── */
.testimonials { background: var(--surface); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testi-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem;
  transition: transform var(--ease), box-shadow var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.06); }
.testi-stars { color: #F59E0B; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 1rem; }
.testi-text { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.75; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--green-bg); border: 2px solid var(--green-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 0.8rem; font-weight: 700; color: var(--green);
  flex-shrink: 0;
}
.testi-name { font-family: var(--font-d); font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.testi-biz { font-size: 0.75rem; color: var(--muted); margin-top: 2px; }

/* ── CONTACT ── */
.contact { background: var(--white); }
.contact-inner {
  max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 3rem;
}
.contact-head { margin-bottom: 2rem; }
.contact-head p { color: var(--muted); font-size: 0.95rem; margin-top: 0.75rem; line-height: 1.7; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.form-full { margin-bottom: 1.25rem; }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 0.75rem; font-weight: 700; color: var(--ink); 
  margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--ink); border-radius: var(--r); padding: 12px 14px;
  font-family: var(--font-b); font-size: 0.9rem;
  transition: border-color var(--ease), box-shadow var(--ease); outline: none;
  -webkit-appearance: none; width: 100%;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--white); color: var(--ink); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px rgba(22,163,74,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #9CA3AF; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--ink); color: var(--white);
  border: none; border-radius: 50px; cursor: pointer;
  font-family: var(--font-d); font-size: 1rem; font-weight: 700;
  transition: background var(--ease), transform var(--ease);
  min-height: 50px; margin-top: 0.5rem;
}
.form-submit:hover { background: var(--green); transform: translateY(-2px); }
.form-note { text-align: center; font-size: 0.78rem; color: var(--muted); margin-top: 1rem; }

/* ── FORM STATES ── */
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }
.form-success {
  display: none; text-align: center; padding: 2.5rem 1rem;
}
.form-success.show { display: block; }
.form-success-icon {
  width: 64px; height: 64px; background: var(--green-bg); border: 2px solid var(--green-dim);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 1.25rem;
}
.form-success h3 { font-family: var(--font-d); font-size: 1.4rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); font-size: 0.95rem; line-height: 1.7; }
.form-success .btn-outline { margin-top: 1.5rem; display: inline-flex; }
.field-error { border-color: #EF4444 !important; }
.field-error-msg { font-size: 0.72rem; color: #EF4444; margin-top: 4px; font-weight: 500; }
.form-alert {
  background: #FEF2F2; border: 1px solid #FCA5A5; border-radius: var(--r);
  padding: 12px 16px; color: #B91C1C; font-size: 0.875rem; font-weight: 500;
  margin-bottom: 1.25rem; display: none;
}
.form-alert.show { display: block; }

/* ── FOOTER ── */
footer {
  background: var(--ink); color: var(--white);
  padding: 3rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
}
.footer-logo { font-family: var(--font-d); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.footer-logo span { color: var(--green-lt); }
.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--ease); }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); }
.footer-contact{
    display:flex;
    flex-direction:column;
    gap:6px;
    text-align:right;
}

@media (max-width:768px){
    footer{
        flex-direction:column;
        align-items:center;
        justify-content:center;
        text-align:center;
    }

    .footer-logo,
    .footer-links,
    .footer-contact{
        width:100%;
        text-align:center;
    }

    .footer-links{
        justify-content:center;
    }

    .footer-contact{
        align-items:center;
    }
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--ink); color: var(--white); padding: 13px 26px; border-radius: 50px;
  font-weight: 600; font-size: 0.875rem; z-index: 9999;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-cards { display: none; }
  .hero-ghost { font-size: clamp(120px, 18vw, 220px); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .port-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .process-steps::before { display: none; }
}
@media (max-width: 900px) {
  section { padding: 80px 5%; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero { padding: 110px 5% 70px; min-height: auto; }
  .hero-ghost { display: none; }
}
@media (max-width: 768px) {
  nav .nav-links, nav .nav-cta { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 5%; }
  .hero { padding: 90px 5% 60px; }
  .services-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); padding: 36px 5%; gap: 1.25rem; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-inner { padding: 2rem 1.5rem; border-radius: 16px; }
  footer { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { justify-content: center; }
  .hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
}
@media (max-width: 480px) {
  section { padding: 50px 4%; }
  .hero { padding: 80px 4% 50px; }
  nav { padding: 0 4%; }
  .stats-bar { padding: 28px 4%; gap: 1rem; }
  .stat-num { font-size: 2rem; }
  .section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); }
  .contact-inner { padding: 1.5rem 1.25rem; }
  .hero h1 { font-size: clamp(1.75rem, 5.5vw, 2.3rem); }
}
/* ── BLOG SECTION (HOME) ── */
.blog { background: var(--surface); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.blog-card:hover { transform: translateY(-5px); border-color: #D1D5DB; box-shadow: 0 16px 48px rgba(0,0,0,0.1); }
.blog-thumb {
  height: 170px; background: linear-gradient(135deg, var(--green-bg), var(--green-dim));
  display: flex; align-items: center; justify-content: center; font-size: 2.2rem;
  position: relative; overflow: hidden;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--ink); color: var(--white);
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 4px 10px; border-radius: 50px;
}
.blog-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.75rem; }
.blog-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.blog-body h3 {
  font-family: var(--font-d); font-size: 1.05rem; font-weight: 700; color: var(--ink);
  line-height: 1.4; margin-bottom: 0.6rem;
}
.blog-body h3 a { transition: color var(--ease); }
.blog-body h3 a:hover { color: var(--green); }
.blog-excerpt { font-size: 0.85rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.1rem; flex: 1; }
.blog-readmore { font-size: 0.82rem; font-weight: 700; color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.blog-empty {
  grid-column: 1/-1; text-align: center; padding: 3rem 1rem; color: var(--muted);
  border: 1.5px dashed var(--border); border-radius: var(--r-lg); font-size: 0.9rem;
}
.blog-viewall { text-align: center; margin-top: 2.5rem; }

/* ── BLOG POST PAGE ── */
.post-page { display: none; background: var(--white); padding: 140px 5% 100px; }
.post-page.active { display: block; }
.post-wrap { max-width: 760px; margin: 0 auto; }
.post-breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.5rem; }
.post-breadcrumb a { color: var(--green); font-weight: 600; }
.post-breadcrumb span { margin: 0 6px; }
.post-cat-tag {
  display: inline-block; background: var(--green-bg); color: var(--green);
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 5px 12px; border-radius: 50px; margin-bottom: 1.25rem;
}
.post-title {
  font-family: var(--font-d); font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700;
  color: var(--ink); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--muted); padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.post-cover { width: 100%; border-radius: var(--r-lg); margin-bottom: 2rem; max-height: 420px; object-fit: cover; }
.post-content { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.9; }
.post-content h2 { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 2.2rem 0 1rem; letter-spacing: -0.01em; }
.post-content h3 { font-family: var(--font-d); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin: 1.8rem 0 0.85rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { margin: 0 0 1.25rem 1.4rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content a { color: var(--green); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.post-content img { border-radius: var(--r); margin: 1.5rem 0; }
.post-content blockquote {
  border-left: 3px solid var(--green); padding: 0.5rem 0 0.5rem 1.25rem;
  color: var(--ink-soft); font-style: italic; margin: 1.5rem 0;
}
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-back { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin-top: 2.5rem; }
.post-back:hover { color: var(--green); }
.post-notfound { text-align: center; padding: 4rem 1rem; }
.post-notfound h2 { font-family: var(--font-d); font-size: 1.6rem; margin-bottom: 0.75rem; }
.post-notfound p { color: var(--muted); margin-bottom: 1.5rem; }

/* ── LEAD CAPTURE FORM (in blog posts) ── */
.lead-form-box {
  background: var(--green-bg); border: 1.5px solid var(--green-dim);
  border-radius: var(--r-lg); padding: 2rem; margin: 2.5rem 0;
}
.lead-form-heading { font-family: var(--font-d); font-size: 1.25rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.lead-form-sub { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1.25rem; line-height: 1.5; }
.lead-form-box form { display: flex; flex-direction: column; gap: 12px; }
.lead-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form-box input, .lead-form-box select, .lead-form-box textarea {
  width: 100%; background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 11px 13px; font-family: var(--font-b); font-size: 0.88rem;
  color: var(--ink); outline: none; transition: border-color var(--ease);
}
.lead-form-box input:focus, .lead-form-box select:focus, .lead-form-box textarea:focus { border-color: var(--green); }
.lead-form-box textarea { resize: vertical; min-height: 70px; }
.lead-form-honeypot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lead-form-submit {
  padding: 13px; background: var(--ink); color: var(--white); border: none;
  border-radius: var(--r); font-family: var(--font-d); font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: background var(--ease);
}
.lead-form-submit:hover { background: var(--green); }
.lead-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.lead-form-status { color: #EF4444; font-size: 0.8rem; margin: 0; }
.lead-form-success { text-align: center; padding: 1rem 0; }
.lead-form-success-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 700;
  margin: 0 auto 1rem;
}
.lead-form-success h3 { font-family: var(--font-d); font-size: 1.15rem; margin-bottom: 0.5rem; }
.lead-form-success p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 600px) {
  .lead-form-row { grid-template-columns: 1fr; }
  .lead-form-box { padding: 1.5rem; }
}

/* ── ADMIN PANEL ── */
.admin-page { display: none; background: var(--surface); min-height: 100vh; padding: 100px 5% 80px; }
.admin-page.active { display: block; }
.admin-wrap { max-width: 1100px; margin: 0 auto; }
.admin-login { max-width: 380px; margin: 8vh auto; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2.5rem; text-align: center; }
.admin-login h2 { font-family: var(--font-d); font-size: 1.3rem; margin-bottom: 0.5rem; }
.admin-login p { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.admin-login input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: var(--r);
  font-family: var(--font-b); font-size: 0.9rem; margin-bottom: 1rem; outline: none;
}
.admin-login input:focus { border-color: var(--green); }
.admin-login button {
  width: 100%; padding: 13px; background: var(--ink); color: var(--white); border: none;
  border-radius: var(--r); font-family: var(--font-d); font-weight: 700; cursor: pointer;
  transition: background var(--ease);
}
.admin-login button:hover { background: var(--green); }
.admin-login .err { color: #EF4444; font-size: 0.8rem; margin-top: 0.75rem; display: none; }
.admin-login .err.show { display: block; }
.admin-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.admin-header h1 { font-family: var(--font-d); font-size: 1.6rem; font-weight: 700; }
.admin-total-views { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.admin-header-actions { display: flex; gap: 10px; }
.admin-btn {
  padding: 10px 18px; border-radius: 50px; border: 1.5px solid var(--border);
  background: var(--white); font-family: var(--font-b); font-size: 0.85rem; font-weight: 600;
  cursor: pointer; transition: var(--ease); color: var(--ink);
}
.admin-btn:hover { border-color: var(--ink); }
.admin-btn.primary { background: var(--ink); color: var(--white); border-color: var(--ink); }
.admin-btn.primary:hover { background: var(--green); border-color: var(--green); }
.admin-btn.danger:hover { border-color: #EF4444; color: #EF4444; }
.admin-tabs { display: flex; gap: 6px; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.admin-tab { padding: 10px 18px; font-size: 0.85rem; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.admin-tab.active { color: var(--ink); border-color: var(--green); }
.admin-tab-badge {
  display: inline-block; background: #EF4444; color: var(--white); font-size: 0.68rem; font-weight: 700;
  padding: 1px 7px; border-radius: 50px; margin-left: 4px; vertical-align: middle;
}
.admin-leads-filters { display: flex; gap: 8px; margin-bottom: 1rem; flex-wrap: wrap; }
.admin-leads-filters .admin-btn { padding: 7px 14px; font-size: 0.78rem; }
.admin-leads-filters .admin-btn.active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.lead-status-select {
  padding: 6px 10px; border-radius: 8px; border: 1.5px solid var(--border);
  font-family: var(--font-b); font-size: 0.78rem; background: var(--white); color: var(--ink); cursor: pointer;
}
.admin-view { display: none; }
.admin-view.active { display: block; }

.admin-table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); padding: 14px 16px; background: var(--surface); border-bottom: 1px solid var(--border);
}
.admin-th-sortable { cursor: pointer; user-select: none; transition: color var(--ease); }
.admin-th-sortable:hover { color: var(--ink); }
.admin-views { font-family: var(--font-d); font-weight: 700; color: var(--ink); }
.admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.85rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table-title { font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.admin-table-slug { font-size: 0.75rem; color: var(--muted); font-family: monospace; }
.admin-status { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; text-transform: uppercase; letter-spacing: 0.03em; }
.admin-status.published { background: var(--green-bg); color: var(--green); }
.admin-status.draft { background: #FEF9C3; color: #92400E; }
.admin-row-actions { display: flex; gap: 8px; }
.admin-row-actions button { background: none; border: none; cursor: pointer; font-size: 0.8rem; font-weight: 600; color: var(--muted); padding: 4px 8px; border-radius: 6px; }
.admin-row-actions button:hover { color: var(--ink); background: var(--surface); }
.admin-row-actions button.del:hover { color: #EF4444; }
.admin-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); font-size: 0.9rem; }

.admin-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; }
.admin-form-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.admin-fieldset { margin-bottom: 1.75rem; }
.admin-fieldset legend {
  font-family: var(--font-d); font-size: 0.9rem; font-weight: 700; color: var(--ink);
  margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid var(--border); width: 100%; display: block;
}
.admin-field { margin-bottom: 1.1rem; }
.admin-field label {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; font-weight: 700; color: var(--ink); text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 6px;
}
.admin-field label .cnt { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); }
.admin-field label .cnt.warn { color: #D97706; }
.admin-field label .cnt.bad { color: #EF4444; }
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%; background: var(--surface); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 11px 13px; font-family: var(--font-b); font-size: 0.88rem;
  color: var(--ink); outline: none; transition: border-color var(--ease);
}
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { border-color: var(--green); background: var(--white); }
.admin-field textarea { resize: vertical; min-height: 90px; font-family: 'Inter', monospace; }
.admin-field textarea.content-area { min-height: 340px; font-family: monospace; font-size: 0.82rem; line-height: 1.6; }
.admin-hint { font-size: 0.75rem; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.admin-help { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }

.seo-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.5rem; position: sticky; top: 90px; }
.seo-panel h4 { font-family: var(--font-d); font-size: 0.85rem; font-weight: 700; margin-bottom: 1rem; }
.seo-score-ring { display: flex; align-items: center; gap: 14px; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.seo-score-num { font-family: var(--font-d); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.seo-score-num.good { color: var(--green); }
.seo-score-num.mid { color: #D97706; }
.seo-score-num.bad { color: #EF4444; }
.seo-score-label { font-size: 0.75rem; color: var(--muted); }
.seo-checks { display: flex; flex-direction: column; gap: 9px; }
.seo-check { display: flex; align-items: flex-start; gap: 8px; font-size: 0.78rem; color: var(--ink-soft); line-height: 1.4; }
.seo-check .ic { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.65rem; font-weight: 700; margin-top: 1px; }
.seo-check.pass .ic { background: var(--green-bg); color: var(--green); }
.seo-check.fail .ic { background: #FEE2E2; color: #EF4444; }
.serp-preview { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.serp-preview h4 { margin-bottom: 0.85rem; }
.serp-box { border: 1px solid var(--border); border-radius: var(--r); padding: 14px; background: var(--surface); }
.serp-url { font-size: 0.75rem; color: #1a0dab; opacity: 0.7; margin-bottom: 3px; }
.serp-title { font-size: 0.95rem; color: #1a0dab; margin-bottom: 3px; font-weight: 400; line-height: 1.3; }
.serp-desc { font-size: 0.78rem; color: #4d5156; line-height: 1.4; }
.admin-form-footer { display: flex; gap: 10px; margin-top: 1.5rem; grid-column: 1/-1; }

@media (max-width: 900px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .seo-panel { position: static; }
  .blog-grid { grid-template-columns: 1fr; }
  .admin-table { font-size: 0.78rem; }
  .admin-table th:nth-child(3), .admin-table td:nth-child(3),
  .admin-table th:nth-child(5), .admin-table td:nth-child(5) { display: none; }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .admin-form { padding: 1.25rem; }
  .post-page { padding: 110px 5% 60px; }
}

/* ── FLOATING ACTION BUTTONS ── */
.fab-stack {
  position: fixed; bottom: 24px; right: 24px; z-index: 9000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.fab {
  display: flex; align-items: center; gap: 12px;
  color: #fff; border-radius: 50px; padding: 15px 15px;
  font-family: var(--font-d); font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform var(--ease), box-shadow var(--ease), padding var(--ease), max-width var(--ease);
  white-space: nowrap; text-decoration: none;
  overflow: hidden; max-width: 58px;
}
.fab svg { flex-shrink: 0; width: 28px; height: 28px; }
.fab span {
  opacity: 0; max-width: 0; transition: opacity 0.25s ease, max-width 0.3s ease;
  pointer-events: none;
}
.fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  max-width: 200px; padding: 15px 22px;
}
.fab:hover span { opacity: 1; max-width: 120px; }
.fab-wa   { background: #25D366; }
.fab-wa:hover { background: #20B95A; }
.fab-call { background: var(--ink); }
.fab-call:hover { background: #333; }
.fab-mail { background: #EA4335; }
.fab-mail:hover { background: #C5372B; }

@media (max-width: 600px) {
  .fab-stack { bottom: 16px; right: 16px; gap: 10px; }
  .fab { padding: 14px 14px; max-width: 56px; }
  .fab svg { width: 26px; height: 26px; }
  .fab:hover { max-width: 180px; padding: 14px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
