/*
Theme Name: Startify Style
Theme URI: https://example.com/startify-style
Author: Built with Claude Code
Author URI: https://example.com
Description: A modern startup & consulting WordPress theme with a two-column hero, services grid, a "How We Work" process section, an animated stats counter, testimonials, latest blog posts, a strong call-to-action band and a multi-column footer. SEO-ready (works with Yoast / Rank Math, with built-in meta tags, Open Graph and JSON-LD schema). Original design and content; not affiliated with any commercial theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clarity
Tags: startup, business, consulting, blog, custom-menu, featured-images, threaded-comments, translation-ready, two-columns, right-sidebar
*/

/* =========================================================
   1. Design tokens (colors, type, spacing)
   ========================================================= */
:root {
  /* Startify-inspired palette: petrol-teal primary, deep navy ink, lime accent */
  --c-primary: #519bae;        /* teal / petrol blue */
  --c-primary-dark: #3a7d8f;   /* darker teal (hover) */
  --c-primary-light: #6fb2c3;  /* lighter teal */
  --c-accent: #9ad953;         /* lime green accent */
  --c-ink: #04141d;            /* near-black navy (headings, dark sections) */
  --c-body: #515151;           /* body grey */
  --c-muted: #797979;          /* muted grey */
  --c-line: #eaeaea;           /* light borders */
  --c-bg: #ffffff;
  --c-bg-soft: #f5f8f8;        /* very light teal-grey */
  --c-bg-alt: #eef2f2;         /* light teal-grey */
  --c-white: #ffffff;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(4, 20, 29, .05), 0 1px 3px rgba(4, 20, 29, .07);
  --shadow: 0 6px 18px -6px rgba(4, 20, 29, .12), 0 2px 6px -3px rgba(4, 20, 29, .08);
  --shadow-lg: 0 24px 40px -12px rgba(4, 20, 29, .16), 0 10px 18px -10px rgba(4, 20, 29, .10);

  --container: 1200px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* =========================================================
   2. Base / reset
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--c-primary-dark); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--c-ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.2em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.4em; }
blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-left: 4px solid var(--c-primary);
  background: var(--c-bg-soft);
  color: var(--c-ink);
  font-style: italic;
}
code {
  background: var(--c-bg-alt);
  padding: .15em .4em;
  border-radius: 4px;
  font-size: .9em;
}

/* =========================================================
   3. Layout helpers
   ========================================================= */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--soft { background: var(--c-bg-soft); }
.section--alt { background: var(--c-bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 14px;
}
/* Startify-style accent dash before every eyebrow label */
.section__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
/* Centred section headings get a matching dash after the label too */
.section__head .section__eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
}
.section__lead { color: var(--c-muted); font-size: 1.1rem; }
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.text-center { text-align: center; }

/* =========================================================
   4. Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* =========================================================
   5. Header / navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-title { font-size: 1.35rem; font-weight: 800; margin: 0; letter-spacing: -.01em; }
.site-title a { color: var(--c-ink); }
.site-title a:hover { color: var(--c-primary); }
.custom-logo { max-height: 46px; width: auto; }
.site-description { display: none; }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--c-ink);
  font-weight: 600;
  font-size: .98rem;
  border-radius: var(--radius-sm);
}
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a { color: var(--c-primary); background: var(--c-bg-soft); }
.header-cta { display: flex; align-items: center; gap: 16px; }

/* sub-menus */
.main-nav .sub-menu {
  position: absolute;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 210px;
  display: none;
  flex-direction: column;
  margin-top: 8px;
}
.main-nav li { position: relative; }
.main-nav li:hover > .sub-menu { display: flex; }

/* mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: .2s; }

/* =========================================================
   6. Hero slider
   ========================================================= */
.hero-slider { position: relative; overflow: hidden; background: var(--c-primary-dark); }
.hero-slides { position: relative; }
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(4,20,29,.88) 0%, rgba(19,37,46,.72) 50%, rgba(81,155,174,.45) 100%);
}
.hero-slide__inner { position: relative; z-index: 2; padding: 120px 0; max-width: 660px; color: #fff; }
.hero-slide__eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .85rem;
  color: var(--c-accent);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-slide__eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
}
.hero-slide h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 18px; }
.hero-slide p { color: #e2e8f0; font-size: 1.2rem; margin-bottom: 30px; max-width: 540px; }
.hero-slide__actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 5; }
.hero-dots button {
  width: 12px; height: 12px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: .2s;
}
.hero-dots button.is-active { background: #fff; transform: scale(1.25); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; transition: .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow--prev { left: 22px; }
.hero-arrow--next { right: 22px; }

/* =========================================================
   7. Services / cards
   ========================================================= */
.card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-primary-light); }
.service-card__icon {
  width: 64px; height: 64px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; margin-bottom: 22px;
  transition: transform .2s ease;
}
.card:hover .service-card__icon { transform: scale(1.06) rotate(-3deg); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--c-muted); margin-bottom: 16px; }
.service-card .card-link { font-weight: 700; color: var(--c-primary); }

/* =========================================================
   8. Testimonials
   ========================================================= */
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--c-line);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card__quote { font-size: 1.08rem; color: var(--c-ink); margin-bottom: 24px; }
.testimonial-card__quote::before { content: "“"; font-size: 2.4rem; color: var(--c-primary-light); line-height: 0; vertical-align: -.4em; margin-right: 4px; }
.testimonial-card__person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-card__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--c-bg-alt); }
.testimonial-card__name { font-weight: 700; color: var(--c-ink); }
.testimonial-card__role { font-size: .9rem; color: var(--c-muted); }

/* =========================================================
   9. Forms (consulting + contact)
   ========================================================= */
.form-wrap { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form-field { margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field label { display: block; font-weight: 600; color: var(--c-ink); margin-bottom: 7px; font-size: .95rem; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  color: var(--c-ink);
  background: var(--c-bg-soft);
  transition: border .15s ease, box-shadow .15s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-primary-light);
  box-shadow: 0 0 0 3px rgba(81,155,174,.20);
  background: #fff;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--c-muted); }
.form-message { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.form-message--success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-message--error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* consulting section split layout */
.consult-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.consult-points { list-style: none; padding: 0; margin: 24px 0 0; }
.consult-points li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--c-ink); }
.consult-points li::before { content: "✓"; color: var(--c-primary); font-weight: 800; }

/* =========================================================
   10. Blog
   ========================================================= */
.content-area { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.content-area > * { min-width: 0; } /* prevent grid blowout / horizontal scroll */
.posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.posts-grid--3 { grid-template-columns: repeat(3, 1fr); }
.posts-grid > * { min-width: 0; }
.post-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--c-bg-alt); }
.post-card__thumb img,
.post-card__thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__cat {
  display: inline-block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--c-primary); margin-bottom: 10px;
}
.post-card__title { font-size: 1.2rem; margin-bottom: 10px; }
.post-card__title a { color: var(--c-ink); }
.post-card__title a:hover { color: var(--c-primary); }
.post-card__excerpt { color: var(--c-muted); font-size: .96rem; margin-bottom: 16px; }
.post-meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--c-muted); margin-top: auto; }
.post-meta__author { font-weight: 600; color: var(--c-body); }
.post-meta__avatar { width: 30px; height: 30px; border-radius: 50%; }

/* single post */
.single-hero { padding: 60px 0 30px; }
.single-hero__cat { color: var(--c-primary); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.single-hero h1 { margin: 12px 0 18px; }
.byline { display: flex; align-items: center; gap: 14px; color: var(--c-muted); font-size: .95rem; }
.byline__avatar { width: 46px; height: 46px; border-radius: 50%; }
.byline__name { font-weight: 700; color: var(--c-ink); }
.entry-content { font-size: 1.08rem; }
.entry-content img { border-radius: var(--radius); margin: 1.5em 0; }
.entry-content h2 { margin-top: 1.6em; }
.featured-media { margin: 30px 0; }
.featured-media img { border-radius: var(--radius); width: 100%; }

.tags-list a {
  display: inline-block; background: var(--c-bg-alt); color: var(--c-body);
  padding: 5px 12px; border-radius: 999px; font-size: .82rem; margin: 0 6px 6px 0;
}
.tags-list a:hover { background: var(--c-primary); color: #fff; }

/* =========================================================
   11. Sidebar
   ========================================================= */
.sidebar .widget {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 24px; margin-bottom: 28px; box-shadow: var(--shadow-sm);
}
.sidebar .widget-title { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-bg-alt); }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { padding: 8px 0; border-bottom: 1px solid var(--c-bg-soft); }
.sidebar li:last-child { border-bottom: 0; }
.related-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-bg-soft); }
.related-post img { width: 70px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; background: var(--c-bg-alt); }
.related-post a { font-weight: 600; color: var(--c-ink); font-size: .92rem; line-height: 1.35; }
.related-post a:hover { color: var(--c-primary); }
.related-post time { display: block; font-size: .78rem; color: var(--c-muted); margin-top: 4px; }

/* search form */
.search-form { display: flex; gap: 8px; max-width: 100%; }
.search-form input[type=search] {
  flex: 1 1 auto; min-width: 0; /* allow the input to shrink so the button stays inside */
  padding: 12px 14px; border: 1px solid var(--c-line);
  border-radius: var(--radius-sm); font-size: .95rem; background: var(--c-bg-soft);
}
.search-form input[type=search]:focus { outline: none; border-color: var(--c-primary-light); background: #fff; }
.search-form .btn { padding: 12px 18px; flex: 0 0 auto; white-space: nowrap; }

/* =========================================================
   12. Case studies
   ========================================================= */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.case-grid > * { min-width: 0; }
.case-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card__thumb { aspect-ratio: 4/3; background: var(--c-bg-alt); overflow: hidden; }
.case-card__thumb img,
.case-card__thumb svg { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-card__body { padding: 24px; }
.case-card__client { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--c-primary); font-weight: 700; }
.case-card__title { margin: 8px 0 10px; font-size: 1.2rem; }
.case-card__title a { color: var(--c-ink); }

.case-single__hero { background: var(--c-bg-soft); padding: 60px 0; }
.case-meta-bar { display: flex; flex-wrap: wrap; gap: 32px; margin: 28px 0; padding: 24px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); }
.case-meta-bar .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); font-weight: 700; }
.case-meta-bar .value { font-size: 1.05rem; color: var(--c-ink); font-weight: 600; }

/* =========================================================
   13. Contact page
   ========================================================= */
.contact-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; }
.contact-info-card { background: var(--c-primary-dark); color: #fff; border-radius: var(--radius); padding: 40px; height: 100%; }
.contact-info-card h2 { color: #fff; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info-item__icon { font-size: 1.3rem; background: rgba(255,255,255,.12); width: 46px; height: 46px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #bfe3ec; }
.contact-info-item a, .contact-info-item__value { color: #fff; font-size: 1.05rem; font-weight: 500; }
.contact-map { margin-top: 30px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); }
.contact-map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* =========================================================
   14. Page hero / generic landing
   ========================================================= */
.page-hero { background: linear-gradient(120deg, var(--c-primary-dark), var(--c-primary)); color: #fff; padding: 70px 0; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d9edf1; font-size: 1.15rem; margin: 0; }
.breadcrumbs { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 14px; }
.breadcrumbs a { color: #fff; }

/* =========================================================
   15. CTA banner + footer
   ========================================================= */
.cta-banner { background: linear-gradient(120deg, var(--c-ink), var(--c-primary)); color: #fff; text-align: center; padding: 70px 0; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 26px; font-size: 1.15rem; }

.site-footer { background: var(--c-ink); color: #cbd5e1; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand p { color: #94a3b8; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--c-primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; text-align: center; font-size: .9rem; color: #94a3b8; }

/* =========================================================
   16. Pagination, misc
   ========================================================= */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); font-weight: 600;
}
.pagination .page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.pagination .page-numbers:hover:not(.current) { border-color: var(--c-primary); color: var(--c-primary); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; background: #fff; padding: 10px 16px; z-index: 9999; border-radius: 6px; }

/* =========================================================
   18. Startify-style homepage sections
   ========================================================= */
/* shared left-aligned eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .82rem;
  font-weight: 700; color: var(--c-primary); margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--c-primary); border-radius: 2px; }

/* --- Hero (two columns) --- */
.hero2 { position: relative; overflow: hidden; background: var(--c-bg-soft); padding: 90px 0; }
.hero2__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; position: relative; z-index: 2; }
.hero2__text h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.hero2__lead { font-size: 1.2rem; color: var(--c-muted); margin-bottom: 30px; max-width: 540px; }
.hero2__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero2__trust { display: flex; align-items: center; gap: 12px; color: var(--c-muted); font-size: .95rem; }
.hero2__stars { color: #f5a623; letter-spacing: 2px; font-size: 1.05rem; }

.hero2__media { position: relative; }
.hero2__image { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--c-bg-alt); }
.hero2__image img, .hero2__image svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero2__badge {
  position: absolute; left: -22px; bottom: 36px; background: #fff;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: flex; flex-direction: column; min-width: 150px; border: 1px solid var(--c-line);
}
.hero2__badge-num { font-size: 2rem; font-weight: 800; color: var(--c-primary); line-height: 1; }
.hero2__badge-label { font-size: .82rem; color: var(--c-muted); margin-top: 6px; }
.hero2__chip {
  position: absolute; right: -14px; top: 30px; background: #fff; border: 1px solid var(--c-line);
  border-radius: 999px; box-shadow: var(--shadow); padding: 10px 18px; display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .9rem; color: var(--c-ink);
}
.hero2__chip-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--c-accent); color: var(--c-ink); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .8rem; }
.hero2__blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; z-index: 1; }
.hero2__blob--a { width: 320px; height: 320px; background: radial-gradient(circle, rgba(81,155,174,.22), transparent 70%); top: -80px; right: -60px; }
.hero2__blob--b { width: 260px; height: 260px; background: radial-gradient(circle, rgba(154,217,83,.20), transparent 70%); bottom: -80px; left: -40px; }

/* --- How We Work / steps --- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 36px 28px 30px; text-align: left;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-primary-light); }
.step__num { position: absolute; top: 20px; right: 24px; font-size: 2.4rem; font-weight: 800; color: var(--c-bg-alt); line-height: 1; }
.step__icon {
  width: 58px; height: 58px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--c-muted); margin: 0; font-size: .96rem; }

/* --- Stats counter --- */
.stats { background: var(--c-ink); color: #fff; padding: 60px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { display: block; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; color: #fff; line-height: 1; }
.stat__label { display: block; margin-top: 10px; color: #aebfc4; font-size: .98rem; letter-spacing: .02em; }
.stat { position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.12); }

/* testimonial stars */
.testimonial-card__stars { color: #f5a623; letter-spacing: 2px; margin-bottom: 14px; }

/* =========================================================
   17. Responsive
   ========================================================= */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-area { grid-template-columns: 1fr; }
  .case-grid, .grid--3, .posts-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  .stat:nth-child(2)::after, .stat:last-child::after { display: none; }
  .hero2__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero2__media { max-width: 520px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow-lg); display: none; padding: 12px;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; align-items: stretch; }
  .main-nav .sub-menu { position: static; box-shadow: none; border: 0; padding-left: 16px; display: flex; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
  .consult-split, .contact-split { grid-template-columns: 1fr; gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .grid--3, .grid--2, .case-grid { grid-template-columns: 1fr; }
  .posts-grid, .posts-grid--3 { grid-template-columns: 1fr; }
  .form-wrap { padding: 26px; }
  .hero-slide__inner { padding: 80px 0; }
  .hero-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero2 { padding: 60px 0; }
  .steps { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero2__badge { left: 10px; bottom: 12px; padding: 14px 16px; min-width: 0; }
  .hero2__chip { right: 6px; top: 12px; font-size: .8rem; padding: 8px 12px; }
}
