/**
 * Main theme stylesheet.
 *
 * Layout primitives, typography, forms, WordPress compat,
 * accessibility, print styles.
 */

/* ── Smooth Scroll ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--zb-header-height-sticky);
}

/* ── Selection Color ── */
::selection {
  background: var(--zb-primary);
  color: #fff;
}

/* ── Focus Styles ── */
*:focus-visible {
  outline: 2px solid var(--zb-primary);
  outline-offset: 2px;
}

/* ── Container ── */
.zt-container {
  max-width: var(--zb-container-width);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ── Main Content Area ── */
.zt-main {
  min-height: 60vh;
  padding-block: var(--zb-space-xl);
}

.zt-builder-page .zt-main,
.zt-main.zt-builder-page {
  padding-block: 0;
}

/* ── Builder Full-Width Content ── */
.zt-content--full-width {
  max-width: none;
  padding: 0;
}

/* ── Page-Level Header/Footer Hide ── */
.zt-no-header .zt-header { display: none; }
.zt-no-footer .zt-footer { display: none; }

/* ── Sidebar Layout ── */
.zt-layout-sidebar {
  display: grid;
  gap: var(--zb-space-xl);
  align-items: start;
}

.zt-layout-sidebar.zt-sidebar-right {
  grid-template-columns: 1fr var(--zb-sidebar-width);
}

.zt-layout-sidebar.zt-sidebar-left {
  grid-template-columns: var(--zb-sidebar-width) 1fr;
}

.zt-layout-sidebar.zt-sidebar-left .zt-sidebar {
  order: -1;
}

@media (max-width: 991px) {
  .zt-layout-sidebar {
    grid-template-columns: 1fr;
  }

  .zt-layout-sidebar.zt-sidebar-left .zt-sidebar {
    order: 0;
  }
}

/* ── Typography Scale ── */
h1 { font-size: 2.5rem; margin-bottom: var(--zb-space-lg); }
h2 { font-size: 2rem; margin-bottom: var(--zb-space-md); }
h3 { font-size: 1.5rem; margin-bottom: var(--zb-space-md); }
h4 { font-size: 1.25rem; margin-bottom: var(--zb-space-sm); }
h5 { font-size: 1.125rem; margin-bottom: var(--zb-space-sm); }
h6 { font-size: 1rem; margin-bottom: var(--zb-space-sm); }

p {
  margin-bottom: var(--zb-space-md);
}

blockquote {
  border-left: 4px solid var(--zb-primary);
  padding: var(--zb-space-md) var(--zb-space-lg);
  margin: var(--zb-space-lg) 0;
  background: var(--zb-bg-alt);
  font-style: italic;
  color: var(--zb-text-light);
}

pre {
  background: var(--zb-bg-alt);
  border: 1px solid var(--zb-border);
  border-radius: 4px;
  padding: var(--zb-space-md);
  overflow-x: auto;
  font-size: 0.875rem;
  margin-bottom: var(--zb-space-lg);
}

code {
  background: var(--zb-bg-alt);
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.875em;
}

pre code {
  background: none;
  padding: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--zb-border);
  margin: var(--zb-space-xl) 0;
}

ul, ol {
  margin: 0 0 var(--zb-space-md) var(--zb-space-lg);
}

li {
  margin-bottom: var(--zb-space-xs);
}

/* ── Tables ── */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--zb-space-lg);
}

th, td {
  padding: var(--zb-space-sm) var(--zb-space-md);
  border: 1px solid var(--zb-border);
  text-align: left;
}

th {
  background: var(--zb-bg-alt);
  font-weight: 600;
}

.zt-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Form Defaults ── */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
  width: 100%;
  padding: var(--zb-space-sm) var(--zb-space-md);
  border: 2px solid var(--zb-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--zb-text);
  background: var(--zb-bg);
  transition: border-color var(--zb-transition-fast);
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--zb-primary);
  outline: none;
}

button,
input[type="submit"],
input[type="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--zb-space-sm) var(--zb-space-lg);
  background: var(--zb-primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--zb-transition-fast);
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  background: var(--zb-secondary);
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--zb-space-xs);
  font-size: 0.9375rem;
}

/* ── Page Header ── */
.zt-page-header {
  margin-bottom: var(--zb-space-xl);
}

.zt-page-title {
  font-size: 2rem;
}

.zt-archive-description {
  margin-top: var(--zb-space-sm);
  color: var(--zb-text-light);
  font-size: 1.0625rem;
}

/* ── Search Form ── */
.zt-search-form {
  display: flex;
  max-width: 480px;
}

.zt-search-field {
  flex: 1;
  border-right: none;
  border-radius: 4px 0 0 4px;
}

.zt-search-submit {
  padding: var(--zb-space-sm) var(--zb-space-md);
  border-radius: 0 4px 4px 0;
}

/* ── 404 ── */
.zt-error-404 {
  text-align: center;
  padding: var(--zb-space-2xl) 0;
}

.zt-404-content {
  max-width: 600px;
  margin: 0 auto;
}

.zt-404-content p {
  font-size: 1.125rem;
  color: var(--zb-text-light);
  margin-bottom: var(--zb-space-lg);
}

.zt-404-content .zt-search-form {
  margin: 0 auto var(--zb-space-xl);
}

.zt-404-suggestions {
  text-align: left;
}

.zt-404-suggestions ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zt-404-suggestions li {
  padding: var(--zb-space-sm) 0;
  border-bottom: 1px solid var(--zb-border);
}

/* ── Sidebar ── */
.zt-sidebar {
  font-size: 0.9375rem;
}

.zt-sidebar .widget {
  margin-bottom: var(--zb-space-lg);
  padding-bottom: var(--zb-space-lg);
  border-bottom: 1px solid var(--zb-border);
}

.zt-sidebar .widget:last-child {
  border-bottom: none;
}

.zt-sidebar .widget-title {
  font-size: 1.125rem;
  margin-bottom: var(--zb-space-md);
}

.zt-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.zt-sidebar li {
  padding: var(--zb-space-xs) 0;
}

/* ── Accessibility ── */
.screen-reader-text,
.zt-sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

.screen-reader-text:focus,
.zt-sr-only:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0,0,0,0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.skip-link {
  z-index: 999999;
}

/* ── WordPress Alignment Classes ── */
.alignleft {
  float: left;
  margin-right: var(--zb-space-lg);
  margin-bottom: var(--zb-space-md);
}

.alignright {
  float: right;
  margin-left: var(--zb-space-lg);
  margin-bottom: var(--zb-space-md);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--zb-space-md);
}

.alignwide {
  max-width: calc(var(--zb-container-width) + var(--zb-space-xl));
  margin-inline: calc(50% - 50vw + var(--zb-space-md));
  width: calc(100vw - var(--zb-space-lg));
}

.alignfull {
  max-width: none;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}

/* ── WordPress Caption ── */
.wp-caption {
  max-width: 100%;
  margin-bottom: var(--zb-space-md);
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--zb-text-light);
  padding-top: var(--zb-space-xs);
}

/* ── WordPress Gallery ── */
.gallery {
  display: grid;
  gap: var(--zb-space-sm);
  margin-bottom: var(--zb-space-lg);
}

.gallery-columns-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-columns-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-columns-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item { margin: 0; }
.gallery-item img { border-radius: 4px; }

/* ── WordPress Block Compat ── */
.wp-block-image { margin-bottom: var(--zb-space-lg); }
.wp-block-quote { border-left-color: var(--zb-primary); }
.wp-block-separator { border-color: var(--zb-border); }

/* ── Scroll to Top Button ── */
.zt-scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--zb-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--zb-shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--zb-transition-base), visibility var(--zb-transition-base), background var(--zb-transition-fast);
}

.zt-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.zt-scroll-top:hover {
  background: var(--zb-secondary);
}

/* ── Hero Featured Image ── */
.zt-hero-featured {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.zt-hero-overlay {
  width: 100%;
  padding: var(--zb-space-2xl) 0 var(--zb-space-xl);
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
}

.zt-hero-title {
  color: #fff;
  font-size: 3rem;
  margin-bottom: var(--zb-space-sm);
}

.zt-hero-overlay .zt-post-meta,
.zt-hero-overlay .zt-post-meta a {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 767px) {
  .zt-hero-featured { min-height: 280px; }
  .zt-hero-title { font-size: 2rem; }
}

/* ── Lightbox ── */
.zt-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--zb-transition-base), visibility var(--zb-transition-base);
}

.zt-lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.zt-lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* ── Breadcrumbs ── */
.zt-breadcrumbs {
  margin-bottom: var(--zb-space-lg);
  font-size: 0.875rem;
}

.zt-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--zb-space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
}

.zt-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  gap: var(--zb-space-xs);
}

.zt-breadcrumb__link {
  color: var(--zb-text-light);
}

.zt-breadcrumb__link:hover {
  color: var(--zb-primary);
}

.zt-breadcrumb__current {
  color: var(--zb-text);
  font-weight: 500;
}

.zt-breadcrumb__sep {
  color: var(--zb-border);
}

/* ── Parallax hero + rich page imagery (Gutenberg / raw HTML) ── */
.zt-parallax-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: center;
  background-color: #0f172a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}

.zt-parallax-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(15, 23, 42, 0.55) 0%,
    rgba(15, 23, 42, 0.82) 100%
  );
  z-index: 0;
}

.zt-parallax-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.zt-parallax-hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.75rem;
}

.zt-parallax-hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #fff;
  max-width: 20ch;
}

.zt-parallax-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 42ch;
}

.zt-page-rich {
  max-width: 48rem;
  margin-inline: auto;
}

.zt-page-rich h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

.zt-page-rich h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.zt-page-rich p,
.zt-page-rich li {
  line-height: 1.65;
}

.zt-page-rich ul {
  padding-left: 1.25rem;
}

.zt-content-figure {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.zt-content-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.zt-content-figure figcaption {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: var(--zb-text-light);
  background: var(--zb-bg-alt, #f8fafc);
}

.zt-cta-bar {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--zb-primary, #1a5276), #0f172a);
  color: #fff;
}

.zt-cta-bar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 768px) {
  .zt-parallax-hero[data-zt-parallax="true"] {
    background-attachment: scroll !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zt-parallax-hero[data-zt-parallax="true"] {
    background-attachment: scroll !important;
  }
}

/* ── Modern home: video / image hero + category cards ── */
.zt-hero-media {
  position: relative;
  min-height: min(88vh, 52rem);
  display: flex;
  align-items: center;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  background: #030712;
}

.zt-hero-media__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.zt-hero-media__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  animation: zt-hero-ken 22s ease-in-out infinite alternate;
}

.zt-hero-media:has(.zt-hero-media__video:not([style*="display: none"])) .zt-hero-media__bg {
  display: none;
}

@keyframes zt-hero-ken {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zt-hero-media__bg {
    animation: none;
    transform: none;
  }
}

.zt-hero-media__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    145deg,
    rgba(3, 7, 18, 0.5) 0%,
    rgba(15, 23, 42, 0.88) 55%,
    rgba(3, 7, 18, 0.92) 100%
  );
  pointer-events: none;
}

.zt-hero-media__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.07;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.zt-hero-media__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 5rem);
}

.zt-hero-media__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1rem;
}

.zt-hero-media__eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--zb-primary, #1f4b99), transparent);
}

.zt-hero-media__title {
  margin: 0 0 1rem;
  font-size: clamp(2.1rem, 4.8vw, 3.25rem);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 16ch;
}

.zt-hero-media__lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.92);
  max-width: 38ch;
}

.zt-hero-media__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.zt-hero-media__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.zt-hero-media__btn--primary {
  background: #fff;
  color: #0f172a;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.zt-hero-media__btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.zt-hero-media__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.zt-hero-media__btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.zt-home-band {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.zt-home-band--alt {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.zt-home-band__title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--zb-heading, #0f172a);
}

.zt-home-band__lead {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--zb-text-light, #475569);
}

.zt-home-cats {
  display: grid;
  gap: clamp(1rem, 2vw, 1.25rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

.zt-home-cat-card {
  position: relative;
  padding: 1.5rem 1.35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  scroll-margin-top: calc(var(--zb-header-height-sticky, 72px) + 1rem);
}

.zt-home-cat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: var(--zt-cat-accent, var(--zb-primary, #1f4b99));
}

.zt-home-cat-card--software {
  --zt-cat-accent: #1f4b99;
}

.zt-home-cat-card--hosting {
  --zt-cat-accent: #0f766e;
}

.zt-home-cat-card--digital {
  --zt-cat-accent: #c2410c;
}

.zt-home-cat-card--hardware {
  --zt-cat-accent: #6d28d9;
}

.zt-home-cat-card__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zb-text-light, #64748b);
  margin: 0 0 0.35rem;
}

.zt-home-cat-card__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--zb-heading, #0f172a);
  line-height: 1.25;
}

.zt-home-cat-card__text {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--zb-text-light, #475569);
}

.zt-home-cat-card__links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.zt-home-cat-card__links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--zb-primary, #1f4b99);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.zt-home-cat-card__links a::after {
  content: "→";
  font-size: 0.85em;
  opacity: 0.65;
  transition: transform 0.15s ease;
}

.zt-home-cat-card__links a:hover::after {
  transform: translateX(3px);
}

.zt-home-why {
  max-width: 38rem;
  margin-inline: auto;
}

.zt-home-why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.zt-home-why__list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--zb-text, #334155);
}

.zt-home-why__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--zb-primary, #1f4b99);
  box-shadow: 0 0 0 3px rgba(31, 75, 153, 0.2);
}

.zt-home-cta-modern {
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding-block: clamp(3.5rem, 7vw, 5rem);
  background: linear-gradient(125deg, #1f4b99 0%, #0f172a 55%, #020617 100%);
  text-align: center;
}

.zt-home-cta-modern__title {
  margin: 0 auto 0.75rem;
  max-width: 22ch;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}

.zt-home-cta-modern__text {
  margin: 0 auto 1.5rem;
  max-width: 40ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: rgba(226, 232, 240, 0.9);
}

.zt-home-cta-modern__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  background: #fff;
  color: #1f4b99;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.zt-home-cta-modern__btn:hover {
  transform: translateY(-2px);
}

/* ── Services page (matching EN/ES HTML blocks) ── */
.zt-parallax-hero--compact {
  min-height: min(48vh, 26rem);
}

.zt-services-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.75;
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
  color: var(--zb-text, #334155);
}

.zt-services-video-frame {
  margin: 2.5rem auto;
  max-width: 56rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
}

.zt-services-video-frame video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.zt-services-split-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
  margin: 2rem 0 2.75rem;
}

.zt-services-breakdown h2 {
  margin-top: 0;
}

.zt-services-breakdown h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.zt-services-breakdown p {
  margin: 0 0 0.5rem;
  line-height: 1.65;
}

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

/* ── Print Stylesheet ── */
@media print {
  .zt-header,
  .zt-footer,
  .zt-sidebar,
  .zt-scroll-top,
  .zt-share,
  .zt-related-posts,
  .zt-pagination,
  .zt-breadcrumbs,
  .zt-mobile-menu,
  .zt-top-bar,
  .skip-link,
  #zt-scroll-top {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .zt-main {
    padding: 0;
  }

  .zt-container {
    max-width: none;
    padding: 0;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  a[href^="#"]::after,
  a[href^="javascript"]::after {
    content: "";
  }

  img {
    max-width: 100% !important;
  }
}
