/* ============================================
   ThinkLocal Setup — Premium Stylesheet v3
   Theme: Dark Navy + White + Orange
   ============================================ */

:root {
  /* === ThinkLocalSetup Brand Palette ===
     Inspired by the TLS founder photo branding:
     "Local roots. Global reach." */
  --navy-900: #0a1530;
  --navy-800: #0f1f3d;
  --navy-700: #16294f;
  --navy-600: #1d3567;
  --navy-500: #2a4480;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.14);
  --white: #ffffff;
  --soft: #f5f7fb;
  --soft-2: #e8edf5;
  --text: #0f1f3d;
  --text-muted: #5a6480;
  --text-light: rgba(255,255,255,0.78);
  --text-dim: rgba(255,255,255,0.55);

  /* Primary accent: TLS Blue (extracted from the founder photo logo) */
  --accent: #1976d2;
  --accent-2: #2189e3;
  --accent-dark: #155fa8;
  --accent-light: rgba(25, 118, 210, 0.12);

  /* Backwards compatibility: legacy --orange-* tokens now point to blue
     so any places that haven't been hand-updated still get the new look. */
  --orange: #1976d2;
  --orange-2: #2189e3;
  --orange-dark: #155fa8;

  /* WhatsApp green stays — universal recognition */
  --green: #25d366;
  --green-dark: #1ebe5d;

  /* Trust accent — kept warm but subtle for star ratings */
  --gold: #f5a623;

  --shadow-sm: 0 4px 14px rgba(10,21,48,0.08);
  --shadow-md: 0 12px 32px rgba(10,21,48,0.12);
  --shadow-lg: 0 24px 60px rgba(10,21,48,0.18);
  --shadow-xl: 0 32px 80px rgba(10,21,48,0.25);
  --radius: 14px;
  --radius-lg: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4,h5 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  margin: 0 0 .4em;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { margin: 0 0 1em; color: var(--text-muted); }

.container { width: 92%; max-width: 1240px; margin: 0 auto; }
.section { padding: 100px 0; }
.section-dark { background: var(--soft); color: var(--text); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--text); }
.section-soft { background: var(--soft); }

/* ============== SCROLL ANIMATIONS ============== */
[data-anim] {
  opacity: 0;
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}
[data-anim="fade"] { transform: translateY(8px); }
[data-anim="fade-up"] { transform: translateY(28px); }
[data-anim].in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
}

/* ============== NAV ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--soft-2);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; }
.logo-mark {
  border-radius: 11px;
  background: var(--accent);
  display: grid; place-items: center; color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800;
  letter-spacing: -0.04em;
}
.logo-text { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.1rem; }
.nav-links { display: flex; gap: 28px; }
.nav-links a {
  color: var(--text); font-weight: 500; font-size: .95rem;
  transition: color .2s; position: relative;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { white-space: nowrap; }
.nav-toggle {
  display: none; background: transparent; border: none; color: var(--text);
  font-size: 1.6rem; cursor: pointer;
}

/* ============== CURRENCY SWITCHER ============== */
.cur-switch { position: relative; }
.cur-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--soft);
  border: 1px solid var(--soft-2);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cur-btn:hover { background: var(--soft-2); border-color: var(--accent); }
.cur-flag { font-weight: 700; }
.cur-code { letter-spacing: 0.04em; }
.cur-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: 12px;
  padding: 6px;
  display: none;
  z-index: 100;
}
.cur-menu.open { display: block; animation: slideUp .18s ease; }
.cur-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px;
  color: var(--text);
  font-size: .9rem; font-weight: 500;
  border-radius: 8px;
  transition: background .15s;
}
.cur-item:hover { background: var(--soft); }
.cur-item.active { background: var(--accent-light); color: var(--accent-dark); font-weight: 700; }
.cur-item small { color: var(--text-muted); font-size: .78rem; font-weight: 400; }

/* ============== PHONE GROUP ============== */
.phone-label { display: flex; flex-direction: column; gap: 6px; }
.phone-group {
  display: flex; gap: 0;
  border: 1px solid var(--soft-2);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s;
}
.phone-group:focus-within { border-color: var(--accent); }
.cc-select {
  flex: 0 0 130px;
  padding: 13px 8px 13px 12px;
  background: var(--soft) !important;
  border: none !important;
  border-right: 1px solid var(--soft-2) !important;
  border-radius: 0 !important;
  color: var(--text);
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12' fill='%235a6480'%3E%3Cpath d='M6 8L2 4h8z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 8px center !important;
  padding-right: 26px !important;
}
.cc-select option { background: #fff; color: var(--text); }
.phone-group input[type="tel"] {
  flex: 1; min-width: 0;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 13px 14px !important;
  color: var(--text);
  font-size: .95rem;
  letter-spacing: 0.02em;
}
.phone-group input[type="tel"]:focus { outline: none; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, background .25s, color .25s, border-color .25s;
  white-space: nowrap; font-family: inherit;
}
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-wa {
  background: var(--green);
  color: #fff;
}
.btn-wa:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn-outline:hover { background: var(--text); color: #fff; }
.section:not(.section-dark) .btn-outline { color: var(--text); border-color: var(--text); }
.section:not(.section-dark) .btn-outline:hover { background: var(--text); color: #fff; }
.section-dark .btn-outline { color: var(--text); border-color: var(--text); }

/* ============== HERO ============== */
.hero {
  position: relative;
  background: var(--soft);
  color: var(--text);
  padding: 100px 0 130px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: 70px; align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-light);
  border: 1px solid rgba(25,118,210,0.25);
  padding: 7px 16px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero-copy h1 { color: var(--text); }
.grad {
  color: var(--accent);
}
.lead { color: var(--text-muted); font-size: 1.12rem; max-width: 600px; }
.lead strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 30px; }
.trust-row { display: flex; gap: 24px; flex-wrap: wrap; }
.trust { color: var(--text-muted); font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.trust svg { color: var(--green); }

/* phone mockup */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-card {
  width: 100%; max-width: 380px;
  background: #fff; color: var(--text);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--soft-2);
  transform: rotate(-2deg);
}
.phone-top { background: var(--soft); padding: 12px 16px; display: flex; gap: 6px; border-bottom: 1px solid var(--soft-2); }
.phone-top .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--soft-2); }
.phone-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.ph-search {
  background: var(--soft-2); padding: 10px 14px; border-radius: 30px;
  font-size: .85rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.ph-result { border: 1px solid var(--soft-2); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.ph-name { font-weight: 700; }
.ph-stars { color: var(--gold); font-size: .85rem; display: flex; align-items: center; gap: 2px; }
.ph-stars span { color: var(--text-muted); margin-left: 4px; font-size: .78rem; }
.ph-meta { font-size: .8rem; color: var(--text-muted); }
.ph-actions { display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.ph-actions span {
  font-size: .78rem; padding: 6px 10px; background: var(--soft-2); border-radius: 8px;
  color: var(--text-muted); display: inline-flex; align-items: center; gap: 4px;
}
.ph-actions .hl { background: var(--green); color: #fff; }
.ph-chat { display: flex; flex-direction: column; gap: 6px; }
.ph-bubble { font-size: .82rem; padding: 8px 12px; border-radius: 12px; max-width: 85%; }
.ph-bubble.bot { background: var(--soft-2); align-self: flex-start; border-bottom-left-radius: 4px; }
.ph-bubble.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }

.float-badge {
  position: absolute; background: #fff; color: var(--text);
  padding: 10px 14px; border-radius: 12px; font-size: .85rem; font-weight: 700;
  border: 1px solid var(--soft-2);
  display: inline-flex; align-items: center; gap: 6px;
}
.fb1 { top: 6%; left: -6%; }
.fb2 { bottom: 8%; right: -2%; }

/* ============== METRICS ============== */
.metrics { background: #fff; color: var(--text); padding: 36px 0; border-top: 1px solid var(--soft-2); border-bottom: 1px solid var(--soft-2); }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.metrics-grid > div { padding: 10px; }
.metrics-grid strong {
  display: block; font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--accent);
}
.metrics-grid span { color: var(--text-muted); font-size: .92rem; }

/* ============== SECTION HEAD ============== */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-head p { color: var(--text-muted); font-size: 1.08rem; }
.section-dark .section-head p { color: var(--text-muted); }

/* ============== GRID & CARDS ============== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--soft-2);
  border-radius: var(--radius-lg); padding: 30px;
  transition: transform .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent); }

/* ============== WHY US CARDS ============== */
.why-grid .why-card {
  background: #fff; border: 1px solid var(--soft-2);
  border-radius: var(--radius-lg); padding: 32px 26px;
  text-align: center;
  transition: transform .3s, border-color .3s;
  position: relative;
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.why-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 16px;
  display: grid; place-items: center;
}
.why-card h3 { color: var(--text); margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* services */
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--accent-light);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(25,118,210,0.15);
}
.svc h3 { color: var(--text); }
.svc p { color: var(--text-muted); }
.svc ul { margin: 14px 0 0; padding-left: 18px; color: var(--text-muted); font-size: .92rem; }
.svc ul li { margin-bottom: 4px; }

/* ============== PROCESS TIMELINE ============== */
.process {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  position: relative;
}
.process::before {
  content: ""; position: absolute;
  top: 88px; left: 12.5%; right: 12.5%; height: 2px;
  background: var(--accent-light);
}
.process-step {
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  position: relative;
  transition: transform .3s, border-color .3s;
}
.process-step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.ps-num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: .8rem; font-weight: 800; letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}
.ps-icon {
  width: 56px; height: 56px;
  margin: 0 auto 14px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
  z-index: 1;
}
.ps-day {
  font-size: .75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--accent-dark); text-transform: uppercase;
  margin-bottom: 6px;
}
.process-step h4 { color: var(--text); margin-bottom: 8px; font-size: 1.1rem; }
.process-step p { color: var(--text-muted); font-size: .88rem; margin: 0; }

/* ============== PORTFOLIO CARDS WITH REAL THUMBNAILS ============== */
.portfolio-grid { gap: 32px; }
.portfolio-card {
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s, border-color .35s;
  display: flex; flex-direction: column;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
}
.portfolio-thumb-real {
  position: relative; display: block; overflow: hidden;
  border-bottom: 1px solid var(--soft-2);
  aspect-ratio: 16 / 10;
}
.portfolio-thumb-real img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.portfolio-card:hover .portfolio-thumb-real img { transform: scale(1.04); }
.thumb-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  pointer-events: none;
}
.ptag {
  align-self: flex-start;
  background: #fff;
  color: var(--text);
  font-size: .72rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--soft-2);
}
.visit-pill {
  align-self: flex-start;
  background: var(--accent);
  color: #fff;
  font-size: .82rem; font-weight: 700;
  padding: 8px 16px; border-radius: 999px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s, transform .3s;
}
.portfolio-card:hover .visit-pill { opacity: 1; transform: translateY(0); }

.portfolio-body { padding: 26px 28px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.portfolio-body h3 { color: var(--text); margin-bottom: 10px; font-size: 1.3rem; }
.portfolio-body p { color: var(--text); font-size: .94rem; line-height: 1.65; flex-grow: 1; margin-bottom: 18px; }
.portfolio-meta {
  display: flex; gap: 14px; align-items: center;
  padding-top: 16px; border-top: 1px solid var(--soft-2);
  flex-wrap: wrap;
  font-size: .82rem; color: var(--text-muted);
}
.portfolio-meta strong { color: var(--text); font-weight: 600; }
.visit-link {
  margin-left: auto;
  background: var(--soft);
  color: var(--accent-dark);
  font-size: .82rem; font-weight: 700;
  padding: 6px 14px; border-radius: 8px;
  border: 1px solid var(--soft-2);
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.visit-link:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ============== PRICING ============== */
.pricing-grid { align-items: stretch; }
.price { display: flex; flex-direction: column; position: relative; }
.price.popular {
  border: 2px solid var(--accent);
  transform: translateY(-8px);
}
.badge-pop {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: #fff; padding: 7px 16px; border-radius: 999px;
  font-size: .75rem; font-weight: 800; letter-spacing: 0.06em;
  white-space: nowrap;
}
.price-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--soft-2); margin-bottom: 22px; }
.price-head h3 { color: var(--text); font-size: 1.1rem; }
.price-amt {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.4rem; font-weight: 800;
  color: var(--accent);
  margin: 8px 0 4px;
}
.price-note { color: var(--text-muted); font-size: .85rem; }
.price-tag { color: var(--text); font-size: .82rem; margin-top: 10px; font-weight: 500; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; flex-grow: 1; }
.price-list li {
  padding: 8px 0 8px 26px; position: relative; color: var(--text); font-size: .92rem;
  border-bottom: 1px dashed var(--soft-2);
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  color: var(--green-dark); font-weight: 700;
}

.custom-tier {
  margin-top: 36px;
  background: var(--accent-light);
  border: 1px solid rgba(25,118,210,0.25);
  border-radius: var(--radius-lg);
  padding: 30px 36px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.custom-tier h4 { color: var(--text); margin: 4px 0 6px; font-size: 1.2rem; }
.custom-tier p { color: var(--text); margin: 0; font-size: .94rem; max-width: 600px; }

.maint {
  margin-top: 18px;
  background: var(--soft);
  border: 1px solid var(--soft-2);
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 28px 36px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
.maint h4 { color: var(--text); }
.maint p { color: var(--text-muted); margin: 0; }
.maint strong { color: var(--accent); }

/* ============== FOUNDER ============== */
.founder {
  display: grid; grid-template-columns: 320px 1fr; gap: 60px;
  align-items: center;
  max-width: 1020px; margin: 0 auto;
}
.founder-photo { display: flex; justify-content: center; position: relative; }
.founder-img {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 8px solid #fff;
  position: relative; z-index: 1;
  object-fit: cover;
}
.founder-initial-avatar {
  display: grid; place-items: center;
  background: var(--accent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 6rem;
}
.founder-photo::after {
  content: ""; position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 2px dashed var(--accent-light);
  z-index: 0;
}
.founder-tag {
  position: absolute;
  bottom: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #fff;
  padding: 8px 18px; border-radius: 999px;
  font-size: .82rem; font-weight: 700;
  z-index: 2;
  white-space: nowrap;
}
.founder-copy h3 { font-size: 1.7rem; color: var(--text); margin-bottom: 4px; }
.founder-role { color: var(--accent-dark); font-weight: 600; margin-bottom: 18px; font-size: .95rem; }
.founder-cta { margin-top: 20px; }

/* ============== BLOG / INSIGHTS ============== */
.blog-card {
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s, border-color .3s;
  display: flex; flex-direction: column;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}
.blog-thumb {
  position: relative; aspect-ratio: 16 / 9;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.blog-thumb::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.blog-thumb.has-image::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.45) 100%);
}
.blog-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-1 { background: linear-gradient(135deg, #4a90d9, #2189e3); }
.blog-2 { background: linear-gradient(135deg, #1ebe5d, #25d366); }
.blog-3 { background: linear-gradient(135deg, #6366f1, #4338ca); }
.blog-cat {
  position: absolute; top: 14px; left: 14px;
  background: #fff;
  color: var(--text);
  font-size: .7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--soft-2);
  z-index: 2;
}
.blog-emoji {
  font-size: 3.4rem;
  position: relative; z-index: 1;
}
.blog-card-link { cursor: pointer; }
.blog-body { padding: 22px 26px 26px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-date {
  font-size: .75rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent-dark);
  margin-bottom: 10px;
}
.blog-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card p { font-size: .9rem; color: var(--text-muted); flex-grow: 1; }
.blog-link {
  font-size: .88rem; font-weight: 700; color: var(--accent-dark);
  margin-top: 14px;
}

/* ============== FAQ ============== */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color .25s;
}
.faq-item:hover { border-color: var(--accent); }
.faq-item summary {
  cursor: pointer; padding: 20px 24px;
  font-weight: 600; color: var(--text); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--accent);
  transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0; padding: 0 24px 22px; color: var(--text-muted); font-size: .94rem; line-height: 1.7; }
.faq-item a { color: var(--accent); }

/* ============== AUDIT FORM ============== */
.audit-form {
  max-width: 840px; margin: 0 auto;
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.audit-form > label {
  display: flex; flex-direction: column; gap: 6px;
  color: var(--text); font-weight: 600; font-size: .9rem;
}
.audit-form input,
.audit-form select,
.audit-form textarea {
  width: 100%;
  padding: 13px 14px;
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: 10px;
  color: var(--text); font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
}
.audit-form input::placeholder, .audit-form textarea::placeholder { color: var(--text-muted); }
.audit-form input:focus, .audit-form select:focus, .audit-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.audit-form select option { background: #fff; color: var(--text); }
.audit-form > label.consent {
  flex-direction: row;
  align-items: flex-start;
  font-weight: 400;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.5;
  gap: 10px;
}
.audit-form > label.consent input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0;
  margin-top: 3px; accent-color: var(--accent);
}
.audit-form > label.consent a { color: var(--accent); text-decoration: underline; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; color: var(--text-muted); font-weight: 400; font-size: .88rem; }
.consent a { color: var(--accent); text-decoration: underline; }
.form-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.form-note { color: var(--text-muted); font-size: .85rem; }
.form-status { margin-top: 16px; min-height: 24px; font-size: .92rem; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #c33; }

/* ============== FINAL CTA ============== */
.final-cta {
  background: var(--accent-light);
  color: var(--text);
  text-align: center;
}
.final-inner h2 { color: var(--text); }
.final-inner p { color: var(--text-muted); }
.final-cta .hero-cta { justify-content: center; }

/* ============== FOOTER ============== */
.footer {
  background: var(--soft);
  color: var(--text);
  padding: 64px 0 22px;
  border-top: 1px solid var(--soft-2);
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer h5 { color: var(--text); margin-bottom: 14px; font-size: .95rem; }
.footer a {
  display: block; color: var(--text-muted); font-size: .9rem;
  padding: 4px 0; transition: color .2s;
}
.footer a:hover { color: var(--accent); }
.footer .muted { color: var(--text-muted); font-size: .9rem; margin-top: 10px; }
.foot-bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--soft-2);
  display: flex; justify-content: space-between;
  font-size: .85rem; color: var(--text-muted);
  flex-wrap: wrap; gap: 10px;
}

/* ============== FLOATING WHATSAPP ============== */
.float-wa {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.float-wa:hover { transform: scale(1.08); background: var(--green-dark); }

/* ============== CHATBOT ============== */
.chat-fab {
  position: fixed; right: 22px; bottom: 90px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  border: none; cursor: pointer;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  transition: transform .2s, background .2s;
}
.chat-fab:hover { transform: scale(1.08); background: var(--accent-dark); }
.chat-fab-pulse {
  position: absolute; inset: -2px;
  border-radius: 50%; border: 2px solid var(--accent);
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.45); opacity: 0; }
}
.chat-window {
  position: fixed; right: 22px; bottom: 90px; z-index: 70;
  width: 360px; max-width: calc(100vw - 30px);
  height: 520px; max-height: calc(100vh - 110px);
  background: #fff; border-radius: 18px;
  border: 1px solid var(--soft-2);
  overflow: hidden;
  display: none; flex-direction: column;
}
.chat-window.open { display: flex; animation: slideUp .25s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.chat-head {
  background: var(--accent);
  color: #fff; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
}
.chat-head strong { display: block; font-size: .98rem; }
.chat-head small { color: rgba(255,255,255,0.85); font-size: .76rem; }
.chat-close {
  background: transparent; border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.chat-body {
  flex: 1; padding: 16px; overflow-y: auto;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--soft);
}
.chat-msg {
  max-width: 86%; padding: 10px 14px; border-radius: 14px;
  font-size: .9rem; line-height: 1.45; word-wrap: break-word;
}
.chat-msg.bot { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; border: 1px solid var(--soft-2); }
.chat-msg.user { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg .wa-link {
  display: inline-block; margin-top: 6px; padding: 6px 12px;
  background: var(--green); color: #fff; border-radius: 8px;
  font-size: .82rem; font-weight: 600;
}
.chat-typing {
  background: #fff; padding: 12px 16px; border-radius: 14px;
  align-self: flex-start; display: flex; gap: 4px;
  border: 1px solid var(--soft-2);
}
.chat-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--text-muted);
  animation: typing 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; } 30% { opacity: 1; } }
.chat-quick {
  display: flex; gap: 6px; padding: 10px; flex-wrap: wrap;
  background: #fff; border-top: 1px solid var(--soft-2);
}
.chat-quick button {
  background: var(--soft); border: 1px solid var(--soft-2);
  padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; cursor: pointer; color: var(--text);
  transition: background .15s; font-family: inherit;
}
.chat-quick button:hover { background: var(--soft-2); }
.chat-input {
  display: flex; gap: 8px; padding: 12px;
  background: #fff; border-top: 1px solid var(--soft-2);
}
.chat-input input {
  flex: 1; padding: 10px 14px;
  border: 1px solid var(--soft-2); border-radius: 999px;
  font-size: .9rem; font-family: inherit; outline: none;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input button {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--accent); color: #fff; cursor: pointer;
  font-size: 1rem;
}

/* ============== ADMIN ============== */
.admin-wrap {
  min-height: 100vh;
  background: var(--soft);
  color: var(--text); padding: 30px;
}
.admin-card {
  max-width: 420px; margin: 80px auto;
  background: #fff; color: var(--text);
  border-radius: var(--radius-lg); padding: 36px;
  border: 1px solid var(--soft-2);
}
.admin-card h2 { color: var(--text); }
.admin-card label { display: block; margin-bottom: 14px; }
.admin-card label span { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 600; }
.admin-card input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--soft-2); border-radius: 10px;
  font-size: .95rem; font-family: inherit;
}
.admin-card input:focus { outline: none; border-color: var(--accent); }
.admin-err { background: rgba(255,90,90,0.08); color: #c33; border: 1px solid rgba(255,90,90,0.3); padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; font-size: .9rem; }

.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 16px; }
.dash-head h1 { color: var(--text); margin: 0; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 26px; }
.dash-stat {
  background: #fff;
  border: 1px solid var(--soft-2);
  border-radius: 14px; padding: 22px;
}
.dash-stat strong { display: block; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 2rem; color: var(--accent); }
.dash-stat span { color: var(--text-muted); font-size: .9rem; }
.dash-tabs { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.dash-tab {
  background: #fff; color: var(--text);
  border: 1px solid var(--soft-2);
  padding: 8px 16px; border-radius: 8px;
  cursor: pointer; font-size: .9rem; font-family: inherit;
}
.dash-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.dash-table {
  background: #fff; color: var(--text);
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--soft-2);
}
.dash-table table { width: 100%; border-collapse: collapse; }
.dash-table th, .dash-table td {
  padding: 12px 14px; text-align: left; font-size: .88rem;
  border-bottom: 1px solid var(--soft-2);
}
.dash-table th { background: var(--soft); font-weight: 700; color: var(--text); }
.dash-table tr:hover { background: var(--soft); }
.dash-empty { padding: 40px; text-align: center; color: var(--text-muted); }
.tbl-wrap { overflow-x: auto; }

/* ============== LEGAL PAGES ============== */
.legal { max-width: 820px; margin: 0 auto; padding: 60px 0; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; color: var(--text); }
.legal .updated { color: var(--text-muted); font-size: .88rem; margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; margin: 30px 0 10px; color: var(--text); }
.legal p, .legal li { color: var(--text); font-size: .95rem; line-height: 1.7; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--accent); text-decoration: underline; }
.legal-back { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; margin-bottom: 24px; }

/* ============== 404 ============== */
.errpage { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.errpage .big {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 18vw, 10rem); font-weight: 800;
  color: var(--accent);
  line-height: 1; margin: 0;
}

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 30px; }
  .process::before { display: none; }
}

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 360px; margin: 0 auto; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price.popular { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .founder-cta { display: flex; justify-content: center; }
  .founder-img { width: 220px; height: 220px; }
  .founder-photo::after { width: 260px; height: 260px; }
  .custom-tier, .maint { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: #fff;
    padding: 20px; flex-direction: column; gap: 18px;
    border-bottom: 1px solid var(--soft-2);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .cur-btn { padding: 6px 10px; font-size: .8rem; }
  .cur-btn .cur-code { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .audit-form { padding: 24px; }
  .chat-window { right: 10px; bottom: 80px; }
  .float-badge { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .portfolio-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .portfolio-meta .visit-link { margin-left: 0; }
  .visit-pill { opacity: 1; transform: translateY(0); }
  .cc-select { flex: 0 0 110px; font-size: .85rem; padding-left: 8px; }
}
