/* ── Design System ───────────────────────────────────── */
:root {
  --red: #C62828;
  --red-hover: #A91F1F;
  --ink: #17202A;
  --muted: #5E6B78;
  --bg: #FFFFFF;
  --bg-soft: #F7F8FA;
  --border: #E7EBEF;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 4px rgba(23,32,42,.07), 0 4px 16px rgba(23,32,42,.05);
  --transition: all .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

/* ── Typography ── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
p { color: var(--muted); }
p + p { margin-top: .9rem; }
strong { color: var(--ink); font-weight: 600; }

/* ── Layout ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-sub { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 12px; }

/* ── Eyebrow ── */
.eyebrow { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); margin-bottom: 10px; display: block; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 8px; font-weight: 600; font-size: .95rem; cursor: pointer; transition: var(--transition); border: none; white-space: nowrap; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(198,40,40,.25); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-wa { background: #25D366; color: #fff; }
.btn-wa:hover { background: #1dba5a; }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.cta-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Badge ── */
.badge { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: .75rem; font-weight: 700; border: 1.5px solid currentColor; }
.badge-red { color: var(--red); border-color: rgba(198,40,40,.25); background: rgba(198,40,40,.06); }

/* ── Card ── */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.card-hover { transition: var(--transition); }
.card-hover:hover { border-color: rgba(198,40,40,.3); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ── Header ── */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 24px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 36px; height: 36px; background: var(--red); border-radius: 8px; display: grid; place-items: center; }
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.logo-text { font-size: 1.1rem; font-weight: 800; color: var(--ink); line-height: 1.2; }
.logo-sub { font-size: .72rem; color: var(--muted); font-weight: 400; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { padding: 8px 14px; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); transition: var(--transition); }
.site-nav a:hover, .site-nav a.active { color: var(--ink); background: var(--bg-soft); }
.nav-cta { background: var(--red) !important; color: #fff !important; padding: 8px 16px; border-radius: 8px; }
.nav-cta:hover { background: var(--red-hover) !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }

/* ── Hero ── */
.hero { background: var(--bg); padding: 80px 0 72px; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-label { display: inline-flex; align-items: center; gap: 8px; background: rgba(198,40,40,.07); border: 1px solid rgba(198,40,40,.2); border-radius: 99px; padding: 5px 14px; font-size: .82rem; font-weight: 600; color: var(--red); margin-bottom: 20px; }
.hero h1 { margin-bottom: 20px; }
.hero-lead { font-size: 1.1rem; max-width: 520px; margin-bottom: 32px; }
.hero-img { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--border); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.hero-img-placeholder { text-align: center; color: var(--muted); padding: 40px; font-size: .85rem; }

/* ── Proof bar ── */
.proof-bar { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; }
.proof-items { display: flex; align-items: center; gap: 0; flex-wrap: wrap; }
.proof-item { display: flex; align-items: center; gap: 10px; padding: 8px 28px; border-right: 1px solid var(--border); flex: 1; min-width: 160px; }
.proof-item:last-child { border-right: none; }
.proof-icon { width: 36px; height: 36px; background: rgba(198,40,40,.1); border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.proof-icon svg { width: 18px; height: 18px; color: var(--red); }
.proof-label { font-size: .78rem; color: var(--muted); line-height: 1.3; }
.proof-value { font-size: .92rem; font-weight: 700; color: var(--ink); }

/* ── Service grid ── */
.service-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 20px; text-align: center; transition: var(--transition); }
.service-card:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(198,40,40,.1); transform: translateY(-2px); }
.service-icon { width: 48px; height: 48px; background: rgba(198,40,40,.08); border-radius: 12px; display: grid; place-items: center; margin: 0 auto 14px; }
.service-icon svg { width: 24px; height: 24px; color: var(--red); }
.service-card h3 { font-size: .95rem; margin-bottom: 6px; color: var(--ink); }
.service-card p { font-size: .82rem; color: var(--muted); }
.service-card-link { display: inline-flex; align-items: center; gap: 4px; font-size: .82rem; font-weight: 600; color: var(--red); margin-top: 10px; }

/* ── For whom ── */
.for-whom-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.for-whom-card { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.for-whom-icon { font-size: 1.5rem; flex-shrink: 0; }
.for-whom-card h3 { font-size: .95rem; margin-bottom: 4px; color: var(--ink); }
.for-whom-card p { font-size: .82rem; color: var(--muted); }

/* ── Process ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step { text-align: center; position: relative; }
.process-step::after { content: ''; position: absolute; top: 22px; left: calc(50% + 28px); right: calc(-50% + 28px); height: 1px; background: var(--border); }
.process-step:last-child::after { display: none; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; font-size: 1rem; display: grid; place-items: center; margin: 0 auto 14px; }
.process-step h3 { font-size: .9rem; margin-bottom: 6px; }
.process-step p { font-size: .8rem; }

/* ── Why Godel ── */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.why-item { display: flex; gap: 16px; }
.why-icon { width: 44px; height: 44px; background: rgba(198,40,40,.08); border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.why-icon svg { width: 20px; height: 20px; color: var(--red); }
.why-item h3 { font-size: .95rem; margin-bottom: 4px; color: var(--ink); }
.why-item p { font-size: .82rem; }

/* ── FAQ ── */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn { width: 100%; text-align: left; background: none; border: none; padding: 18px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 1rem; font-weight: 600; color: var(--ink); }
.faq-btn svg { flex-shrink: 0; transition: transform .25s; color: var(--red); }
.faq-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.faq-body { display: none; padding-bottom: 18px; font-size: .95rem; color: var(--muted); line-height: 1.65; }
.faq-body.open { display: block; }

/* ── CTA section ── */
.cta-section { background: var(--red); color: #fff; text-align: center; padding: 72px 0; }
.cta-section h2 { color: #fff; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-section .btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }
.cta-section .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ── Footer ── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .logo-text { color: #fff; }
.footer-brand .logo-sub { color: rgba(255,255,255,.5); }
.footer-brand p { font-size: .85rem; margin-top: 12px; color: rgba(255,255,255,.55); line-height: 1.6; }
.footer-col h4 { color: #fff; font-size: .85rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { font-size: .85rem; color: rgba(255,255,255,.55); transition: var(--transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; font-size: .8rem; color: rgba(255,255,255,.4); flex-wrap: wrap; }

/* ── Breadcrumb ── */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: var(--muted); flex-wrap: wrap; padding: 20px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--border); }

/* ── Service page ── */
.service-hero { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 48px 0 56px; }
.service-hero h1 { margin: 12px 0 20px; }
.answer-first { font-size: 1.05rem; color: var(--muted); max-width: 700px; padding: 20px 24px; background: #fff; border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; margin-top: 24px; }
.fact-box { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin: 24px 0; }
.fact-box h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.fact-row { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .88rem; }
.fact-row:last-child { border-bottom: none; }
.fact-label { color: var(--muted); min-width: 160px; }
.fact-value { color: var(--ink); font-weight: 500; }
.needs-confirm { color: #9e6c00; background: #fef9e6; border: 1px solid #f5d93a; border-radius: 4px; padding: 1px 7px; font-size: .78rem; font-weight: 600; }
.service-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding: 56px 0; }
.sidebar-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; position: sticky; top: 90px; }
.sidebar-card h3 { font-size: 1rem; margin-bottom: 16px; }
.sidebar-cta { background: var(--red); color: #fff; text-align: center; border-radius: var(--radius-lg); padding: 28px; }
.sidebar-cta h3 { color: #fff; margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,.8); font-size: .85rem; margin-bottom: 20px; }
.sidebar-cta .btn-wa { width: 100%; justify-content: center; }

/* ── Blog ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.blog-thumb { aspect-ratio: 16/9; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: .8rem; }
.blog-body { padding: 20px; }
.blog-body h3 { font-size: 1rem; margin: 8px 0 8px; color: var(--ink); line-height: 1.4; }
.blog-body p { font-size: .85rem; }
.blog-meta { font-size: .78rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }

/* ── WA Float ── */
.wa-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.wa-float a { display: flex; align-items: center; gap: 10px; background: #25D366; color: #fff; padding: 13px 20px; border-radius: 50px; font-size: .9rem; font-weight: 700; box-shadow: 0 4px 20px rgba(37,211,102,.4); transition: var(--transition); }
.wa-float a:hover { background: #1dba5a; transform: translateY(-2px); }
.wa-float svg { width: 22px; height: 22px; fill: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-img { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step::after { display: none; }
  .service-layout { grid-template-columns: 1fr; }
  .sidebar-card { position: static; }
  .grid-7 { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .for-whom-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .proof-items { gap: 0; }
  .proof-item { border-right: none; border-bottom: 1px solid var(--border); min-width: unset; flex: 1 1 50%; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid-7 { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero { padding: 48px 0 40px; }
  .site-nav { display: none; }
  .menu-toggle { display: block; }
  .site-nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); padding: 12px; gap: 4px; }
}
@media (max-width: 480px) {
  .grid-2, .grid-3, .grid-4, .for-whom-grid, .why-grid { grid-template-columns: 1fr; }
  .grid-7 { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .cta-group { flex-direction: column; }
  .cta-group .btn { text-align: center; justify-content: center; }
}
