*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand colors sampled from the Jay Tech Solution logo */
  --ink: #081842;
  --navy: #0d2b7a;
  --blue: #0b2f9e;
  --blue-dark: #082270;
  --blue-soft: #eef2fb;
  --gold: #bc9b5c;
  --gold-dark: #8a6f36;
  --gold-soft: #f8f3e7;
  --white: #ffffff;
  --surface: #f6f8fc;
  --surface-strong: #eef2f8;
  --text: #101a33;
  --text-body: #3c4658;
  --muted: #62708a;
  --line: rgba(8, 24, 66, 0.12);
  --shadow: 0 16px 40px rgba(8, 24, 66, 0.10);
  --radius: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1rem;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

img, video {
  max-width: 100%;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 1200;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ── Navigation ───────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: 72px;
  padding: 0 clamp(18px, 5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, height 0.25s ease;
}

nav.scrolled {
  height: 64px;
  box-shadow: 0 10px 30px rgba(8, 24, 66, 0.07);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.nav-logo-box {
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.nav-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-logo-text small {
  margin-top: 5px;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--blue-soft);
  color: var(--blue);
}

.nav-links .nav-cta {
  margin-left: 6px;
  background: var(--blue);
  color: var(--white);
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta[aria-current="page"] {
  background: var(--blue-dark);
  color: var(--white);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ── Buttons ──────────────────────────────────────────────────────── */

.btn-primary,
.btn-outline,
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--blue-dark);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.btn-outline:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  color: var(--blue);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  transform: translateY(-2px);
  background: #cbae76;
}

.btn-outline.on-dark {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline.on-dark:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

/* ── Hero ─────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 128px clamp(18px, 5vw, 72px) 0;
  background: var(--white);
  overflow: hidden;
}

.hero-layout {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
  padding-bottom: 56px;
}

.eyebrow,
.section-tag,
.blog-tag,
.contact-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}

.hero-title,
.section-title,
.page-title {
  color: var(--ink);
  letter-spacing: -0.015em;
}

.hero-title {
  max-width: 620px;
  margin-top: 16px;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
}

.hero-title .accent {
  color: var(--blue);
}

.hero-sub,
.section-sub,
.page-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
}

.hero-sub {
  margin-top: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-panel {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 340px;
}

.hero-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.hero-photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(8, 24, 66, 0.92) 0%, rgba(8, 24, 66, 0.55) 65%, transparent 100%);
  color: var(--white);
}

.hero-photo-caption strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
}

.hero-photo-caption span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
}

/* Trust line: a plain inline strip of facts, not a stat-card grid */

.trust-line {
  border-top: 1px solid var(--line);
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--surface);
}

.trust-line-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
}

.trust-line-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
}

.trust-line-item strong {
  color: var(--ink);
  font-weight: 800;
}

.trust-line-item + .trust-line-item {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

/* ── Section basics ───────────────────────────────────────────────── */

section {
  padding: 80px clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-title,
.page-title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
}

h1.section-title,
.page-title {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.08;
}

.section-sub {
  margin-top: 14px;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
}

.intro-band .section-title,
.intro-band .section-sub {
  color: var(--white);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 44px;
  align-items: center;
}

.intro-copy p {
  color: rgba(255, 255, 255, 0.72);
  margin-top: 16px;
}

.capability-list {
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}

.capability-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  padding: 17px 20px;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}

.capability-list div:last-child {
  border-bottom: 0;
}

.capability-list strong {
  color: var(--white);
}

/* ── Editorial service list (replaces icon-card grids) ───────────── */

.service-list {
  display: grid;
}

.service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 32px);
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-list.no-top-border .service-row:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-index {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--line);
  line-height: 1;
}

.service-row:hover .service-index {
  color: var(--gold);
}

.service-copy h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--ink);
}

.service-copy p {
  margin-top: 8px;
  color: var(--muted);
  max-width: 640px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.service-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  background: var(--surface);
}

/* Compact secondary list (used for lower-priority services) */

.compact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.compact-item {
  background: var(--white);
  padding: 20px;
}

.compact-item h4 {
  color: var(--ink);
  font-size: 0.98rem;
}

.compact-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ── Timeline (process steps, replaces card grid) ────────────────── */

.timeline {
  position: relative;
  margin-top: 28px;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 30px;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-num {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline-copy h3 {
  color: var(--ink);
  font-size: 1.05rem;
}

.timeline-copy p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.94rem;
}

.split-section {
  background: var(--surface);
}

.workbench {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.workbench-photo {
  min-height: 420px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--ink);
}

.workbench-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Category row: training topic tags, not stat cards */

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.category-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
}

/* ── CTA band ─────────────────────────────────────────────────────── */

.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.cta-band .section-inner {
  max-width: 720px;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
}

.cta-band .hero-actions {
  justify-content: center;
  margin-top: 30px;
}

/* ── Page hero (secondary pages) ──────────────────────────────────── */

.page-hero {
  padding: 152px clamp(18px, 5vw, 72px) 64px;
  background: var(--surface);
  text-align: center;
}

.page-hero .section-tag,
.page-hero .eyebrow {
  margin-inline: auto;
}

.page-sub {
  margin: 16px auto 0;
}

/* ── About / masthead ─────────────────────────────────────────────── */

.masthead {
  padding-bottom: 0;
}

.masthead-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.masthead .lede {
  margin-top: 22px;
  max-width: 680px;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: var(--text-body);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 52px;
  align-items: start;
}

.ceo-card {
  border-radius: var(--radius);
  background: var(--ink);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ceo-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.ceo-badge {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 7px 12px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ceo-info {
  padding: 26px;
}

.ceo-name {
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
}

.ceo-role {
  margin-top: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.ceo-bio {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.ceo-socials,
.soc-row,
.foot-socs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.ceo-soc,
.foot-soc,
.soc-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-simple .ceo-soc,
.soc-btn {
  background: var(--white);
  border-color: var(--line);
}

.ceo-soc:hover,
.foot-soc:hover,
.soc-btn:hover {
  transform: translateY(-2px);
  background: var(--blue-soft);
}

.ceo-soc svg,
.foot-soc svg,
.soc-btn svg {
  fill: var(--gold-dark);
  stroke: var(--gold-dark);
}

.about-pts {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.about-pts li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.apt-mark {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.4;
}

.about-pts p {
  color: var(--muted);
}

.about-pts strong {
  color: var(--ink);
}

/* ── Services page ────────────────────────────────────────────────── */

#services,
#contact {
  background: var(--white);
}

/* ── Community / training page ───────────────────────────────────── */

#community {
  background: var(--white);
}

.media-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.media-feature:first-child {
  border-top: 0;
  padding-top: 0;
}

.media-feature.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.media-feature.reverse .media-frame {
  order: 2;
}

.media-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 4 / 5;
  max-height: 480px;
}

.media-frame video,
.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.media-copy .blog-tag {
  margin-bottom: 14px;
}

.media-copy h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: var(--ink);
}

.media-copy p {
  margin-top: 10px;
  color: var(--muted);
}

.media-copy .blog-date {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

/* ── Contact page ─────────────────────────────────────────────────── */

.contact-simple {
  width: min(760px, 100%);
  margin: 0 auto;
}

.contact-list {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--white);
  text-decoration: none;
  transition: background 0.15s ease;
}

.contact-row:hover {
  background: var(--surface);
}

.contact-row.featured {
  background: var(--blue-soft);
}

.contact-row.featured:hover {
  background: #e3eaf9;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row.featured .contact-icon {
  background: var(--white);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--blue);
}

.contact-row-body {
  min-width: 0;
}

.contact-row-body h3 {
  font-size: 0.98rem;
  color: var(--ink);
}

.contact-row-body p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.contact-row-arrow {
  margin-left: auto;
  color: var(--muted);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ── Footer ───────────────────────────────────────────────────────── */

footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.68);
  padding: 56px clamp(18px, 5vw, 72px) 28px;
}

.foot-top {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.8fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 34px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-brand .nav-logo-text {
  color: var(--white);
}

.foot-brand p {
  max-width: 330px;
  margin-top: 16px;
  font-size: 0.92rem;
}

.foot-col h3 {
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.foot-col ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.foot-col a {
  color: rgba(255, 255, 255, 0.64);
  text-decoration: none;
  font-size: 14px;
}

.foot-col a:hover {
  color: var(--gold);
}

.foot-bot {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.34);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.wa-tip {
  position: absolute;
  right: 68px;
  padding: 7px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.wa-float:hover .wa-tip {
  opacity: 1;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .hero-layout,
  .intro-grid,
  .workbench,
  .about-grid,
  .media-feature,
  .media-feature.reverse {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-layout {
    align-items: start;
  }

  .hero-panel {
    justify-self: start;
    max-width: 280px;
  }

  .media-feature.reverse .media-frame {
    order: 0;
  }

  .section-head {
    display: block;
  }

  .foot-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    height: 68px;
  }

  .nav-logo-text {
    font-size: 13px;
  }

  .nav-logo-text small {
    font-size: 9px;
  }

  .nav-logo-box {
    width: 48px;
    height: 48px;
    padding: 5px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    justify-content: center;
    height: 46px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-panel {
    max-width: 300px;
    margin-top: 32px;
  }

  .trust-line-item + .trust-line-item {
    padding-left: 0;
    border-left: 0;
  }

  section {
    padding-block: 56px;
  }

  .page-hero {
    padding-top: 114px;
  }

  .foot-top,
  .foot-bot {
    grid-template-columns: minmax(0, 1fr);
  }

  .compact-list {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 460px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline,
  .btn-gold {
    width: 100%;
  }

  .nav-logo-text {
    font-size: 11px;
  }

  .nav-logo-text small {
    font-size: 8px;
  }

  .nav-logo-box {
    width: 40px;
    height: 40px;
  }

  .service-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .compact-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-row {
    padding: 16px;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    right: 16px;
    bottom: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
