/*
 * Pretex DTG shared presentation layer
 * Clean, conversion-focused, mobile-first and compatible with the public site
 * and the lightweight PHP admin. Important imagery always keeps its full frame.
 */

:root {
  --ink-950: #100525;
  --ink-900: #1b0b3d;
  --ink-800: #271057;
  --ink-700: #3b1880;
  --violet-700: #4c1db4;
  --violet-600: #5f2bd2;
  --violet-500: #7344e4;
  --blue-600: #315ddc;
  --cyan-600: #00a99b;
  --cyan-500: #18c9b6;
  --cyan-100: #dffaf6;
  --coral-600: #e9425b;
  --coral-500: #ff5f72;
  --yellow-500: #ffd735;
  --line-500: #06c755;
  --slate-950: #141421;
  --slate-800: #303044;
  --slate-700: #47475d;
  --slate-600: #626277;
  --slate-500: #7d7d91;
  --slate-300: #c9c9d5;
  --slate-200: #dedee7;
  --slate-100: #eeeeF4;
  --paper: #ffffff;
  --surface: #f8f7fc;
  --surface-strong: #f0edf9;
  --success: #137a52;
  --warning: #9a5b00;
  --danger: #b4233b;
  --shadow-sm: 0 1px 2px rgba(16, 5, 37, 0.05), 0 7px 22px rgba(16, 5, 37, 0.06);
  --shadow-md: 0 16px 42px rgba(35, 12, 79, 0.12);
  --shadow-lg: 0 28px 70px rgba(25, 8, 61, 0.19);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --container: 1180px;
  --header-height: 76px;
  --transition: 180ms ease;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--slate-950);
  background: var(--paper);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.72;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

main {
  display: block;
  min-height: 55vh;
}

[hidden] {
  display: none !important;
}

img,
picture,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  width: auto;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

a {
  color: var(--violet-700);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--ink-800);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
[role="button"] {
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.75rem;
  color: var(--ink-950);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.4vw, 4.35rem);
}

h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.65rem);
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
}

p,
ul,
ol,
dl,
blockquote {
  margin-top: 0;
}

p:last-child,
ul:last-child,
ol:last-child,
dl:last-child {
  margin-bottom: 0;
}

strong {
  color: var(--ink-950);
  font-weight: 750;
}

::selection {
  color: var(--paper);
  background: var(--violet-600);
}

:focus-visible {
  outline: 3px solid var(--cyan-500);
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  padding: 0.65rem 1rem;
  color: var(--paper);
  background: var(--ink-950);
  border-radius: var(--radius-sm);
  transform: translateY(-180%);
  transition: transform var(--transition);
}

.skip-link:focus {
  color: var(--paper);
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.2rem, 8vw, 7rem);
}

.section-alt {
  background:
    radial-gradient(circle at 7% 15%, rgba(95, 43, 210, 0.07), transparent 26rem),
    var(--surface);
}

.section-dark {
  color: rgba(255, 255, 255, 0.84);
  background:
    radial-gradient(circle at 88% 10%, rgba(24, 201, 182, 0.19), transparent 25rem),
    radial-gradient(circle at 10% 90%, rgba(115, 68, 228, 0.24), transparent 30rem),
    var(--ink-950);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark strong {
  color: var(--paper);
}

.section-dark .eyebrow {
  color: #7cf3e5;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-head > p {
  margin: 0.65rem 0 0;
  color: var(--slate-600);
  font-size: clamp(1rem, 1.6vw, 1.12rem);
}

.split-head {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.8rem;
  color: var(--violet-700);
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 1.45rem;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--cyan-500), var(--yellow-500));
  border-radius: 999px;
}

.lead {
  color: var(--slate-700);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.grid {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.6rem);
}

.two-column,
.contact-grid,
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.article-layout.article-layout-manual {
  max-width: 900px;
  grid-template-columns: minmax(0, 1fr);
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(39, 16, 87, 0.1);
  background: rgba(255, 255, 255, 0.91);
  box-shadow: 0 8px 28px rgba(16, 5, 37, 0.05);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
}

.logo,
.footer-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  margin-right: auto;
}

.logo-image {
  width: 70px;
  height: 62px;
  object-fit: contain;
  aspect-ratio: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.55rem 0.78rem;
  color: var(--slate-800);
  border-radius: 0.6rem;
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition), background-color var(--transition);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--violet-700);
  background: var(--surface-strong);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: var(--ink-950);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: 0.8rem;
  font-size: 1.45rem;
  line-height: 1;
}

/* Buttons and links */

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.12rem;
  color: var(--ink-950);
  background: var(--paper);
  border: 1px solid transparent;
  border-radius: 0.8rem;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition), background-color var(--transition), border-color var(--transition);
}

.btn:hover {
  color: inherit;
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--paper);
  background: linear-gradient(135deg, var(--violet-700), var(--blue-600));
  box-shadow: 0 10px 24px rgba(76, 29, 180, 0.22);
}

.btn-primary:hover {
  color: var(--paper);
  box-shadow: 0 14px 30px rgba(76, 29, 180, 0.3);
}

.btn-secondary {
  color: var(--violet-700);
  background: var(--paper);
  border-color: rgba(76, 29, 180, 0.24);
}

.btn-secondary:hover {
  color: var(--ink-800);
  border-color: var(--violet-600);
  box-shadow: var(--shadow-sm);
}

.btn-line {
  color: #052e21;
  background: var(--line-500);
  border-color: rgba(0, 0, 0, 0.07);
  box-shadow: 0 11px 26px rgba(6, 199, 85, 0.23);
}

.btn-line:hover {
  color: #052e21;
  background: #18d865;
  box-shadow: 0 15px 32px rgba(6, 199, 85, 0.31);
}

.btn-ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.34);
}

.btn-ghost:hover {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.14);
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--violet-700);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--cyan-600);
}

/* Hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.6rem, 8vw, 7rem);
  background:
    radial-gradient(circle at 91% 3%, rgba(24, 201, 182, 0.18), transparent 30rem),
    radial-gradient(circle at 3% 58%, rgba(95, 43, 210, 0.12), transparent 34rem),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 80%);
}

.hero::after {
  position: absolute;
  right: -6rem;
  bottom: -10rem;
  z-index: -1;
  width: 26rem;
  height: 26rem;
  content: "";
  border: 1px solid rgba(95, 43, 210, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 3.5rem rgba(95, 43, 210, 0.025), 0 0 0 7rem rgba(24, 201, 182, 0.025);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(2.25rem, 6vw, 5.5rem);
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-copy h1 {
  background: linear-gradient(120deg, var(--ink-950) 14%, var(--violet-700) 60%, var(--cyan-600));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy .lead {
  max-width: 640px;
  margin-block: 1.25rem 0;
}

.hero-actions,
.card-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.hero-actions {
  margin-top: 1.65rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.trust-row li {
  position: relative;
  padding: 0.45rem 0.75rem 0.45rem 1.75rem;
  color: var(--slate-700);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
}

.trust-row li::before {
  position: absolute;
  left: 0.68rem;
  top: 50%;
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: var(--cyan-500);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(24, 201, 182, 0.15);
}

.hero-media,
.service-hero {
  position: relative;
}

.hero-image,
.service-hero img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
  background: transparent;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-proof {
  position: absolute;
  right: 1rem;
  bottom: -1rem;
  max-width: 270px;
  display: grid;
  padding: 0.85rem 1rem;
  color: var(--paper);
  background: rgba(16, 5, 37, 0.93);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 0.9rem;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.hero-proof strong {
  color: #7cf3e5;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.83rem;
}

/* Cards */

.cards,
.service-grid,
.product-grid,
.feature-grid,
.audience-grid,
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.service-card,
.audience-card,
.comparison-card,
.answer-box,
.check-card,
.callout {
  min-width: 0;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: rgba(95, 43, 210, 0.25);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card-media,
.feature-image {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(145deg, #f8f6ff, #eefaf8);
}

.card-media img,
.product-image,
.card-image,
.feature-image img,
.article-cover,
.gallery-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  aspect-ratio: auto;
}

.card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: clamp(1.1rem, 2vw, 1.45rem);
}

.card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.card-body > p {
  color: var(--slate-600);
}

.card-actions {
  margin-top: auto;
  padding-top: 0.6rem;
}

.badge {
  align-self: flex-start;
  display: inline-flex;
  margin-bottom: 0.72rem;
  padding: 0.28rem 0.58rem;
  color: var(--violet-700);
  background: var(--surface-strong);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
}

.price {
  color: var(--coral-600);
  font-size: 1.35rem;
  font-weight: 850;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: auto;
}

.product-meta div {
  padding: 0.65rem;
  background: var(--surface);
  border-radius: 0.7rem;
}

.product-meta dt {
  color: var(--slate-600);
  font-size: 0.74rem;
  font-weight: 700;
}

.product-meta dd {
  margin: 0;
  color: var(--ink-950);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card,
.audience-card,
.comparison-card {
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.service-card {
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  display: inline-grid;
  margin-bottom: 1.1rem;
  place-items: center;
  color: var(--paper);
  background: linear-gradient(135deg, var(--violet-700), var(--cyan-600));
  border-radius: 0.9rem;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 9px 22px rgba(76, 29, 180, 0.2);
}

.service-card p,
.audience-card p,
.comparison-card p {
  color: var(--slate-600);
}

.feature-card {
  min-width: 0;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  color: var(--ink-950);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  color: var(--ink-950);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-content {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem 1.2rem;
}

.feature-content small {
  color: var(--slate-600);
  font-size: 0.88rem;
}

.check-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  color: var(--slate-800);
}

.check-list,
.checklist,
.number-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li,
.checklist li {
  position: relative;
  display: grid;
  gap: 0.1rem;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--slate-200);
}

.check-list li:last-child,
.checklist li:last-child {
  border-bottom: 0;
}

.check-list li::before,
.checklist li::before {
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: grid;
  content: "\2713";
  place-items: center;
  color: var(--paper);
  background: var(--cyan-600);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
}

.check-list span,
.checklist span {
  color: var(--slate-600);
  font-size: 0.9rem;
}

.number-list {
  counter-reset: item;
}

.number-list li {
  position: relative;
  padding: 0.8rem 0 0.8rem 3rem;
  counter-increment: item;
}

.number-list li::before {
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  content: counter(item);
  place-items: center;
  color: var(--violet-700);
  background: var(--surface-strong);
  border-radius: 0.7rem;
  font-weight: 900;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  position: relative;
  min-width: 0;
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.process-step > span:first-child {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--cyan-600);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.process-step p {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 0.92rem;
}

/* Tables */

.table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  margin-block: 1rem 2rem;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--violet-500) var(--surface-strong);
  scrollbar-width: thin;
}

.table-scroll:focus-visible {
  outline-offset: 2px;
}

.pricing-table,
.admin-table,
table {
  width: 100%;
  min-width: 680px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--slate-800);
  background: var(--paper);
  font-size: 0.94rem;
}

.pricing-table caption,
table caption {
  padding: 1rem 1.1rem;
  color: var(--ink-950);
  font-weight: 800;
  text-align: left;
}

.pricing-table th,
.pricing-table td,
.admin-table th,
.admin-table td,
table th,
table td {
  padding: 0.88rem 1rem;
  border-bottom: 1px solid var(--slate-200);
  text-align: left;
  vertical-align: top;
}

.pricing-table thead th,
.admin-table thead th,
table thead th {
  position: relative;
  color: var(--paper);
  background: var(--ink-800);
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.pricing-table tbody tr:nth-child(even),
.admin-table tbody tr:nth-child(even),
table tbody tr:nth-child(even) {
  background: var(--surface);
}

.pricing-table tbody tr:hover,
.admin-table tbody tr:hover,
table tbody tr:hover {
  background: var(--cyan-100);
}

.pricing-table tbody tr:last-child > *,
.admin-table tbody tr:last-child > *,
table tbody tr:last-child > * {
  border-bottom: 0;
}

.pricing-table td:first-child,
.pricing-table th:first-child {
  font-weight: 750;
}

.note,
.callout,
.answer-box,
.article-cta {
  padding: 1.1rem 1.25rem;
}

.note {
  color: #543100;
  background: #fff8dc;
  border: 1px solid #eedb87;
  border-left: 5px solid var(--yellow-500);
  border-radius: var(--radius-sm);
}

.callout {
  color: var(--slate-800);
  background: linear-gradient(135deg, var(--cyan-100), #f8f5ff);
  border-color: rgba(24, 201, 182, 0.28);
}

/* FAQ */

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  overflow: clip;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(16, 5, 37, 0.03);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item:has(.faq-question[aria-expanded="true"]) {
  border-color: rgba(95, 43, 210, 0.38);
  box-shadow: var(--shadow-sm);
}

.faq-item h3 {
  margin: 0;
  font-size: 1rem;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.15rem;
  color: var(--ink-950);
  background: transparent;
  border: 0;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}

.faq-question:hover {
  background: var(--surface);
}

.faq-symbol {
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  display: grid;
  place-items: center;
  color: var(--violet-700);
  background: var(--surface-strong);
  border-radius: 50%;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--transition), background-color var(--transition), color var(--transition);
}

.faq-question[aria-expanded="true"] .faq-symbol {
  color: var(--paper);
  background: var(--violet-600);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--slate-700);
}

.faq-answer p {
  margin: 0;
}

/* Breadcrumbs, services and articles */

.breadcrumbs {
  padding-block: 1rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  color: var(--slate-600);
  list-style: none;
  font-size: 0.86rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  color: var(--slate-300);
}

.breadcrumbs a {
  color: var(--violet-700);
  text-decoration: none;
}

.service-hero {
  padding-block: clamp(3.4rem, 7vw, 6rem);
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.article-content {
  min-width: 0;
  color: var(--slate-800);
}

.article-content > :is(p, ul, ol, blockquote) {
  max-width: 78ch;
}

.article-content h2 {
  margin-top: clamp(2rem, 5vw, 3.25rem);
}

.article-content h3 {
  margin-top: 1.7rem;
}

.article-content ul,
.article-content ol {
  padding-left: 1.35rem;
}

.article-content li + li {
  margin-top: 0.45rem;
}

.article-lead {
  color: var(--slate-700);
  font-size: 1.17rem;
  line-height: 1.85;
}

.article-cover {
  margin-bottom: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.article-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.25rem);
  display: grid;
  gap: 1rem;
}

.article-aside > *,
.related-links {
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.related-links ul {
  padding-left: 1.15rem;
}

.article-cta {
  margin-block: 2rem;
  color: var(--paper);
  background: linear-gradient(135deg, var(--ink-800), var(--violet-700));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.article-cta h2,
.article-cta h3,
.article-cta strong {
  color: var(--paper);
}

/* Conversion bands and footer */

.cta-band {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6vw, 4.5rem);
  color: rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 90% 20%, rgba(24, 201, 182, 0.3), transparent 22rem),
    linear-gradient(120deg, var(--ink-950), var(--violet-700));
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2,
.cta-band strong {
  color: var(--paper);
}

.cta-band p {
  max-width: 760px;
  margin-bottom: 0;
}

.cta-band .eyebrow {
  color: #7cf3e5;
}

.cta-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
}

.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  color: rgba(255, 255, 255, 0.73);
  background: #0b031a;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 0.75fr));
  gap: clamp(2rem, 5vw, 4rem);
}

.site-footer h2 {
  color: var(--paper);
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.52rem;
}

.site-footer a:not(.btn) {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.site-footer a:not(.btn):hover {
  color: #7cf3e5;
}

.footer-logo .logo-image {
  width: 118px;
  height: 104px;
}

.footer-brand p {
  max-width: 46ch;
}

.footer-note {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.84rem;
}

.footer-embed {
  width: 100%;
  overflow: hidden;
}

.footer-embed iframe {
  width: 100%;
  max-width: 100%;
  display: block;
  border: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.mobile-cta {
  display: none;
}

/* Forms and contact */

form {
  min-width: 0;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-950);
  font-size: 0.9rem;
  font-weight: 750;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 0.82rem;
  color: var(--slate-950);
  background: var(--paper);
  border: 1px solid var(--slate-300);
  border-radius: 0.72rem;
  box-shadow: inset 0 1px 2px rgba(16, 5, 37, 0.035);
  transition: border-color var(--transition), box-shadow var(--transition);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--violet-500);
  outline: none;
  box-shadow: 0 0 0 4px rgba(95, 43, 210, 0.12);
}

input[type="checkbox"],
input[type="radio"] {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--violet-600);
}

.contact-grid > * {
  min-width: 0;
}

/* Secondary heroes, product detail and price-page patterns */

.page-hero,
.contact-hero,
.product-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 92% 0%, rgba(24, 201, 182, 0.15), transparent 24rem),
    linear-gradient(180deg, #faf8ff, #ffffff);
}

.page-hero.compact {
  padding-block: clamp(2.7rem, 5.5vw, 4.6rem);
}

.page-hero .container,
.article-header {
  max-width: 900px;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.product-visual,
.product-summary {
  min-width: 0;
}

.product-visual {
  display: grid;
  place-items: center;
}

.product-visual img,
.product-detail-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product-summary .lead {
  margin-bottom: 1.25rem;
}

.product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  margin-block: 1.15rem;
  color: var(--slate-600);
}

.product-price strong {
  color: var(--coral-600);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
}

.detail-grid,
.factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid > *,
.factor-grid > * {
  min-width: 0;
  padding: 1.05rem;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.detail-label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--violet-700);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.25rem 1rem;
  padding: 1.1rem 1.25rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--slate-700);
  background: linear-gradient(135deg, var(--cyan-100), #f5f1ff);
  border: 1px solid rgba(24, 201, 182, 0.33);
  border-radius: var(--radius-md);
}

.price-notice strong {
  grid-row: 1 / span 2;
  align-self: start;
  padding: 0.25rem 0.55rem;
  color: var(--paper);
  background: var(--violet-700);
  border-radius: 0.5rem;
  font-size: 0.8rem;
}

.price-notice p {
  margin: 0;
}

.emphasis-table tbody td:last-child,
.emphasis-table tbody th:last-child {
  color: var(--coral-600);
  font-weight: 850;
}

.size-table-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 3vw, 2rem);
}

.hero-grid > *,
.product-hero-grid > *,
.two-column > *,
.contact-grid > *,
.article-layout > *,
.size-table-grid > * {
  min-width: 0;
}

.warning-note {
  padding: 1.05rem 1.2rem;
  margin-top: 1.25rem;
  color: #6f2430;
  background: #fff1f3;
  border: 1px solid #f2bdc6;
  border-left: 5px solid var(--coral-500);
  border-radius: var(--radius-sm);
}

.warning-note p {
  margin: 0.25rem 0 0;
}

.comparison-card {
  display: grid;
  gap: 0.85rem;
}

.comparison-card > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem;
  background: var(--surface);
  border-radius: 0.8rem;
}

.comparison-card > div > span {
  color: var(--violet-700);
  font-size: 0.78rem;
  font-weight: 850;
}

.section-dark .comparison-card,
.section-dark .check-card {
  color: var(--slate-800);
}

.section-dark .comparison-card h2,
.section-dark .comparison-card h3,
.section-dark .comparison-card strong,
.section-dark .check-card h2,
.section-dark .check-card h3,
.section-dark .check-card strong {
  color: var(--ink-950);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  min-width: 0;
  overflow: hidden;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.gallery-image {
  background: linear-gradient(145deg, #f8f6ff, #effaf8);
}

.gallery-grid figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--slate-600);
  border-top: 1px solid var(--slate-200);
  font-size: 0.85rem;
}

/* Blog and article detail */

.article-page {
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.article-header {
  padding-block: clamp(2.8rem, 6vw, 5rem) clamp(1.8rem, 4vw, 3rem);
  text-align: center;
}

.article-header .lead {
  max-width: 760px;
  margin-inline: auto;
}

.article-byline,
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  color: var(--slate-600);
  font-size: 0.82rem;
}

.article-byline {
  justify-content: center;
  margin-top: 1.2rem;
}

.article-cover-wrap {
  margin-bottom: clamp(2.2rem, 5vw, 4rem);
}

.article-cover-large {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.blog-card h2 {
  font-size: clamp(1.15rem, 2vw, 1.38rem);
}

.post-meta {
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.post-meta span {
  color: var(--violet-700);
  font-weight: 800;
}

.sticky-card,
.aside-links {
  display: grid;
  gap: 0.7rem;
  padding: 1.15rem;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

.sticky-card p {
  margin-bottom: 0;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.aside-links a {
  padding-top: 0.55rem;
  color: var(--violet-700);
  border-top: 1px solid var(--slate-200);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.article-callout {
  padding: clamp(1.2rem, 3vw, 1.7rem);
  margin-block: 2rem;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(135deg, var(--ink-800), var(--violet-700));
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.article-callout h2,
.article-callout h3,
.article-callout strong {
  color: var(--paper);
}

.inline-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.inline-service-grid a {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  color: var(--ink-950);
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 0.8rem;
  text-decoration: none;
}

.inline-service-grid a:hover {
  border-color: var(--violet-500);
}

.inline-service-grid span {
  color: var(--slate-600);
  font-size: 0.85rem;
}

.article-checklist,
.article-list {
  padding: 1.05rem 1.2rem 1.05rem 2.7rem !important;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
}

/* FAQ directory */

.faq-tools {
  position: relative;
  z-index: 2;
  padding: clamp(1rem, 3vw, 1.5rem);
  margin-bottom: 2rem;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.faq-tools input[type="search"] {
  max-width: 680px;
  min-height: 52px;
  padding-left: 1rem;
  font-size: 1rem;
}

.faq-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.faq-filters button {
  min-height: 40px;
  padding: 0.5rem 0.76rem;
  color: var(--slate-700);
  background: var(--surface);
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
}

.faq-filters button:hover,
.faq-filters button[aria-pressed="true"] {
  color: var(--paper);
  background: var(--violet-700);
  border-color: var(--violet-700);
}

.faq-result {
  margin: 0.8rem 0 0;
  color: var(--slate-600);
  font-size: 0.84rem;
}

.faq-group + .faq-group {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.faq-group > h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.7vw, 1.9rem);
}

/* Contact and quote summary */

.contact-grid {
  align-items: center;
}

.contact-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.7rem;
}

.contact-facts > div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
}

.contact-facts strong {
  color: var(--violet-700);
  font-size: 0.78rem;
}

.contact-facts span {
  color: var(--slate-700);
  font-size: 0.9rem;
}

.contact-checklist h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.quote-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.6rem);
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.quote-form label {
  margin: 0;
}

.quote-form label > :is(input, select, textarea) {
  margin-top: 0.4rem;
}

.quote-summary {
  padding: 1rem;
  color: var(--slate-800);
  background: var(--cyan-100);
  border: 1px solid rgba(24, 201, 182, 0.35);
  border-radius: var(--radius-sm);
  white-space: pre-line;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Empty and error states */

.empty-state,
.empty-page {
  max-width: 720px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  margin-inline: auto;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.empty-page {
  margin-block: clamp(3rem, 8vw, 7rem);
}

.error-code {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--violet-600);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
}

/* Admin-compatible layer */

.admin-body {
  background: var(--surface);
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  background: var(--ink-950);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--paper);
  font-weight: 850;
  text-decoration: none;
}

.admin-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.admin-nav {
  display: grid;
  gap: 0.25rem;
}

.admin-nav a {
  display: block;
  padding: 0.68rem 0.78rem;
  color: rgba(255, 255, 255, 0.72);
  border-radius: 0.65rem;
  font-weight: 700;
  text-decoration: none;
}

.admin-nav a:hover,
.admin-nav a[aria-current="page"],
.admin-nav a.active {
  color: var(--paper);
  background: rgba(255, 255, 255, 0.11);
}

.admin-main {
  min-width: 0;
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-card,
.admin-panel,
.admin-form {
  min-width: 0;
  padding: 1.2rem;
  background: var(--paper);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.admin-form {
  display: grid;
  gap: 1rem;
}

.admin-form-row,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.admin-login,
.login-shell {
  min-height: 100vh;
  display: grid;
  padding: 1rem;
  place-items: center;
  background:
    radial-gradient(circle at 10% 10%, rgba(24, 201, 182, 0.18), transparent 24rem),
    radial-gradient(circle at 90% 90%, rgba(115, 68, 228, 0.3), transparent 30rem),
    var(--ink-950);
}

.admin-login-card,
.login-card {
  width: min(100%, 460px);
  padding: clamp(1.4rem, 4vw, 2.25rem);
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.alert,
.admin-alert {
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  color: var(--slate-800);
  background: var(--surface-strong);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
}

.alert-success,
.status-success {
  color: #0c573b;
  background: #e8f8f1;
  border-color: #b9e4d2;
}

.alert-warning,
.status-warning {
  color: #704100;
  background: #fff7d9;
  border-color: #efd67a;
}

.alert-error,
.status-error {
  color: #84152a;
  background: #fff0f2;
  border-color: #f0bac4;
}

.status,
.admin-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

/* Responsive */

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: grid;
    order: 2;
  }

  .header-cta {
    order: 1;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 1rem;
    left: 1rem;
    z-index: 1001;
    display: grid;
    max-height: calc(100vh - var(--header-height) - 1rem);
    overflow-y: auto;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.7rem) scale(0.98);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.is-open,
  .nav-links[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-links a {
    padding: 0.85rem 0.9rem;
  }

  .hero-grid,
  .product-hero-grid,
  .two-column,
  .contact-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero-media {
    width: min(100%, 760px);
  }

  .service-grid,
  .feature-grid,
  .audience-grid,
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid,
  .factor-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: relative;
    height: auto;
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.pagination span {
  color: var(--slate-600);
  font-weight: 750;
}

@media (max-width: 680px) {
  :root {
    --radius-lg: 1.2rem;
  }

  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
    font-size: 0.98rem;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--container));
  }

  .section {
    padding-block: 3.6rem;
  }

  .logo-image {
    width: 58px;
    height: 54px;
  }

  .header-cta {
    min-height: 42px;
    padding-inline: 0.78rem;
    font-size: 0.86rem;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-block: 2.9rem 4rem;
  }

  .hero-grid {
    gap: 2.2rem;
  }

  .hero-actions .btn {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .hero-actions .text-link {
    flex-basis: 100%;
  }

  .hero-proof {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin-top: 0.7rem;
  }

  .split-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards,
  .service-grid,
  .product-grid,
  .feature-grid,
  .audience-grid,
  .blog-grid,
  .process-grid,
  .detail-grid,
  .factor-grid,
  .gallery-grid,
  .size-table-grid,
  .inline-service-grid,
  .article-aside,
  .admin-grid,
  .admin-form-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card-actions .btn {
    width: 100%;
  }

  .product-meta {
    grid-template-columns: 1fr;
  }

  .table-scroll {
    margin-inline: -0.15rem;
    width: calc(100% + 0.3rem);
    border-radius: 0.8rem;
  }

  .pricing-table,
  .admin-table,
  table {
    min-width: 620px;
    font-size: 0.88rem;
  }

  .pricing-table th,
  .pricing-table td,
  .admin-table th,
  .admin-table td,
  table th,
  table td {
    padding: 0.74rem 0.78rem;
  }

  .cta-actions,
  .cta-actions .btn {
    width: 100%;
  }

  .price-notice {
    grid-template-columns: 1fr;
  }

  .price-notice strong {
    grid-row: auto;
    justify-self: start;
  }

  .contact-facts {
    grid-template-columns: 1fr;
  }

  .form-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 0.5rem;
    padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid var(--slate-200);
    box-shadow: 0 -10px 30px rgba(16, 5, 37, 0.13);
    backdrop-filter: blur(14px);
  }

  .mobile-cta a {
    min-height: 46px;
    display: grid;
    padding: 0.65rem;
    place-items: center;
    color: var(--violet-700);
    background: var(--paper);
    border: 1px solid rgba(76, 29, 180, 0.25);
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
  }

  .mobile-cta .mobile-cta-line {
    color: #052e21;
    background: var(--line-500);
    border-color: var(--line-500);
  }

  .admin-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 410px) {
  .header-cta {
    display: none;
  }

  .logo {
    margin-right: auto;
  }

  .hero-actions .btn {
    flex-basis: 100%;
  }

  .trust-row li {
    flex: 1 1 calc(50% - 0.3rem);
  }
}

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

@media print {
  .site-header,
  .site-footer,
  .mobile-cta,
  .hero-actions,
  .cta-band,
  .nav-toggle,
  .article-aside {
    display: none !important;
  }

  body {
    padding: 0;
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .hero {
    padding-block: 1.2rem;
  }

  .card,
  .table-scroll,
  .faq-item {
    box-shadow: none;
    break-inside: avoid;
  }

  .table-scroll {
    overflow: visible;
  }

  table,
  .pricing-table {
    min-width: 0;
  }
}
