/* ===========================================================
   WikiSEO — clean rebuild stylesheet
   Palette + type extracted from wikiseo.com (Mulish, teal/magenta)
   =========================================================== */

:root {
  --ink: #1b1b1b;
  --body: #333333;
  --muted: #5a5a5a;
  --line: #e7ecec;
  --teal: #238c8c;
  --teal-dark: #1b6e6e;
  --teal-tint: #f1f8f8;
  --magenta: #cc3366;
  --black: #0c0c0c;
  --white: #ffffff;
  --bg-alt: #f6f9f9;
  --radius: 4px;
  --radius-lg: 12px;
  --shadow: 0 10px 30px rgba(20, 60, 60, .08);
  --shadow-sm: 0 4px 14px rgba(20, 60, 60, .07);
  --container: 1180px;
  --font: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--magenta); }

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 800;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--black); color: #fafafa; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--teal-dark); }
.btn-light:hover { color: var(--magenta); }

/* ---------- Eyebrow / section heading ---------- */
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 14px;
}
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--tint { background: var(--teal-tint); }
.section-head { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 40px; width: auto; }
.logo { font-weight: 900; font-size: 1.4rem; color: var(--ink); letter-spacing: -.02em; }
.logo span { color: var(--teal); }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--ink); font-weight: 700; font-size: .98rem; position: relative; }
.nav a:hover { color: var(--teal); }
.nav a.active { color: var(--teal); }
.header-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 90px;
  background:
    radial-gradient(900px 400px at 80% -10%, rgba(35,140,140,.12), transparent 60%),
    radial-gradient(700px 360px at 0% 110%, rgba(204,51,102,.08), transparent 60%),
    var(--white);
  text-align: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--teal); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 760px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Service showcase cards (replaces 3D carousel) ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.showcase a {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); aspect-ratio: 16/10; background: var(--bg-alt);
}
.showcase img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.showcase a:hover img { transform: scale(1.06); }
.showcase .cap {
  position: absolute; inset: auto 0 0 0; padding: 16px 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff; font-weight: 800; letter-spacing: .01em;
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: center; padding: 30px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat .num { font-size: 2.4rem; font-weight: 900; color: var(--teal); line-height: 1; }
.stat .lbl { margin-top: 8px; color: var(--muted); font-size: .96rem; }

/* ---------- Service grid (core services / cards) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 28px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(35,140,140,.35); }
.card .ic {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal); margin-bottom: 18px; font-size: 1.5rem; font-weight: 900;
}
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Feature row (image + text alternating) ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature + .feature { margin-top: 72px; }
.feature.reverse .feature-media { order: 2; }
.feature-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.feature h2 { margin-bottom: .5em; }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature ul li { position: relative; padding-left: 30px; margin-bottom: 12px; font-weight: 600; color: var(--ink); }
.feature ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: #fff; background: var(--teal); width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: .7rem; font-weight: 900; margin-top: 4px;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: #fff; text-align: center; padding: 70px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 620px; margin: 0 auto 26px; }
.cta-split {
  background: linear-gradient(120deg, var(--teal), var(--teal-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 54px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-split h2 { color: #fff; margin: 0; }
.cta-split p { color: rgba(255,255,255,.85); margin: 8px 0 0; }

/* ---------- Why choose / checklist ---------- */
.checklist { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.checklist .item {
  display: flex; align-items: flex-start; gap: 14px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); font-weight: 700; color: var(--ink);
}
.checklist .item::before { content: "✓"; flex: 0 0 26px; height: 26px; border-radius: 50%; background: var(--magenta); color: #fff; display: grid; place-items: center; font-weight: 900; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 4px 24px; margin-bottom: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 800; color: var(--ink); padding: 18px 0; list-style: none; position: relative; padding-right: 34px; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--teal); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 18px; }

/* ---------- Blog grid ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card .thumb { aspect-ratio: 16/9; background: var(--bg-alt); overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .cat { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--magenta); margin-bottom: 10px; }
.post-card h3 { font-size: 1.12rem; margin-bottom: 12px; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--teal); }
.post-card .meta { margin-top: auto; padding-top: 14px; color: var(--muted); font-size: .85rem; display: flex; align-items: center; gap: 8px; }
.post-card .readmore { margin-top: 14px; font-weight: 800; color: var(--teal); font-size: .9rem; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 64px 0; text-align: center; }
.page-hero h1 { margin: 0; }
.page-hero .crumb { color: var(--muted); font-size: .9rem; margin-bottom: 10px; }

/* ---------- Article (single post / page) ---------- */
.article { max-width: 820px; margin: 0 auto; padding: 64px 0; }
.article .post-meta { color: var(--muted); font-size: .92rem; margin-bottom: 24px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article .post-meta .badge { background: var(--teal-tint); color: var(--teal-dark); padding: 3px 12px; border-radius: 100px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.article .featured { border-radius: var(--radius-lg); box-shadow: var(--shadow); margin-bottom: 36px; width: 100%; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.4em; }
.article img { border-radius: var(--radius-lg); margin: 24px 0; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 1.2em; }
.article li { margin-bottom: .5em; }
.article blockquote {
  border-left: 4px solid var(--teal); background: var(--teal-tint);
  margin: 24px 0; padding: 16px 24px; border-radius: 0 var(--radius-lg) var(--radius-lg) 0; color: var(--ink); font-style: italic;
}
.article a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info .pill { display: inline-flex; align-items: center; gap: 10px; background: var(--teal-tint); color: var(--teal-dark); padding: 12px 20px; border-radius: 100px; font-weight: 800; margin-bottom: 8px; }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 7px; font-size: .92rem; }
form input, form textarea, form select {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 1rem; background: #fff; color: var(--body);
}
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(35,140,140,.15); }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: #cfd6d6; padding: 70px 0 0; }
.footer-cta { text-align: center; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 52px; }
.footer-cta .eyebrow { color: var(--magenta); }
.footer-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); max-width: 760px; margin: 0 auto; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand .logo { color: #fff; }
.footer-brand p { color: #9aa6a6; margin-top: 16px; max-width: 320px; font-size: .95rem; }
.footer-cols h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols ul li { margin-bottom: 11px; }
.footer-cols a { color: #b9c2c2; font-size: .95rem; }
.footer-cols a:hover { color: #fff; }
.social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); color: #fff; margin-top: 8px; }
.social a:hover { background: var(--teal); border-color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; color: #8b9696; }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: #8b9696; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .feature, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature.reverse .feature-media { order: 0; }
  .showcase, .cards, .posts { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 4px;
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav .header-cta { margin-top: 10px; }
  .nav-toggle { display: block; }
  .showcase, .cards, .posts, .stats { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cta-split { padding: 34px 26px; text-align: center; justify-content: center; }
}
