:root {
  --ink: #071633;
  --navy: #061331;
  --blue: #1463ff;
  --blue-dark: #053fb9;
  --sky: #00a5ff;
  --green: #18b663;
  --orange: #ff8a1c;
  --paper: #f6f9ff;
  --muted: #5c6b84;
  --line: #dce6f7;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(7, 22, 51, .12);
  --radius: 28px;
  --container-max: 1380px;
  --gutter: clamp(20px, 3vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 8% 0%, rgba(20, 99, 255, .13), transparent 35rem),
    radial-gradient(circle at 94% 12%, rgba(255, 138, 28, .14), transparent 30rem),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.container {
  width: min(var(--container-max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.topbar { background: var(--navy); color: #d9e8ff; font-size: 14px; }
.topbar .container { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(220, 230, 247, .9);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--sky));
  box-shadow: 0 14px 28px rgba(20, 99, 255, .25);
}
.brand span span { color: var(--blue); }
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.2vw, 34px);
  min-width: 0;
  color: #273854;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.menu > a,
.menu-item > a {
  padding: 6px 2px;
}
.menu-item {
  position: relative;
}
.has-dropdown > a::after {
  content: "▾";
  margin-left: 6px;
  font-size: 11px;
}
.dropdown {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 30;
  width: 260px;
  padding: 10px;
  border: 1px solid #dce6f7;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(7, 22, 51, .14);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #273854;
}
.dropdown a:hover,
.dropdown a[aria-current="page"] {
  color: var(--blue);
  background: #edf4ff;
}
.menu a[aria-current="page"] { color: var(--blue); }
.actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; white-space: nowrap; }
.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(7, 22, 51, .16); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--blue-dark)); }
.btn-green { color: var(--white); background: linear-gradient(135deg, var(--green), #07964d); }
.btn-outline { background: rgba(255, 255, 255, .78); border-color: #bed0ee; color: var(--ink); }
.hero { padding: 88px 0 66px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(480px, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.inner-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid rgba(220, 230, 247, .9);
}
.inner-hero .hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .9fr);
}
.inner-hero h1 {
  max-width: none;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.inner-hero .proof-row {
  padding-top: 18px;
  border-top: 1px solid rgba(20, 99, 255, .13);
}
.variant-maintenance { background: radial-gradient(circle at 85% 20%, rgba(24, 182, 99, .16), transparent 26rem), linear-gradient(180deg, #f5fff9, #ffffff); }
.variant-seo { background: radial-gradient(circle at 80% 12%, rgba(255, 138, 28, .18), transparent 28rem), linear-gradient(180deg, #fffaf3, #ffffff); }
.variant-wordpress { background: radial-gradient(circle at 80% 12%, rgba(0, 165, 255, .17), transparent 28rem), linear-gradient(180deg, #f3fbff, #ffffff); }
.variant-local { background: radial-gradient(circle at 82% 14%, rgba(20, 99, 255, .17), transparent 27rem), linear-gradient(180deg, #f5f8ff, #ffffff); }
.variant-contact { background: radial-gradient(circle at 80% 10%, rgba(24, 182, 99, .16), transparent 27rem), linear-gradient(180deg, #f7fff9, #ffffff); }
.variant-projects { background: radial-gradient(circle at 80% 10%, rgba(7, 22, 51, .12), transparent 28rem), linear-gradient(180deg, #f7f9ff, #ffffff); }
.variant-about { background: radial-gradient(circle at 80% 10%, rgba(255, 138, 28, .13), transparent 28rem), linear-gradient(180deg, #fff8f0, #ffffff); }
.variant-upgrade {
  background:
    radial-gradient(circle at 88% 8%, rgba(20, 99, 255, .18), transparent 40%),
    linear-gradient(180deg, #f3f8ff, #ffffff);
}
.inner-hero.upgrade-hero {
  padding-bottom: 44px;
}
.service-visual-upgrade {
  background: linear-gradient(180deg, #eef5ff, #ffffff);
}
.page-feature.variant-upgrade .feature-strip {
  border-color: rgba(20, 99, 255, .28);
  box-shadow: 0 22px 56px rgba(20, 99, 255, .1);
}
.upgrade-visual-panel {
  position: relative;
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid #dce6f7;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.upgrade-visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.upgrade-visual-head span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0753d9;
}
.upgrade-visual-head strong {
  font-size: 15px;
  color: var(--navy);
}
.upgrade-version-ladder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 18px;
}
.upgrade-step {
  text-align: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #dce6f7;
  background: #f7faff;
  min-width: 72px;
}
.upgrade-step.is-old {
  opacity: 0.9;
}
.upgrade-step.is-new {
  background: linear-gradient(135deg, rgba(20, 99, 255, 0.12), rgba(24, 182, 99, 0.12));
  border-color: rgba(20, 99, 255, 0.3);
}
.upgrade-step .v {
  display: block;
  font-size: 22px;
  font-weight: 950;
  color: var(--navy);
}
.upgrade-step small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
  font-weight: 700;
}
.upgrade-arrow {
  color: var(--blue);
  font-weight: 900;
}
.upgrade-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: #273854;
  font-weight: 650;
}
.upgrade-checklist li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.upgrade-home-teaser {
  padding: 56px 0;
  background: linear-gradient(180deg, #ffffff, #f3f8ff);
  border-top: 1px solid #e7eef9;
  border-bottom: 1px solid #e7eef9;
}
.upgrade-home-teaser-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.upgrade-home-copy h2 {
  margin-top: 10px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
}
.upgrade-home-bullets {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-width: 62ch;
}
.upgrade-home-bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.55;
}
.upgrade-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.upgrade-path-panel {
  padding: 28px 22px 26px;
  border-radius: 28px;
  border: 1px solid rgba(220, 230, 247, 0.95);
  background: linear-gradient(165deg, #ffffff 0%, #f4f8ff 55%, #eef5ff 100%);
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.75) inset,
    0 26px 56px rgba(7, 22, 51, 0.09);
  max-width: 100%;
}
.upgrade-path-panel-head {
  text-align: center;
  margin-bottom: 20px;
}
.upgrade-path-panel-kicker {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0753d9;
  background: rgba(20, 99, 255, 0.1);
  border: 1px solid rgba(20, 99, 255, 0.15);
}
.upgrade-path-panel-lead {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
}
.upgrade-path-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  padding: 18px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(20, 99, 255, 0.07), rgba(0, 165, 255, 0.05));
  border: 1px solid rgba(220, 230, 247, 0.9);
}
.upgrade-path-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #dce6f7;
  font-size: 15px;
  font-weight: 900;
  color: var(--navy);
  box-shadow: 0 6px 16px rgba(7, 22, 51, 0.05);
}
.upgrade-path-between {
  color: var(--blue);
  font-weight: 800;
  font-size: 13px;
  opacity: 0.55;
  user-select: none;
}
.upgrade-path-pill--target {
  flex-direction: column;
  gap: 2px;
  min-width: auto;
  padding: 12px 18px 10px;
  border-color: rgba(20, 99, 255, 0.35);
  background: linear-gradient(180deg, #ffffff, #eef5ff);
  box-shadow: 0 10px 28px rgba(20, 99, 255, 0.12);
}
.upgrade-path-pill-ver {
  font-size: 20px;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--blue);
  line-height: 1;
}
.upgrade-path-pill-name {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #273854;
  opacity: 0.85;
}
.upgrade-path-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  justify-content: center;
}
.upgrade-path-tags li {
  font-size: 12px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  color: #0753d9;
  background: #edf4ff;
  border: 1px solid rgba(20, 99, 255, 0.12);
}
.upgrade-roadmap-section {
  padding: 52px 0 40px;
  background: linear-gradient(180deg, #eef6ff 0%, #ffffff 52%, #ffffff 100%);
  border-bottom: 1px solid #e7eef9;
}
.upgrade-roadmap-head {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}
.upgrade-roadmap-head h2 {
  margin: 14px 0 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.upgrade-roadmap-head .lead {
  margin-top: 18px;
  font-size: clamp(17px, 2vw, 20px);
}
.upgrade-roadmap-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.upgrade-roadmap-card {
  position: relative;
  padding: 26px 18px 22px;
  border-radius: 22px;
  border: 1px solid #dce6f7;
  background: linear-gradient(165deg, #ffffff 0%, #f5f9ff 100%);
  box-shadow: 0 20px 48px rgba(7, 22, 51, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.upgrade-roadmap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(20, 99, 255, 0.12);
}
.upgrade-roadmap-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.upgrade-roadmap-step {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  font-weight: 950;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(20, 99, 255, 0.28);
}
.upgrade-roadmap-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.upgrade-roadmap-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
@media (max-width: 1020px) {
  .upgrade-roadmap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .upgrade-roadmap-section {
    padding: 40px 0 28px;
  }
  .upgrade-roadmap-grid {
    grid-template-columns: 1fr;
  }
}
.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0753d9;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.eyebrow {
  padding: 8px 13px;
  border: 1px solid rgba(20, 99, 255, .18);
  border-radius: 999px;
  background: rgba(20, 99, 255, .08);
  text-transform: none;
  letter-spacing: 0;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 22px 0 18px;
  max-width: none;
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.06;
  letter-spacing: -.045em;
}
h2 {
  margin: 9px 0 14px;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.08;
  letter-spacing: -.04em;
}
h3 { line-height: 1.16; letter-spacing: -.035em; }
.accent { position: relative; color: var(--blue); white-space: nowrap; }
.accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  z-index: -1;
  height: 12px;
  border-radius: 20px;
  background: rgba(255, 138, 28, .34);
}
.hero-copy, .lead { color: var(--muted); font-size: 18px; }
.hero-copy {
  max-width: 62ch;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 24px; }
.proof-row { display: flex; flex-wrap: wrap; gap: 18px; color: #344764; font-size: 14px; font-weight: 800; }
.proof-row span { display: inline-flex; align-items: center; gap: 8px; }
.visual { position: relative; }
.dashboard {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(190, 208, 238, .82);
  border-radius: 36px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.traffic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.metric-card, .audit-card, .task-card, .card, .faq-card, .contact-card {
  border: 1px solid #e1eafa;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 14px 40px rgba(7, 22, 51, .07);
}
.metric-card, .task-card { padding: 20px; }
.metric-card strong { display: block; margin-top: 8px; font-size: 34px; line-height: 1; letter-spacing: -.05em; }
.metric-card small, .task-card small { color: var(--muted); font-weight: 800; }
.chart {
  height: 86px;
  margin-top: 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(20, 99, 255, .12), rgba(0, 165, 255, .04)), repeating-linear-gradient(90deg, transparent 0 42px, rgba(20, 99, 255, .08) 43px 44px);
  position: relative;
  overflow: hidden;
}
.chart::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 22px;
  height: 42px;
  border-bottom: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  border-radius: 0 0 34px 0;
  transform: skewY(-10deg);
}
.audit-card { margin-top: 16px; padding: 20px; color: var(--white); background: linear-gradient(135deg, #061331, #0b2a63); }
.audit-list { display: grid; gap: 10px; margin-top: 16px; }
.audit-list span { display: flex; justify-content: space-between; gap: 14px; color: #dbe9ff; font-size: 14px; }
.task-stack { display: grid; gap: 12px; margin-top: 16px; }
.task-card { display: flex; align-items: center; gap: 14px; }
.service-visual {
  position: relative;
  padding: 32px;
  border: 1px solid rgba(190, 208, 238, .9);
  border-radius: 34px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.service-visual::before {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -82px;
  top: -90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 99, 255, .22), rgba(0, 165, 255, .04));
}
.service-visual h2 {
  position: relative;
  max-width: 360px;
  margin: 18px 0;
  font-size: 34px;
}
.service-badge {
  position: relative;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: #0753d9;
  background: #edf4ff;
  font-weight: 950;
  font-size: 13px;
}
.service-meter {
  position: relative;
  height: 12px;
  margin: 26px 0;
  border-radius: 999px;
  background: #e8effb;
  overflow: hidden;
}
.service-meter span {
  display: block;
  width: 78%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--sky));
}
.service-points {
  position: relative;
  display: grid;
  gap: 12px;
}
.service-points div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 13px;
  border-radius: 16px;
  background: #f4f8ff;
  color: #273854;
  font-weight: 750;
}
.check-dot {
  color: var(--green);
  font-weight: 950;
}
.service-visual-seo {
  background: linear-gradient(180deg, #fffaf0, #ffffff);
}
.service-visual-maintenance {
  background: linear-gradient(180deg, #f2fff7, #ffffff);
}
.service-visual-wordpress {
  background: linear-gradient(180deg, #f0fbff, #ffffff);
}
.seo-insights-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  border: 1px solid #dce6f7;
  box-shadow: 0 18px 48px rgba(7, 22, 51, .1);
}
.seo-insights-head strong {
  display: block;
  font-size: 20px;
  color: var(--navy);
}
.seo-insights-head span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.seo-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.seo-metric {
  padding: 14px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #e7eef9;
}
.seo-metric small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.seo-metric strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -.03em;
}
.seo-metric span {
  display: block;
  margin-top: 4px;
  color: #5d6f8d;
  font-size: 12px;
}
.seo-queries {
  display: grid;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid #e7eef9;
}
.seo-queries > small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.seo-query-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: #eef5ff;
}
.seo-query-text {
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.seo-query-change {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #d8f8e8;
  color: #0d6b3f;
  font-size: 12px;
  font-weight: 800;
}
.service-visual-seo .seo-insights-panel {
  margin-top: 0;
}
.monitor-list {
  position: relative;
  display: grid;
  gap: 12px;
}
.monitor-list span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  background: #ecfff4;
  color: #123f28;
}
.monitor-list em {
  color: var(--green);
  font-style: normal;
  font-weight: 950;
}
.browser-card {
  position: relative;
  height: 250px;
  padding: 18px;
  border: 1px solid #dce6f7;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(7, 22, 51, .09);
}
.browser-card i {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--sky);
}
.browser-card div,
.browser-card section {
  margin-top: 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #eaf7ff, #ffffff);
}
.browser-card div { height: 64px; }
.browser-card section { height: 88px; width: 70%; }
.project-thumbs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.project-thumbs span {
  min-height: 74px;
  display: flex;
  align-items: end;
  padding: 14px;
  border-radius: 18px;
  color: #ffffff;
  font-weight: 950;
  background: linear-gradient(135deg, var(--navy), var(--blue));
}
.portfolio-preview {
  position: relative;
  display: grid;
  gap: 14px;
}
.portfolio-preview img {
  width: 100%;
  display: block;
  border: 10px solid #ffffff;
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(7, 22, 51, .12);
}
.portfolio-preview img:first-child {
  transform: rotate(-2deg);
}
.portfolio-preview img:last-child {
  width: 86%;
  margin-left: auto;
  margin-top: -34px;
  transform: rotate(2deg);
}
.projects-hero {
  padding-bottom: 0;
}
.projects-hero .projects-intro {
  max-width: 820px;
}
.projects-hero .hero-copy,
.projects-lead {
  max-width: 72ch;
}
.projects-lead {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
}
.projects-showcase {
  padding-top: 8px;
  padding-bottom: 48px;
}
.projects-stack {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  margin-top: 28px;
}
.project-shot {
  border: 1px solid #dce6f7;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(7, 22, 51, .08);
}
.project-shot-link {
  display: block;
  background: linear-gradient(180deg, #f7faff 0%, #eef5ff 100%);
}
.project-shot-link img {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  display: block;
  padding: clamp(18px, 3vw, 32px);
}
.project-shot-meta {
  padding: 24px clamp(22px, 3vw, 32px) 28px;
}
.project-shot-meta h3 {
  margin: 12px 0 8px;
  font-size: clamp(24px, 2.4vw, 30px);
}
.project-shot-meta p {
  margin: 0;
  color: var(--muted);
  max-width: 70ch;
}
.project-shot-url {
  display: inline-block;
  margin-top: 14px;
  font-weight: 800;
  color: var(--blue);
}
.project-shot-url:hover {
  text-decoration: underline;
}
.projects-cta {
  margin-top: 40px;
  padding: 28px 32px;
  border-radius: 24px;
  text-align: center;
  background: linear-gradient(135deg, #eef5ff, #f8fbff);
  border: 1px solid #dce6f7;
}
.projects-cta p {
  margin: 0 0 18px;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.projects-cta .hero-actions {
  justify-content: center;
}
.portfolio-section {
  padding-bottom: 24px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}
.portfolio-card {
  overflow: hidden;
  border: 1px solid #dce6f7;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(7, 22, 51, .08);
}
.portfolio-card.featured {
  grid-column: span 2;
}
.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  display: block;
  object-fit: contain;
  object-position: center top;
  padding: 12px;
  background: #f4f8ff;
}
.portfolio-card div {
  padding: 24px;
}
.portfolio-card h3 {
  margin: 14px 0 9px;
  font-size: 24px;
}
.portfolio-card p {
  margin-bottom: 0;
  color: var(--muted);
}
.profile-card {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #12346f);
}
.profile-card strong {
  display: block;
  font-size: 34px;
  letter-spacing: -.04em;
}
.profile-card span { color: #bfe0ff; font-weight: 900; }
.profile-card p { margin: 16px 0 0; color: #e6f1ff; }
.icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--sky));
  font-weight: 950;
}
.score { padding: 8px 12px; border-radius: 999px; color: #071633; background: #72ffb4; font-weight: 950; white-space: nowrap; }
.section { padding: 78px 0; }
.section-header { max-width: 72ch; margin-bottom: 34px; }
.section-header.center {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.card {
  position: relative;
  padding: 28px;
  min-height: 250px;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -42px;
  bottom: -42px;
  border-radius: 50%;
  background: rgba(20, 99, 255, .09);
}
.card h3 { margin: 18px 0 10px; font-size: 24px; }
.card p { color: var(--muted); }
.keyword { display: inline-flex; padding: 7px 10px; border-radius: 999px; background: #edf4ff; color: #0753d9; font-size: 12px; font-weight: 900; }
.dark {
  color: var(--white);
  background: radial-gradient(circle at 80% 20%, rgba(0, 165, 255, .24), transparent 32rem), linear-gradient(135deg, #061331, #0a2456);
}
.page-feature {
  padding: 42px 0;
}
.feature-strip {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 30px;
  align-items: center;
  padding: 30px;
  border: 1px solid #dce6f7;
  border-radius: 30px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 18px 52px rgba(7, 22, 51, .07);
}
.feature-strip h2 {
  margin-bottom: 0;
  font-size: clamp(27px, 3vw, 40px);
}
.feature-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}
.page-signature {
  padding: 44px 0 0;
}
.signature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.signature-grid article {
  padding: 26px;
  border-radius: 26px;
  border: 1px solid #dce6f7;
  background: #ffffff;
  box-shadow: 0 18px 52px rgba(7, 22, 51, .07);
}
.signature-grid span {
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 46px;
  padding: 0 10px;
  border-radius: 15px;
  color: #ffffff;
  background: var(--blue);
  font-weight: 950;
}
.signature-grid h3 {
  margin: 18px 0 8px;
  font-size: 24px;
}
.signature-grid p {
  margin-bottom: 0;
  color: var(--muted);
}
.signature-maintenance .signature-grid span,
.signature-maintenance span { background: var(--green); }
.signature-seo .signature-grid span,
.signature-seo span { background: var(--orange); }
.signature-upgrade .signature-grid span,
.signature-upgrade span {
  background: linear-gradient(135deg, var(--blue), #12346f);
}
.signature-wordpress .signature-grid span,
.signature-wordpress span { background: var(--sky); }
.signature-about .signature-grid article,
.signature-about article {
  color: #ffffff;
  background: linear-gradient(135deg, var(--navy), #12346f);
}
.signature-about p,
.signature-about article p { color: #d9e8ff; }
.dark p, .dark .lead { color: #c9daf5; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 42px; align-items: center; }
.benefit-list { display: grid; gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.benefit-list li { display: flex; gap: 13px; align-items: flex-start; padding: 17px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 18px; background: rgba(255, 255, 255, .06); }
.check { flex: 0 0 auto; color: #72ffb4; font-weight: 950; }
.solution-panel { padding: 30px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 34px; background: rgba(255, 255, 255, .08); box-shadow: 0 24px 70px rgba(0, 0, 0, .18); }
.solution-row { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.solution-row:last-child { border-bottom: 0; }
.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.content-layout-seo { grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); }
.content-layout-seo .content-card { order: 2; }
.content-layout-seo .sidebar { order: 1; }
.content-layout-maintenance .content-card {
  border-top: 6px solid var(--green);
}
.content-layout-wordpress .content-card {
  border-top: 6px solid var(--sky);
}
.content-layout-local .content-card {
  border-top: 6px solid var(--blue);
}
.content-layout-upgrade .content-card {
  border-top: 6px solid var(--blue);
}
.content-layout-projects {
  grid-template-columns: 1fr;
}
.content-layout-projects .sidebar {
  display: none;
}
.content-layout-contact {
  grid-template-columns: .85fr 1.15fr;
}
.contact-visual {
  display: grid;
  gap: 12px;
}
.mini-channel {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
}
.mini-channel.is-active {
  border-color: rgba(24, 182, 99, .55);
  background: rgba(24, 182, 99, .16);
}
.mini-channel span {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #bfe0ff;
}
.mini-channel strong {
  display: block;
  margin-top: 6px;
  font-size: 20px;
}
.mini-channel small {
  display: block;
  margin-top: 4px;
  color: #d9e8ff;
}
.contact-page {
  padding-top: 8px;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
.contact-channels h2,
.contact-guide h2 {
  margin: 10px 0 12px;
  font-size: clamp(28px, 3vw, 38px);
}
.channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.channel-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  padding: 24px;
  border: 1px solid #dce6f7;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(7, 22, 51, .06);
}
.channel-card-primary {
  border-color: rgba(24, 182, 99, .35);
  background: linear-gradient(180deg, #f3fff8, #ffffff);
}
.channel-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 900;
  color: var(--navy);
  background: #eef5ff;
}
.channel-card-primary .channel-icon {
  color: #0d6b3f;
  background: #d8f8e8;
}
.channel-card h3 {
  margin: 0;
  font-size: 22px;
}
.channel-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
}
.channel-card strong {
  font-size: 18px;
  color: var(--navy);
}
.channel-card .btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}
.contact-guide {
  padding: 28px;
  border: 1px solid #dce6f7;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff, #f7faff);
  box-shadow: 0 18px 52px rgba(7, 22, 51, .08);
}
.contact-checklist {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.contact-checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}
.contact-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #eef5ff;
  border: 1px solid #dce6f7;
}
.contact-note-alert {
  background: #fff8ef;
  border-color: #ffd9ad;
}
.contact-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
}
.contact-note p {
  margin: 0;
  color: var(--muted);
}
.contact-trust {
  padding-top: 0;
  padding-bottom: 24px;
}
.contact-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-trust-grid article {
  padding: 22px;
  border-radius: 22px;
  border: 1px solid #dce6f7;
  background: #ffffff;
}
.contact-trust-grid span {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  font-weight: 900;
  color: var(--navy);
  background: #eef5ff;
}
.contact-trust-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.contact-trust-grid p {
  margin: 0;
  color: var(--muted);
}
.content-card { padding: 36px; border: 1px solid #dce6f7; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.content-card h2 { font-size: clamp(28px, 3vw, 42px); }
.content-card ul { padding-left: 22px; color: var(--muted); }
.sidebar { position: sticky; top: 112px; display: grid; gap: 18px; }
.contact-card { padding: 24px; }
.contact-card strong { display: block; margin-bottom: 8px; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.faq-card { padding: 26px; }
.cta-box {
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  border: 1px solid #dce6f7;
  border-radius: var(--radius);
  background: radial-gradient(circle at 85% 15%, rgba(255, 138, 28, .18), transparent 25rem), #ffffff;
  box-shadow: var(--shadow);
}
.footer { padding: 42px 0 28px; color: #d9e8ff; background: var(--navy); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.footer a, .footer p { color: #b9c9e5; }
.footer a:hover { color: #ffffff; }
.footer strong {
  display: block;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 15px;
}
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer-bottom p {
  margin: 0;
  font-size: 14px;
  color: #8fa8cc;
}
.legal-hero {
  padding-bottom: 12px;
}
.legal-hero .legal-intro {
  max-width: 820px;
}
.legal-content-section {
  padding-top: 8px;
}
.legal-document {
  max-width: 820px;
  padding: 36px clamp(24px, 3vw, 40px);
  border: 1px solid #dce6f7;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.legal-document h2 {
  margin: 28px 0 12px;
  font-size: clamp(22px, 2.5vw, 28px);
}
.legal-document h2:first-child {
  margin-top: 0;
}
.legal-document p {
  color: var(--muted);
  line-height: 1.75;
}
.legal-document ul {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}
.legal-document li {
  margin-bottom: 8px;
}
.legal-document a {
  color: var(--blue);
  font-weight: 700;
}
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1200;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 14px 36px rgba(7, 22, 51, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 42px rgba(37, 211, 102, .35);
  color: #ffffff;
}
body.cookie-banner-open .whatsapp-float {
  bottom: calc(22px + var(--cookie-banner-height, 0px));
}
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1300;
  padding: 0 0 max(12px, env(safe-area-inset-bottom));
  pointer-events: none;
}
.cookie-consent.is-visible {
  pointer-events: auto;
}
.cookie-consent[hidden] {
  display: none !important;
}
.cookie-consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  padding: 20px clamp(18px, 3vw, 28px);
  border: 1px solid #dce6f7;
  border-radius: 20px 20px 0 0;
  background: #ffffff;
  box-shadow: 0 -12px 48px rgba(7, 22, 51, .14);
}
.cookie-consent-copy {
  flex: 1 1 320px;
  min-width: min(100%, 280px);
}
.cookie-consent-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  color: var(--navy);
}
.cookie-consent-copy p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
}
.cookie-consent-copy a {
  color: var(--blue);
  font-weight: 700;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-consent-actions .btn {
  min-width: 140px;
}
body.cookie-banner-open {
  padding-bottom: var(--cookie-banner-height, 120px);
}
.admin-wrap { width: min(1100px, calc(100% - 32px)); margin: 38px auto; }
.admin-panel { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.admin-grid { display: grid; grid-template-columns: 260px 1fr; gap: 20px; }
.admin-list { display: grid; gap: 8px; }
.admin-list a { padding: 10px 12px; border-radius: 12px; background: #f1f6ff; font-weight: 800; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { font-weight: 900; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cddbf0;
  border-radius: 14px;
  font: inherit;
}
.field textarea { min-height: 130px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; }
.notice { padding: 12px 14px; border-radius: 14px; background: #e9fff3; color: #075d32; font-weight: 800; }

@media (min-width: 1500px) {
  :root {
    --container-max: 1440px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(520px, 1fr);
  }
}

@media (max-width: 1120px) {
  .nav { min-height: 72px; }
  .actions .btn { min-height: 42px; padding: 0 15px; font-size: 14px; }
  .hero-grid,
  .inner-hero .hero-grid,
  .split,
  .content-layout,
  .cta-box,
  .admin-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .content-layout.content-layout-seo,
  .content-layout.content-layout-contact {
    grid-template-columns: 1fr;
  }
  .feature-strip {
    grid-template-columns: 1fr;
  }
  .inner-hero .hero-grid > *,
  .hero-grid > * {
    min-width: 0;
  }
  .visual {
    min-width: 0;
    max-width: 100%;
  }
  .service-visual {
    padding: clamp(18px, 4vw, 32px);
  }
  .service-visual h2 {
    font-size: clamp(22px, 5vw, 30px);
  }
  .channel-grid { grid-template-columns: 1fr; }
  .contact-trust-grid { grid-template-columns: 1fr; }
  .seo-metrics-row { grid-template-columns: 1fr; }
  .cookie-consent-inner { flex-direction: column; align-items: stretch; }
  .cookie-consent-actions { width: 100%; }
  .cookie-consent-actions .btn { flex: 1 1 auto; min-width: 0; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .grid-3, .footer-grid, .signature-grid, .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-card.featured { grid-column: span 2; }
  .sidebar { position: relative; top: auto; }
  .upgrade-home-teaser-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .topbar .container {
    display: block;
    min-height: auto;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
  }
  .topbar .container span:first-child { display: none; }
  .nav {
    min-height: 70px;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .brand {
    min-width: 0;
    gap: 9px;
    font-size: 17px;
    line-height: 1.05;
  }
  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }
  .actions {
    flex: 0 0 auto;
    flex-direction: row;
    align-items: center;
    gap: 0;
  }
  .actions .btn-outline { display: none; }
  .actions .btn-primary {
    min-height: 40px;
    padding: 0 13px;
    font-size: 13px;
    white-space: nowrap;
  }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .traffic, .grid-2, .grid-3, .faq-grid, .footer-grid, .signature-grid, .feature-strip, .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card.featured { grid-column: auto; }
  .container { width: min(var(--container-max), calc(100% - 24px)); }
  .hero { padding-top: 52px; }
  h1 { max-width: none; font-size: 40px; line-height: 1.1; }
  .content-card, .cta-box { padding: 26px; }
  .blog-index-layout, .blog-article-layout { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
}

/* Blog */
.blog-hero,
.blog-post-hero {
  padding-bottom: 48px;
}
.blog-intro {
  max-width: 820px;
}
.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.blog-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}
.blog-breadcrumb a:hover {
  color: var(--accent);
}
.blog-post-meta,
.blog-card-meta {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.blog-index-section {
  padding-top: 0;
}
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 32px;
  margin-bottom: 36px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(34, 197, 94, 0.06));
  border: 1px solid rgba(15, 76, 129, 0.1);
}
.blog-featured h2 {
  margin: 12px 0 10px;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.15;
}
.blog-featured h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-featured h2 a:hover {
  color: var(--accent);
}
.blog-index-layout,
.blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 10px 30px rgba(7, 22, 51, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(7, 22, 51, 0.08);
}
.blog-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}
.blog-card h2 a {
  color: inherit;
  text-decoration: none;
}
.blog-card h2 a:hover {
  color: var(--accent);
}
.blog-card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}
.blog-card-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.blog-card-link:hover {
  text-decoration: underline;
}
.blog-filter-active {
  margin: 0 0 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(15, 76, 129, 0.06);
}
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 96px;
}
.blog-sidebar-card {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(15, 76, 129, 0.08);
  box-shadow: 0 8px 24px rgba(7, 22, 51, 0.04);
}
.blog-sidebar-card strong {
  display: block;
  margin-bottom: 10px;
}
.blog-sidebar-card p {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--muted);
}
.blog-sidebar-card p:last-child {
  margin-bottom: 0;
}
.blog-sidebar-card a {
  color: var(--accent);
  text-decoration: none;
}
.blog-sidebar-card a:hover {
  text-decoration: underline;
}
.blog-article-section {
  padding-top: 0;
}
.blog-article-content {
  font-size: 18px;
  line-height: 1.75;
  color: #1e293b;
}
.blog-article-content p {
  margin: 0 0 1.15em;
}
.blog-article-content h2,
.blog-article-content h3 {
  margin: 1.6em 0 0.6em;
  line-height: 1.25;
  color: var(--ink);
}
.blog-article-content a {
  color: var(--accent);
}
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.blog-inline-cta {
  margin-top: 32px;
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(15, 76, 129, 0.06));
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.blog-inline-cta p {
  margin: 8px 0 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .blog-index-layout,
  .blog-article-layout { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; padding: 22px; }
  .blog-sidebar { position: relative; top: auto; }
}

/* Mobile nav drawer + backdrop */
.menu-backdrop {
  display: none;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #bed0ee;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}
.menu-drawer-close {
  display: none;
}
body.nav-drawer-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .menu-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 35;
    background: rgba(7, 22, 51, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
  }
  body.nav-drawer-open .menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 72px;
  }
  .brand {
    min-width: 0;
    white-space: normal;
    align-items: center;
    font-size: clamp(15px, 3.8vw, 20px);
    line-height: 1.15;
  }
  .brand-mark {
    flex-shrink: 0;
  }
  .nav-end {
    justify-self: end;
    gap: 8px;
    min-width: 0;
    flex-wrap: nowrap;
  }
  .nav-end .actions {
    flex-shrink: 1;
    min-width: 0;
  }
  .nav-end .nav-toggle {
    display: inline-flex;
  }

  .menu {
    display: flex !important;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: min(300px, 88vw);
    height: 100vh;
    height: 100dvh;
    margin: 0;
    padding: 16px 18px 28px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    background: #ffffff;
    box-shadow: -12px 0 40px rgba(7, 22, 51, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
  }
  body.nav-drawer-open .menu {
    transform: translateX(0);
  }

  .menu-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    margin: 0 0 12px;
    padding: 0;
    border: 1px solid #dce6f7;
    border-radius: 12px;
    background: #f4f8ff;
    color: var(--ink);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
  }

  .menu > a,
  .menu-item > a {
    padding: 12px 6px;
    border-radius: 12px;
  }
  .menu-item.has-dropdown > a {
    font-weight: 800;
    color: var(--blue);
    pointer-events: none;
    cursor: default;
  }
  .dropdown {
    position: static !important;
    left: auto !important;
    top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    width: 100%;
    max-width: none;
    margin: 0 0 10px;
    padding: 8px 10px;
    border: 1px solid #e3ecf8;
    border-radius: 14px;
    box-shadow: none;
    background: #f4f8ff;
  }
  .menu .has-dropdown:hover .dropdown,
  .menu .has-dropdown:focus-within .dropdown {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  .dropdown a {
    padding: 10px 10px;
  }
}

@media (min-width: 1121px) {
  .menu-backdrop {
    display: none !important;
  }
}
