
/* --- Start of theme.css --- */
/*
 * Palette tokens. Change colour here only - everything downstream resolves
 * through these, including the page-scoped token blocks further down.
 * Contrast (WCAG AA, verified): charcoal/ivory 12.6, charcoal/white 14.2,
 * charcoal/sand 8.7, white/sage 4.8, white/sage-deep 8.3.
 * Raw sage (#5B7A63) and raw blue (#3E7EA6) FAIL AA as text on ivory, so
 * -text variants exist for type and the raw values are for fills only.
 */
:root {
  /* Core palette */
  --color-primary:      #5B7A63;  /* sage - hero bgs, primary buttons, icons */
  --color-primary-dark: #4D6854;  /* sage hover fill (white text 6.1) */
  --color-primary-deep: #3E5344;  /* footer / hero base (white text 8.3) */
  --color-primary-text: #57755F;  /* sage as TEXT on light - AA 4.5 */
  --color-primary-soft: #E9EEEA;  /* sage wash */
  --color-bg:           #F4F1EA;  /* warm ivory - default page background */
  --color-surface:      #FFFFFF;  /* cards, modals, lifted blocks */
  --color-text:         #2B2B2B;  /* charcoal - TEXT ONLY, never a large fill */
  --color-text-muted:   #5F5F5C;
  --color-accent:       #3E7EA6;  /* calm blue - borders, badges, focus */
  --color-accent-text:  #397499;  /* blue as TEXT/link - AA 4.5 */
  --color-accent-soft:  #F0F5F9;
  --color-sand:         #D9C9A3;  /* secondary accent - sparing */
  --color-sand-soft:    #EFE7D5;
  --color-border:       #E2DCCD;

  /* Legacy aliases - retargeted so existing rules inherit the palette */
  --color-brand-blue:   var(--color-accent-text);
  --color-charcoal:     var(--color-text);
  --color-slate:        var(--color-text-muted);
  --color-mist-blue:    var(--color-accent-soft);
  --color-gold:         var(--color-sand);
  --color-sage:         var(--color-primary);
  --color-cloud-white:  var(--color-bg);

  /* Theme mappings */
  --nexlotech-primary:        var(--color-primary);
  --nexlotech-primary-dark:   var(--color-primary-dark);
  --nexlotech-primary-darker: var(--color-primary-deep);
  --nexlotech-primary-light:  var(--color-primary-soft);
  --nexlotech-primary-soft:   #CBD8CD;
  --nexlotech-secondary:      var(--color-text-muted);
  --nexlotech-accent:         var(--color-sand);
  /* Footer intentionally uses charcoal as a fill (overrides the
     "charcoal for text only" rule) to match the reference design.
     White on charcoal = 14.16, well clear of AA. */
  --nexlotech-footer-bg:      #3f4a49;
  --nexlotech-footer-text:    #FFFFFF;
  --nexlotech-footer-link:    #FFFFFF;
  --nexlotech-footer-link-hover: #ffffff;
  --nexlotech-radius-sm: 0.5rem;
  --nexlotech-radius-md: 0.75rem;
  --nexlotech-radius-lg: 1rem;
  --nexlotech-shadow-sm: 0 6px 14px rgba(43, 43, 42, 0.06);
  --nexlotech-shadow-md: 0 12px 28px rgba(43, 43, 42, 0.1);
  --nexlotech-body-font: "Mulish", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --nexlotech-heading-font: var(--nexlotech-body-font);
}

body {
  background-color: var(--color-bg);
  color: var(--color-charcoal);
  font-family: var(--nexlotech-body-font);
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--color-charcoal);
  font-family: var(--nexlotech-heading-font);
}

/* --- Uniform Heading Typography System --- */
h1,
.page-banner-title,
.hero-title,
.home-hero-title,
.contact-hero-title,
.about-hero-title,
.cp-hero-title,
.service-hero-title,
.testimonial-archive-hero-title {
  font-family: var(--nexlotech-heading-font) !important;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
}

.page-banner-title em,
.hero-title em,
.home-hero-title em,
.contact-hero-title em,
.about-hero-title em,
.cp-hero-title em {
  font-style: italic !important;
  color: var(--color-sand, #D9C9A3) !important;
  font-family: var(--nexlotech-heading-font) !important;
}

h2:not(.blog-card-minimal-title):not(.service-card-title):not(.home-card-title):not(.home-services-program-card-title):not(.card-title),
.home-section-title,
.about-intro-heading,
.contact-card-heading,
.home-cta-heading,
.nexlotech-faq-title,
.service-inclusions-heading,
.service-overview-heading,
.testimonial-archive-heading {
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
}

h3:not(.blog-card-minimal-title):not(.service-card-title):not(.home-card-title):not(.home-services-program-card-title):not(.card-title),
.footer-widget-title,
.service-accordion-heading,
.testimonial-modal-name,
.contact-card-channel-value {
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

/* Card Titles (Compact, Fits Cleanly in Cards) */
.blog-card-minimal-title,
.service-card-title,
.home-card-title,
.home-services-program-card-title,
.card-title {
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem) !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  letter-spacing: -0.01em !important;
}

h4 {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 600;
  line-height: 1.3;
}

p,
span:not(button span):not(a span):not([class*="btn"] span):not([class*="button"] span):not([class*="cta"] span),
li,
time {
  color: var(--color-charcoal);
}

button *,
a[class*="btn"] *,
a[class*="button"] *,
a[class*="cta"] *,
.home-cta-btn *,
.home-testimonials-cta * {
  color: inherit !important;
}

.text-muted, .nexlotech-footer-bottom-row p, .footer-text {
  color: var(--color-slate) !important;
}

a {
  color: var(--color-brand-blue);
}

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

@font-face {
  font-family: "Adonis";
  src: url("../fonts/FONTSPRINGDEMO-AdonisRegular.woff2") format("woff2"),
    url("../fonts/FONTSPRINGDEMO-AdonisRegular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Adonis";
  src: url("../fonts/FONTSPRINGDEMO-AdonisBold.woff2") format("woff2"),
    url("../fonts/FONTSPRINGDEMO-AdonisBold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--nexlotech-heading-font);
  letter-spacing: -0.01em;
}

.site-container {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .site-container {
    padding-inline: 1.5rem;
  }
}

.site-main {
  padding-block: 3rem;
}

.heading-xl {
  font-family: var(--nexlotech-heading-font);
}

.heading-lg {
  font-family: var(--nexlotech-heading-font);
}

.heading-md {
  font-family: var(--nexlotech-heading-font);
}

@media (min-width: 768px) {
  .heading-xl {
  }

  .heading-lg {
  }

  .heading-md {
  }
}

.text-body {
}

.text-muted {
}

.section-stack > * + * {
  margin-top: 1.2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--nexlotech-secondary);
  color: #ffffff;
  padding: 0.55rem 1.25rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--nexlotech-primary);
  color: #ffffff;
}

.btn-primary-sm {
  background: var(--nexlotech-secondary);
  color: #ffffff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-primary-sm:hover,
.btn-primary-sm:focus-visible {
  background: var(--nexlotech-primary);
  color: #ffffff;
}

.surface-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--nexlotech-radius-md);
  padding: 1.25rem;
  box-shadow: var(--nexlotech-shadow-sm);
}

.search-input,
.form-input,
.form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--nexlotech-radius-sm);
  padding: 0.55rem 0.9rem;
}

.form-textarea {
  min-height: 10rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  position: fixed;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 9999;
  background: var(--color-primary-deep);
  border-radius: 0.5rem;
  padding: 0.55rem 0.8rem;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--nexlotech-primary);
  outline-offset: 2px;
}

.site-header {
  width: 100%;
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  position: relative;
  z-index: 100;
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
  background-color: #ffffff !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
}

.site-header-inner {
  width: 100%;
  padding: 0 1rem;
}

.site-header-layout {
  display: flex;
  align-items: center;
  height: 4.5rem;
  gap: 2rem;
}

.site-header-logo {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2c2218;
  text-decoration: none;
  flex-shrink: 0;
  font-family: var(--nexlotech-heading-font);
  line-height: 1;
}

/* Driven by the Customizer; the fallback matches the previous fixed value. */
.site-header-logo img,
.site-header-logo .custom-logo {
  height: var(--nexlotech-logo-height, 2.4rem);
  width: auto;
  display: block;
}

@media (max-width: 767px) {
  .site-header-logo img,
  .site-header-logo .custom-logo {
    height: var(--nexlotech-logo-height-mobile, 2rem);
  }
}

.site-header-right {
  display: none;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

@media (min-width: 768px) {
  .site-header-right {
    display: flex;
  }
}

.nexlotech-desktop-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nexlotech-desktop-menu > li {
  position: relative;
}

.nexlotech-desktop-menu > li > a {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  padding: 0.45rem 0.55rem;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nexlotech-desktop-menu > li > a:hover {
  color: var(--color-gold);
}

.site-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nexlotech-search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.45rem;
  color: #4a3f35;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.nexlotech-search-toggle:hover {
  background: rgba(0,0,0,0.06);
}

.site-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--color-primary);
  color: var(--color-surface);
  border-radius: 999px;
  padding: 0.58rem 1.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.site-header-cta-icon {
  display: inline-block;
  flex-shrink: 0;
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header-cta:hover,
.site-header-cta:focus-visible {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
  color: var(--color-surface);
}

.site-header-cta:hover .site-header-cta-icon {
  transform: translate(2px, -2px);
}

/*
 * The label sits in an inner span (swapped by the Customizer partial), so the
 * colour is pinned on the span too - otherwise a generic `a span` or utility
 * rule can out-specify the anchor and darken the text on the sage fill.
 */
.site-header-cta .js-header-cta-text,
.site-header-cta:hover .js-header-cta-text,
.site-header-cta:focus-visible .js-header-cta-text {
  color: var(--color-surface);
}

.site-header-cta:focus-visible {
  outline: 2px solid var(--color-primary-deep);
  outline-offset: 2px;
}

/*
 * Defined explicitly rather than relying on the Tailwind CDN utilities in the
 * markup (rounded-full/border/bg-white), which lose to this rule and left the
 * button rendering square.
 */
.site-header-hamburger {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  flex: 0 0 auto;
  margin-left: auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: 0 1px 3px rgba(43, 43, 43, 0.08);
  cursor: pointer;
  color: var(--color-text);
  z-index: 20;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header-hamburger:hover,
.site-header-hamburger:focus-visible {
  background: var(--color-primary-soft);
  border-color: var(--color-primary);
}

.site-header-hamburger .hamburger-line {
  display: block;
  width: 1.15rem;
  height: 1.5px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (min-width: 768px) {
  .site-header-hamburger {
    display: none;
  }
}

/* Mobile: logo hard left, hamburger hard right. */
@media (max-width: 767px) {
  .site-header-layout {
    justify-content: space-between;
    gap: 1rem;
  }

  .site-header-logo {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
  }
}

.nexlotech-breadcrumb {
}

.nexlotech-breadcrumb a {
}

.widget-title {
  margin-bottom: 0.75rem;
}

.nexlotech-desktop-menu,
.nexlotech-desktop-menu .sub-menu,
.nexlotech-mobile-menu,
.nexlotech-mobile-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nexlotech-desktop-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nexlotech-desktop-menu > li {
  position: relative;
}

.nexlotech-desktop-menu a {
  display: inline-flex;
  align-items: center;
}

.nexlotech-desktop-menu > .menu-item-has-children > a::after {
  content: "";
  width: 1rem;
  height: 1rem;
  margin-left: 0.35rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236b7280' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}

.nexlotech-desktop-menu .sub-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.5rem;
  width: 15rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--nexlotech-radius-md);
  box-shadow: 0 12px 28px rgba(43, 43, 42, 0.08), 0 4px 10px rgba(43, 43, 42, 0.03);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  z-index: 60;
  padding: 0.5rem 0;
}

.nexlotech-desktop-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -0.6rem;
  left: 0;
  right: 0;
  height: 0.6rem;
  background: transparent;
}

.nexlotech-desktop-menu .sub-menu a {
  display: block;
  padding: 0.6rem 1.1rem;
  font-size: 0.76rem;
  font-weight: 500;
  font-family: var(--nexlotech-body-font);
  color: var(--color-charcoal);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nexlotech-desktop-menu .sub-menu a:hover,
.nexlotech-desktop-menu .sub-menu a:focus {
  background-color: var(--color-mist-blue);
  color: var(--color-brand-blue);
}

.nexlotech-desktop-menu .menu-item-has-children:hover > .sub-menu,
.nexlotech-desktop-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nexlotech-desktop-menu .menu-item-has-children:hover > a::after,
.nexlotech-desktop-menu .menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}

.nexlotech-mobile-menu > li {
  border-bottom: 1px solid #f1f5f9;
  padding: 0.25rem 0;
  position: relative;
}

.nexlotech-mobile-menu > li > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  text-decoration: none;
}

.nexlotech-mobile-menu .sub-menu {
  display: none;
  margin: 0.3rem 0 0.35rem;
  padding-left: 0.75rem;
}

.nexlotech-mobile-menu .sub-menu a {
  display: block;
  padding: 0.35rem 0;
}

.nexlotech-mobile-menu .menu-item-has-children.is-open > .sub-menu {
  display: block;
}

.nexlotech-submenu-toggle {
  position: absolute;
  right: 0;
  top: 0.3rem;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  background: transparent;
}

.nexlotech-mobile-menu .menu-item-has-children.is-open > .nexlotech-submenu-toggle {
  transform: rotate(180deg);
}

.nexlotech-header-search {
  position: absolute;
  right: 3.8rem;
  top: calc(100% + 0.55rem);
  width: min(26rem, 70vw);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.14);
  padding: 0.75rem;
  z-index: 70;
}

.nexlotech-header-search .search-form {
  gap: 0.5rem;
}

.nexlotech-header-search .search-field {
  border-radius: 999px;
  border-color: #d1d5db;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

.nexlotech-header-search button[type="submit"] {
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  white-space: nowrap;
}

/* Global typography override: force Inter across all UI elements and heading utility classes. */
html {
  font-size: 16px;
}

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: #374151;
}

main {
  margin-top: 0;
}

button,
input,
select,
textarea {
  font-size: 0.9375rem;
}

*,
*::before,
*::after {
}

h1,
h2,
h3,
h4,
h5,
h6,
.lora {
  letter-spacing: normal;
}

.nexlotech-site-footer {
  background-color: #3f4a49 !important;
}

.nexlotech-site-footer p,
.nexlotech-site-footer li,
.nexlotech-site-footer span,
.nexlotech-site-footer .widget-title,
.nexlotech-site-footer .heading-md,
.nexlotech-site-footer .heading-lg {
}

.nexlotech-site-footer a {
}

.nexlotech-site-footer a:hover,
.nexlotech-site-footer a:focus {
}

.cp-card h2,
.cp-card h3 {
  margin: 0.6rem 0 0;
}

.nexlotech-footer-brand {
  max-width: 26rem;
}

.nexlotech-footer-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .nexlotech-footer-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .nexlotech-footer-layout {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }

  /* The third widget column was removed; the contact block stays pinned to
     track 4 so the gap where it sat is preserved. */
  .nexlotech-footer-contact {
    grid-column: 4;
  }
}

.nexlotech-footer-logo-image {
  max-height: var(--nexlotech-footer-logo-height, 56px);
  width: auto;
  height: auto;
}

.nexlotech-footer-widget-col .widget + .widget {
  margin-top: 1rem;
}

.nexlotech-footer-widget-col .widget-title {
  margin: 0 0 0.8rem;
}

.nexlotech-footer-widget-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nexlotech-footer-widget-col li + li {
  margin-top: 0.45rem;
}

.nexlotech-footer-widget-col a {
}

.nexlotech-footer-widget-col a:hover,
.nexlotech-footer-widget-col a:focus {
}

.footer-widget-col .widget {
  margin: 0;
}

.footer-widget-col .widget + .widget {
  margin-top: 0.75rem;
}

.footer-widget-col .menu,
.footer-widget-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-widget-col li + li {
  margin-top: 0.45rem;
}

.footer-widget-col .footer-widget-title,
.footer-widget-col .widget-title,
.footer-widget-col .wp-block-heading {
  margin: 0 0 1rem;
  font-size: 0.98rem !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-family: var(--nexlotech-heading-font);
  color: #ffffff;
}

.footer-widget-col p,
.footer-widget-col li,
.footer-widget-col span,
.footer-widget-col strong {
  font-size: 16px !important;
  line-height: 1.7;
}

.nexlotech-footer-contact-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.nexlotech-footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 16px !important;
  color: #ffffff !important;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.95;
}

.nexlotech-footer-contact-list a span {
  color: inherit;
}

.nexlotech-footer-contact-list a:hover,
.nexlotech-footer-contact-list a:focus-visible {
  color: #e5e2c9 !important;
  text-decoration: underline !important;
  text-decoration-color: #e5e2c9 !important;
  opacity: 1;
}

.nexlotech-footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-sand, #D9C9A3) !important;
  transition: background 0.2s ease, color 0.2s ease;
}

.nexlotech-footer-contact-list a:hover .nexlotech-footer-contact-icon {
  background: rgba(229, 226, 201, 0.2);
  color: #e5e2c9 !important;
}

.nexlotech-footer-contact-icon svg {
  width: 0.95rem;
  height: 0.95rem;
  display: block;
}

.footer-widget-col a {
  font-size: 16px !important;
  color: var(--nexlotech-footer-link, rgba(255, 255, 255, 0.85));
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-widget-col a:hover,
.footer-widget-col a:focus-visible {
  color: #e5e2c9 !important;
  text-decoration: underline !important;
  text-decoration-color: #e5e2c9 !important;
}

.nexlotech-social-list {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nexlotech-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nexlotech-social-list a:hover,
.nexlotech-social-list a:focus {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.nexlotech-footer-bottom-row {
  background-color: var(--nexlotech-footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-top-color: color-mix(in srgb, var(--nexlotech-footer-text) 9%, transparent);
}

.nexlotech-footer-bottom-row .js-footer-text {
  color: var(--nexlotech-footer-text);
}

.nexlotech-footer-bottom-links a {
  color: var(--nexlotech-footer-link);
}

.nexlotech-footer-bottom-links a:hover,
.nexlotech-footer-bottom-links a:focus-visible {
  color: var(--nexlotech-footer-link-hover);
}

/* ── Gallery ─────────────────────────────────────────────────────────── */
.gallery-page-main {
  background: var(--color-bg);
}

.gallery-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.gallery-shell {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .gallery-shell {
    padding-inline: 2rem;
  }
}

.gallery-heading {
  margin: 0;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: balance;
}

.gallery-intro {
  margin: 0.9rem 0 0;
  max-width: 60ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

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

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

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

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.9rem;
  border: 1px solid var(--color-border);
  background: var(--color-primary-soft);
  /* translate, not transform - keeps this composable with AOS reveals. */
  transition: translate 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.3s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  translate: 0 -4px;
  box-shadow: 0 18px 36px -14px rgba(20, 40, 30, 0.4);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.gallery-item:hover .gallery-item-img,
.gallery-item:focus-visible .gallery-item-img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(62, 83, 68, 0.42);
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item-overlay svg {
  width: 2rem;
  height: 2rem;
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.5rem 0.9rem 0.75rem;
  background: linear-gradient(to top, rgba(43, 43, 43, 0.85) 0%, rgba(43, 43, 43, 0) 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
}

.gallery-empty {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

.gallery-content {
  margin-top: 3rem;
  max-width: 70ch;
  line-height: 1.8;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item,
  .gallery-item-img,
  .gallery-item-overlay {
    transition: none;
  }

  .gallery-item:hover,
  .gallery-item:focus-visible {
    translate: none;
  }

  .gallery-item:hover .gallery-item-img {
    transform: none;
  }
}

.nexlotech-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(8, 14, 18, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.nexlotech-lightbox.hidden {
  display: none;
}

.nexlotech-lightbox-figure {
  margin: 0;
  max-width: min(1100px, 94vw);
  max-height: 90vh;
  text-align: center;
}

.nexlotech-lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: calc(90vh - 3.2rem);
  border-radius: 0.75rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.nexlotech-lightbox-caption {
  margin-top: 0.6rem;
}

.nexlotech-lightbox-close,
.nexlotech-lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  cursor: pointer;
}

.nexlotech-lightbox-close {
  top: 1rem;
  right: 1rem;
}

.nexlotech-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.nexlotech-lightbox-prev {
  left: 1rem;
}

.nexlotech-lightbox-next {
  right: 1rem;
}

.nexlotech-testimonial-card {
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.nexlotech-testimonial-card:hover,
.nexlotech-testimonial-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
  border-color: rgba(35, 79, 68, 0.35);
  outline: none;
}

.nexlotech-testimonial-card p,
.nexlotech-testimonial-card strong {
  transition: color 0.22s ease;
}

.nexlotech-testimonial-card:hover p,
.nexlotech-testimonial-card:focus p {
}

.nexlotech-testimonial-card:hover strong,
.nexlotech-testimonial-card:focus strong {
}

.nexlotech-testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 14, 18, 0.78);
}

.nexlotech-testimonial-modal.hidden {
  display: none;
}

.nexlotech-testimonial-modal-inner {
  position: relative;
  width: min(680px, 92vw);
  max-height: 88vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1.35rem 1.2rem;
  animation: nexlotech-modal-in 0.2s ease-out;
}

.nexlotech-testimonial-modal-body p {
  margin: 0;
}

.nexlotech-testimonial-modal-body p + p {
  margin-top: 0.7rem;
}

.nexlotech-testimonial-modal-author {
  margin: 1rem 0 0;
}

.nexlotech-testimonial-modal-close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: #eef3f1;
}

@keyframes nexlotech-modal-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nexlotech-faq-section {
  background: var(--nexlotech-primary);
  border-radius: 0;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
}

.nexlotech-faq-wrap {
  width: min(980px, 100%);
  margin-inline: auto;
  padding-inline: 1.2rem;
}
.nexlotech-faq-title {
  margin: 0 0 3rem;
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  line-height: 1.08;
  color: #fff;
  text-align: left;
}

.nexlotech-faq-wrap .service-chip {
  margin-inline: 0;
  text-align: left;
}

.nexlotech-faq-list {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.nexlotech-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.nexlotech-faq-question {
  list-style: none;
  cursor: pointer;
  margin: 0;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.5rem) !important;
  line-height: 1.28;
  font-family: var(--nexlotech-heading-font);
}

/* Decorative question mark, inherited colour at low opacity so it stays
   readable against any section background. */
.nexlotech-faq-question::before {
  content: "";
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.15rem;
  background-color: currentColor;
  opacity: 0.55;
  -webkit-mask: var(--faq-icon) center / contain no-repeat;
  mask: var(--faq-icon) center / contain no-repeat;
  --faq-icon: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.6 9.3a2.5 2.5 0 1 1 3.3 2.4c-.6.2-.9.8-.9 1.4v.5'/%3E%3Cpath d='M12 17h.01'/%3E%3C/svg%3E");
}


.nexlotech-faq-question::-webkit-details-marker {
  display: none;
}

.nexlotech-faq-question::after {
  content: "+";
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1;
  color: rgba(255, 255, 255, 0.8);
  flex: 0 0 auto;
  margin-left: auto;
}

.nexlotech-faq-item[open] .nexlotech-faq-question::after {
  content: "\2212";
}

.nexlotech-faq-answer {
  margin: 0;
  padding: 0 0 1.1rem;
}

.nexlotech-faq-answer p {
  margin: 0;
  max-width: 72ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
  line-height: 1.65;
}

.nexlotech-footer-wrap {
  width: min(1320px, calc(100vw - 1.5rem));
  margin-inline: auto;
  padding: 1rem 0 1.5rem;
}

.nexlotech-footer-cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(120deg, #1e4b5c 0%, #1b4354 45%, #153644 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.65rem;
  padding: clamp(1.4rem, 3vw, 2.3rem);
  overflow: hidden;
}

.nexlotech-footer-cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 45%, rgba(126, 173, 184, 0.18), transparent 52%);
  pointer-events: none;
}

.nexlotech-footer-cta-content {
  position: relative;
  z-index: 1;
  max-width: 46rem;
}

.nexlotech-footer-cta-content h2 {
  margin: 0;
  color: #f2f7fa;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.08;
}

.nexlotech-footer-cta-content p {
  margin: 0.7rem 0 0;
  color: rgba(232, 243, 247, 0.92);
  font-size: 1rem;
}

.nexlotech-footer-contact-list {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.nexlotech-footer-contact-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #e5f1f5;
  font-size: 0.9rem;
}

.nexlotech-footer-contact-list a {
  color: inherit;
}

.nexlotech-footer-cta-arrow {
  position: relative;
  z-index: 1;
  width: clamp(6rem, 11vw, 10rem);
  height: clamp(6rem, 11vw, 10rem);
  border-radius: 999px;
  border: 1px solid rgba(227, 244, 248, 0.35);
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #edf7fa;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nexlotech-footer-cta-arrow:hover,
.nexlotech-footer-cta-arrow:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
}

.nexlotech-footer-bottom {
  padding-top: 1.3rem;
}

.nexlotech-footer-brand-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem 1.5rem;
}

.nexlotech-footer-nav {
  justify-self: center;
}

.nexlotech-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
}

.nexlotech-footer-menu a {
  color: var(--color-primary-deep);
  font-size: 0.9rem;
}

.nexlotech-footer-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nexlotech-footer-social a {
  width: 1.85rem;
  height: 1.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-deep);
}

.nexlotech-footer-meta {
  margin-top: 0.9rem;
  border-top: 1px solid #e0e5ea;
  padding-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  justify-content: space-between;
}

.nexlotech-footer-meta p {
  margin: 0;
  color: #475569;
  font-size: 0.85rem;
}

.nexlotech-footer-legal {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nexlotech-footer-legal a {
  color: #334155;
  font-size: 0.85rem;
}

@media (max-width: 980px) {
  .nexlotech-footer-brand-line {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .nexlotech-footer-wrap {
    width: calc(100vw - 1rem);
  }

  .nexlotech-footer-cta-panel {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}

/* ============================================
   Blog Single Post — Title & Thumbnail
   ============================================ */

.blog-single-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.blog-single-thumbnail {
  width: 100%;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 0.5rem;
  aspect-ratio: 16 / 7;
}

.blog-single-thumbnail__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .blog-single-title {
    margin-bottom: 1.1rem;
  }

  .blog-single-thumbnail {
    border-radius: 0.65rem;
    aspect-ratio: 16 / 9;
  }
}

/* ============================================
   Blog Single Post — Content Typography
   ============================================ */

[itemprop="articleBody"] p {
  font-size: 1.0625rem;
  line-height: 1.82;
  color: #374151;
  margin: 0 0 1.35rem;
}

[itemprop="articleBody"] h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  line-height: 1.25;
  margin: 2.25rem 0 0.75rem;
  color: var(--color-text);
}

[itemprop="articleBody"] h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  line-height: 1.3;
  margin: 1.75rem 0 0.55rem;
  color: var(--color-text);
}

[itemprop="articleBody"] h4 {
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 1.5rem 0 0.45rem;
  color: var(--color-text);
}

[itemprop="articleBody"] ul,
[itemprop="articleBody"] ol {
  padding-left: 1.5rem;
  margin: 0 0 1.35rem;
}

[itemprop="articleBody"] li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 0.45rem;
}

[itemprop="articleBody"] li strong {
  color: var(--color-text);
}

[itemprop="articleBody"] blockquote {
  margin: 2rem 0;
  padding: 1.1rem 1.5rem;
  border-left: 4px solid var(--nexlotech-primary);
  background: var(--nexlotech-primary-light);
  border-radius: 0 0.5rem 0.5rem 0;
}

[itemprop="articleBody"] blockquote p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--nexlotech-primary-darker);
}

[itemprop="articleBody"] img {
  border-radius: 0.75rem;
  margin: 1.25rem 0;
  max-width: 100%;
  height: auto;
}

[itemprop="articleBody"] a {
  color: var(--nexlotech-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

[itemprop="articleBody"] a:hover {
  color: var(--nexlotech-primary-dark);
}

[itemprop="articleBody"] > *:first-child {
  margin-top: 0;
}

@media (max-width: 767px) {
  [itemprop="articleBody"] p,
  [itemprop="articleBody"] li {
    font-size: 1rem;
    line-height: 1.75;
  }

  [itemprop="articleBody"] h2 {
    margin-top: 1.75rem;
  }

  [itemprop="articleBody"] h3 {
    margin-top: 1.4rem;
  }
}


/* --- Start of tw/shared.css --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz@14..32&display=swap');

body {
}

.menu-open {
  transform: translateX(0) !important;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slider-container {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: 1rem;
}

.slider-card {
  flex: 0 0 calc(33.333% - 0.67rem);
  position: relative;
}

@media (max-width: 768px) {
  .slider-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 640px) {
  .slider-card {
    flex: 0 0 100%;
  }
}


/* --- Start of tw/about.css --- */
:root {
  --about-bg: var(--color-cloud-white);
  --about-surface: var(--color-mist-blue);
  --about-line: var(--color-border);
  --about-text: var(--color-charcoal);
  --about-soft: var(--color-slate);
}

.about-page-main {
  background-color: #ffffff !important;
  margin: 0;
  padding: 0;
}

.about-hero,
.about-intro,
.about-philosophy {
  background-color: #ffffff !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.about-hero {
  padding-top: 0;
}

.about-hero-media {
  position: relative;
  min-height: clamp(20rem, 44vw, 34rem);
  overflow: hidden;
  background-color: var(--color-primary-soft);
  background-size: cover;
  background-position: center;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--nexlotech-banner-overlay, linear-gradient(180deg, rgba(18, 20, 18, 0.34) 0%, rgba(18, 20, 18, 0.55) 100%));
  z-index: 1;
}

.about-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
}

.about-hero-tag {
  margin: 0;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1.35;
}

.about-hero-content h2 {
  margin: 0.75rem 0 0;
  color: #ffffff;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
}

/*
 * The global `p, span, li, time { color: charcoal }` rule matches this span
 * directly, and a direct match always beats a colour inherited from the h2 -
 * which is why line one rendered near-black on the dark hero. Set it here.
 */
/* Credential bar: separators are drawn, not typed, so they never wrap oddly. */
.about-hero-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1.1rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.about-hero-credentials li {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

.about-hero-credentials li + li::before {
  content: "";
  position: absolute;
  left: -0.62rem;
  top: 50%;
  width: 1px;
  height: 0.85em;
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%);
}

@media (max-width: 560px) {
  .about-hero-credentials {
    gap: 0.4rem 0.85rem;
  }

  .about-hero-credentials li {
    font-size: 0.7rem;
  }
}

.about-hero-content h2 span,
.about-hero-content h2 em {
  display: block;
  font-style: normal;
  color: #ffffff;
}

.about-hero-content h2 em {
  margin-top: 0.25rem;
  color: var(--color-gold) !important;
  font-style: italic;
}

/* ── About: portrait + bio ───────────────────────────────────────────── */
.about-intro {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  background-color: #ffffff !important;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 72rem;
  margin-inline: auto;
}

.about-intro-grid--no-photo {
  grid-template-columns: minmax(0, 1fr);
  max-width: 60rem;
}

/* Offset sage frame behind the portrait. */
.about-intro-media {
  position: relative;
  isolation: isolate;
}

.about-intro-media::before {
  content: "";
  position: absolute;
  inset: 1.15rem -1.15rem -1.15rem 1.15rem;
  border-radius: 1rem;
  border: 1px solid var(--color-primary);
  opacity: 0.35;
  z-index: -1;
}

.about-intro-portrait {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--color-primary-soft);
}

.about-intro-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #242526 !important;
}

.about-intro-heading {
  margin: 0 0 1.25rem;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.018em;
  color: var(--color-brand-blue, #3E7EA6) !important;
  text-wrap: balance;
}

/* Credential bar beside the bio - plain bold text */
.about-intro-credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 1.05rem;
  margin: 0 0 1.75rem;
  padding: 1rem;
  border-left: 2px solid #e5b743;
  list-style: none;
  background: #faf8e3 !important;
}

.about-intro-credentials li {
  position: relative;
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: none !important;
  border: none !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--color-primary-deep, #3E5344) !important;
}

.about-intro-credentials li + li::before {
  content: "|";
  display: inline-block;
  margin-right: 1rem;
  margin-left: -0.5rem;
  color: var(--color-border, #cbd5e1);
  font-weight: 400;
  opacity: 0.8;
}

.about-intro-text {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 60ch;
}

.about-intro-text:last-child {
  margin-bottom: 0;
}

/* First paragraph reads as a prominent lead (like reference image). */
.about-intro-copy .about-intro-text:first-of-type {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--color-text-heading, #1e293b);
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .about-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .about-intro-media {
    max-width: 22rem;
  }

  .about-intro-media::before {
    inset: 0.85rem -0.85rem -0.85rem 0.85rem;
  }
}

.about-shell {
  width: 100%;
  margin: 0 auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .about-shell {
    padding-inline: 1.5rem;
  }
}

.about-philosophy {
  padding-top: 2.25rem;
  padding-bottom: 0;
}

.about-philosophy-grid {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--about-surface);
  border: 1px solid var(--about-line);
}

.about-philosophy-media {
  min-height: clamp(24rem, 45vw, 44rem);
}

.about-philosophy-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  display: block;
}

.about-philosophy-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  background-image: linear-gradient(140deg, rgba(41, 56, 42, 0.65), rgba(41, 56, 42, 0.25)), url("https://images.unsplash.com/photo-1611077094726-11cf1d5b1f9a?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
}

.about-philosophy-copy {
  padding: clamp(3.5rem, 6vw, 6rem) clamp(2rem, 5vw, 6.5rem);
}

.about-philosophy-copy h2 {
  margin: 0 0 2.5rem 0;
  font-size: clamp(2rem, 3.1vw, 3rem);
  line-height: 1.05;
}

.about-philosophy-item {
  padding: 0;
  margin-top: 2.2rem;
  transition: transform 0.2s ease;
}

.about-philosophy-item:hover {
  transform: translateX(4px);
}

.about-philosophy-item:first-of-type {
  margin-top: 0;
}

.about-philosophy-item h3 {
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--color-charcoal);
}

.about-philosophy-item p {
  margin: 0.5rem 0 0;
  color: var(--about-soft);
  font-size: 1rem;
  line-height: 1.5;
}

.about-quote {
  padding: 0.6rem 0 3rem;
}

.about-quote-inner {
  text-align: center;
  border-top: 1px solid var(--about-line);
  padding-top: 2.2rem;
}

.about-quote-inner blockquote {
  margin: 0;
}

.about-quote-inner blockquote p {
  margin: 0 auto;
  max-width: 44ch;
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  line-height: 1.35;
  position: relative;
  font-family: var(--nexlotech-heading-font);
}

.about-quote-inner blockquote p::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0;
  vertical-align: middle;
  margin-right: 0.25rem;
  color: var(--color-brand-blue);
  opacity: 0.6;
}

.about-quote-inner blockquote p::after {
  content: "”";
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0;
  vertical-align: middle;
  margin-left: 0.15rem;
  color: var(--color-brand-blue);
  opacity: 0.6;
}

.about-quote-author {
  margin-top: 1.7rem;
}

.about-quote-author img {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 9999px;
  border: 3px solid var(--color-mist-blue);
  box-shadow: 0 8px 24px rgba(62, 126, 166, 0.08);
  object-fit: cover;
  margin: 0 auto;
}

.about-quote-author p {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-slate);
}

@media (max-width: 980px) {
  .about-hero-content h2 {
    line-height: 1;
  }

  .about-intro-inner p {
    font-size: 1.1rem;
  }

  .about-philosophy-grid {
    grid-template-columns: 1fr;
  }

  .about-philosophy-media {
    min-height: 22rem;
  }
}


/* --- Start of tw/archive.css --- */
/* Filter sidebar sticky for desktop */
.filter-sidebar {
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

/* Hide scrollbar for cleaner look */
.filter-sidebar::-webkit-scrollbar {
  width: 4px;
}

.filter-sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.filter-sidebar::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 2px;
}

/* AJAX loading indicator */
.loading-spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #7e22ce;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Mobile filter panel animation */
.filter-panel-open {
  transform: translateX(0) !important;
}


/* --- Start of tw/contact.css --- */
/* ── Contact page ────────────────────────────────────────────────────── */
.contact-page-main {
  background: var(--color-bg);
}

/* Hero dark band with background image */
.contact-hero {
  position: relative;
  background-color: var(--color-primary-deep);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: clamp(3rem, 6vw, 5rem) 1.5rem 9rem;
  text-align: center;
  overflow: hidden;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--nexlotech-banner-overlay, linear-gradient(180deg, rgba(30, 45, 36, 0.78) 0%, rgba(30, 45, 36, 0.85) 100%));
  z-index: 1;
}

.contact-hero-inner {
  position: relative;
  z-index: 2;
}

.contact-hero-title {
  margin: 0 0 1.2rem;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-surface);
}

.contact-hero-title em {
  font-style: italic;
  color: var(--color-sand);
  font-family: var(--nexlotech-heading-font);
}

.contact-hero-sub {
  margin: 0 auto;
  max-width: 48ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

/* Card overlapping the hero */
.contact-card-section {
  /* The card is the last block before the footer, so it needs real bottom
     breathing room - it previously had none and sat flush against it. */
  padding: 0 1.5rem clamp(3.5rem, 7vw, 6rem);
  margin-top: -5rem;
  position: relative;
  z-index: 2;
}

.contact-card {
  /* Sage text measures 4.15 on sand - below AA - so within this card the
     sage text token resolves to the deeper shade (6.76). */
  --color-primary-text: var(--color-primary-deep);
  max-width: 1020px;
  margin: 0 auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.contact-card--no-photo {
  grid-template-columns: minmax(0, 1fr);
}

/* Photo panel, replacing the old solid info block. */
.contact-card-photo {
  position: relative;
  min-height: 26rem;
  background: var(--color-primary-deep);
}

.contact-card-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-card-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(62, 83, 68, 0.92) 0%, rgba(62, 83, 68, 0) 100%);
  pointer-events: none;
}

/* Contact channels: compact pill chips with small font and normal font-weight */
.contact-card-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}

.contact-card-channel {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--color-sand-soft, #EFE7D5);
  color: var(--color-primary-deep, #3E5344) !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-card-channel:hover,
.contact-card-channel:focus-visible {
  background: var(--color-sand, #D9C9A3) !important;
  color: var(--color-primary-deep, #3E5344) !important;
  transform: translateY(-1px);
  text-decoration: none !important;
}

.contact-card-channel--phone {
  background: rgba(62, 126, 166, 0.12) !important;
  color: #2b6cb0 !important;
}

.contact-card-channel--phone:hover,
.contact-card-channel--phone:focus-visible {
  background: rgba(62, 126, 166, 0.22) !important;
  color: #2b6cb0 !important;
}

.contact-card-channel--whatsapp {
  background: rgba(37, 211, 102, 0.14) !important;
  color: #12813C !important;
}

.contact-card-channel--whatsapp:hover,
.contact-card-channel--whatsapp:focus-visible {
  background: rgba(37, 211, 102, 0.24) !important;
  color: #12813C !important;
}

.contact-card-channel-icon {
  display: inline-flex;
  flex: 0 0 auto;
}

.contact-card-channel-icon svg {
  display: block;
  width: 0.88rem;
  height: 0.88rem;
}

.contact-card-channel-value {
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .contact-card-channel {
    transition: none;
  }

  .contact-card-channel:hover,
  .contact-card-channel:focus-visible {
    transform: none;
  }
}

.contact-card-form {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-card-heading {
  text-align: center !important;
  margin: 0 0 0.75rem !important;
}

.contact-card-body {
  text-align: center !important;
  margin: 0 auto 1.25rem !important;
  max-width: 48ch;
}

@media (max-width: 820px) {
  .contact-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-card-photo {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

/* Left info */
.contact-card-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-text);
}

.contact-card-body {
  margin: 0 0 2rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.contact-card-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.contact-card-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.contact-detail-label {
  color: var(--color-brand-blue);
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 5rem;
  flex-shrink: 0;
}

.contact-card-details a,
.contact-card-details span {
  color: var(--color-charcoal);
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-card-details a {
  border-bottom: 1px dotted var(--color-border);
  transition: color 0.2s, border-color 0.2s;
}

.contact-card-details a:hover {
  color: var(--color-brand-blue);
  border-bottom-color: var(--color-brand-blue);
}

/* Form */
.contact-form-native {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ct-group-label {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  color: var(--color-text);
  font-weight: 500;
}

.ct-field label,
.contact-form-native label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-slate);
  margin-bottom: 0.45rem;
  font-weight: 700;
  display: block;
}

.ct-req {
  font-weight: 400;
  color: var(--color-slate);
  font-size: 0.78rem;
}

.contact-form-native input[type="text"],
.contact-form-native input[type="email"],
.contact-form-native select,
.contact-form-native textarea {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-surface);
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.01);
}

.contact-form-native select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 0.95rem;
  padding-right: 2.75rem;
}

.contact-form-native input[type="text"]:hover,
.contact-form-native input[type="email"]:hover,
.contact-form-native select:hover,
.contact-form-native textarea:hover {
  border-color: var(--color-slate);
}

.contact-form-native input:focus,
.contact-form-native select:focus,
.contact-form-native textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(62, 126, 166, 0.14);
  background: var(--color-surface);
}

.contact-form-native textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--color-charcoal);
  font-weight: 500 !important;
  cursor: pointer;
}

.contact-check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--color-accent);
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
}

.contact-submit {
  width: 100%;
  border: 0;
  border-radius: 9999px;
  background: var(--color-brand-blue);
  color: var(--color-surface);
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: background-color 0.2s, transform 0.2s;
}

.contact-submit:hover {
  background: var(--color-primary-deep);
}

/* Bottom testimonial strip */
.contact-bottom {
  background: var(--color-bg);
  padding: 3.5rem 1.5rem;
}

.contact-bottom-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-bottom-text {
  margin: 0;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text);
  max-width: 640px;
}

.contact-bottom-text em {
  font-style: italic;
  color: var(--color-primary-text);
}

.contact-bottom-link {
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 0.1rem;
}

.contact-bottom-link:hover {
  color: var(--color-primary-text);
  border-color: var(--color-primary-text);
}

/* Responsive */
@media (max-width: 700px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .ct-row {
    grid-template-columns: 1fr;
  }

  .contact-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}


/* --- Start of tw/content-pages.css --- */
:root {
  --cp-bg: var(--color-bg);
  --cp-surface: var(--color-bg);
  --cp-card: var(--color-surface);
  --cp-text: var(--color-text);
  --cp-soft: var(--color-text-muted);
  --cp-accent: var(--color-primary);
  --brand-charcoal: var(--color-text);
}

* {
}

.lora {
}

.bg-brand-charcoal {
  background-color: var(--brand-charcoal);
}

.cp-main {
  background: var(--color-bg);
}

.cp-shell {
  width: min(1280px, calc(100vw - 2rem));
  margin: 0 auto;
}

@media (min-width: 768px) {
  .cp-shell {
    width: min(1280px, calc(100vw - 3rem));
  }
}

.cp-hero {
  padding-top: 0;
}

.cp-hero-card {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(16rem, 30vw, 24rem);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 18, 0.62);
}

.cp-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  width: 100%;
}

.cp-hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

.cp-hero-title em {
  font-style: italic;
  color: var(--color-sand);
  font-family: var(--nexlotech-heading-font);
}

.cp-hero-sub {
  margin: 1.2rem auto 0;
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.cp-section {
  padding: 2.8rem 0;
}

.cp-title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.2;
  text-align: left;
}

.cp-lead {
  margin: 0.85rem 0 0;
  font-size: 1rem;
  line-height: 1.7;
  text-align: left;
  max-width: 56ch;
  margin-left: 0;
  margin-right: 0;
}

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

.cp-card {
  background: var(--cp-card);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(24, 56, 46, 0.08);
}

.cp-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.cp-card-body {
  padding: 1rem;
}

.cp-meta {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  line-height: 1.3;
}

.cp-card h3 {
  margin: 0.6rem 0 0;
}

.cp-card h2 {
  margin: 0.55rem 0 0;
  font-size: 1.5rem;
  line-height: 1.3;
}

.cp-card p {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.cp-link {
  margin-top: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cp-post-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1.3rem;
}

.cp-article {
  background: var(--cp-card);
  border-radius: 1rem;
  border: 1px solid rgba(24, 56, 46, 0.08);
  overflow: hidden;
}

.cp-article img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.cp-article-body {
  padding: 1.1rem;
}

.cp-article-body h2 {
  margin: 0.4rem 0 0;
}

.cp-article-body p {
  margin: 0.85rem 0 0;
}

.cp-side {
  background: var(--cp-card);
  border-radius: 1rem;
  border: 1px solid rgba(24, 56, 46, 0.08);
  padding: 1rem;
}

.cp-side h3 {
  margin: 0;
}

.cp-side ul {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.cp-side li + li {
  margin-top: 0.6rem;
}

.cp-side a {
}

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

.cp-gallery-grid img {
  width: 100%;
  border-radius: 0.9rem;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.cp-testimonial-grid {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.cp-quote {
  background: var(--cp-card);
  border-radius: 1rem;
  border: 1px solid rgba(24, 56, 46, 0.08);
  padding: 1.1rem;
}

.cp-quote-head {
  margin-bottom: 0.75rem;
}

.cp-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(34, 74, 61, 0.14);
}

.cp-quote p {
  margin: 0;
}

.cp-quote strong {
  display: block;
  margin-top: 0.8rem;
}

@media (max-width: 980px) {
  .cp-grid-3,
  .cp-gallery-grid,
  .cp-testimonial-grid,
  .cp-post-layout {
    grid-template-columns: 1fr;
  }
}

/* ── Shared minimal card grid (archive pages) ────────────────────────── */
.minimal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

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

@media (max-width: 560px) {
  .minimal-card-grid {
    grid-template-columns: 1fr;
  }
}



/* --- Start of tw/header-not-logged-in.css --- */
/* Dropdown animations */
.dropdown-enter {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.dropdown-enter-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.2s ease, transform 0.2s ease;
}


/* --- Start of tw/home.css --- */
:root {
  --brand-blue:          var(--color-accent-text);
  --brand-blue-dark:     var(--color-primary-dark);
  --brand-blue-light:    var(--color-accent-soft);
  --brand-blue-soft:     #C6D6DF;
  --brand-charcoal:      var(--color-text);
  --brand-charcoal-soft: var(--color-text-muted);
  --brand-surface:       var(--color-bg);
  --brand-surface-2:     var(--color-primary-soft);
  --brand-border:        var(--color-border);
  --brand-sage:          var(--color-primary);
  --brand-cream:         var(--color-sand-soft);
}

* {
}

p {
}

h1,
h2,
h3,
.lora {
  letter-spacing: -0.01em;
}

body {
  background: var(--color-bg);
}

.text-espresso {
}

.text-espresso-soft {
}

.text-terracotta {
}

.bg-clay {
  background-color: var(--brand-surface-2);
}

.bg-terracotta {
  background-color: var(--brand-blue);
}

.hover-terracotta-dark:hover {
  background-color: var(--brand-blue-dark);
}

.border-sand {
  border-color: var(--brand-border);
}

.bg-clay\/40 {
  background-color: rgba(197, 221, 232, 0.4);
}

.bg-clay\/30 {
  background-color: rgba(197, 221, 232, 0.3);
}

.border-sand\/50 {
  border-color: rgba(184, 212, 226, 0.5);
}

.border-terracotta\/30 {
  border-color: rgba(62, 126, 166, 0.3);
}

.bg-brand-charcoal {
  background-color: var(--brand-charcoal);
}

.bg-brand-blue-dark {
  background: linear-gradient(145deg, var(--color-primary-dark) 0%, #1a2e3a 100%);
}

.bg-brand-surface {
  background-color: var(--brand-surface);
}

.text-brand-charcoal {
}

.text-brand-charcoal-soft {
}

.card-raise {
  transition: all 0.28s cubic-bezier(0.2, 0, 0, 1);
}

.card-raise:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 30px -12px rgba(45, 55, 68, 0.22);
}

.home-section-title {
  font-size: 2.25rem;
}

.home-section-subtitle {
  font-size: 1rem;
}

.home-card-title {
  font-size: 1.5rem;
}

.home-body-text {
  font-size: 1rem;
}

.home-eyebrow {
  font-size: 0.875rem;
}

.home-banner-slider {
  position: relative;
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  min-height: 70vh;
}

.home-banner-swiper {
  min-height: inherit;
}

.home-banner-slide {
  position: relative;
  min-height: inherit;
  display: flex;
  align-items: stretch;
}

.home-banner-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.home-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(var(--slide-overlay-color, 31, 83, 67), calc(var(--slide-overlay-opacity, 0.6) + 0.12)) 0%,
    rgba(var(--slide-overlay-color, 31, 83, 67), var(--slide-overlay-opacity, 0.6)) 55%,
    rgba(var(--slide-overlay-color, 31, 83, 67), calc(var(--slide-overlay-opacity, 0.6) * 0.62)) 100%
  );
}

.home-banner-content {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin: 0 auto;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.2rem 1.2rem 40px;
}

.home-banner-subheading {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.home-banner-heading {
  margin: 0;
  max-width: 19ch;
  letter-spacing: -0.02em;
  font-size: 2rem;
  line-height: 1.08;
}

.home-banner-description {
  margin: 1rem 0 0;
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.7;
}

.home-banner-cta {
  margin-top: 1.4rem;
  display: inline-block;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
}

.home-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.15);
}

.home-banner-prev {
  left: 0.85rem;
}

.home-banner-next {
  right: 0.85rem;
}

.home-banner-pagination {
  position: absolute;
  left: 0 !important;
  right: 0 !important;
  bottom: 1rem;
  transform: none !important;
  z-index: 3;
  width: 100% !important;
  text-align: center;
}

.home-banner-pagination .swiper-pagination-bullet {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: width 0.25s ease, background 0.25s ease;
}

.home-banner-pagination .swiper-pagination-bullet-active {
  width: 1.5rem;
  border-radius: 999px;
  background: #fff;
}

/* ── Why Choose Us ───────────────────────────────────────────────────── */
/* ── Why Choose — Icon Carousel ─────────────────────────────────────── */
.why-choose-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  background:
    radial-gradient(55rem 28rem at 12% -15%, rgba(255, 255, 255, 0.18), transparent 62%),
    radial-gradient(42rem 26rem at 108% 112%, rgba(201, 162, 39, 0.20), transparent 60%),
    linear-gradient(135deg, var(--nexlotech-primary) 0%, color-mix(in srgb, var(--nexlotech-primary) 72%, var(--color-primary-deep) 28%) 100%);
}

.why-choose-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 2rem));
  margin-inline: auto;
  padding-inline: 1rem;
}

.why-choose-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.why-choose-header .home-eyebrow {
  display: inline-block;
  margin: 0;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.why-choose-header .home-section-title {
  color: #ffffff;
  max-width: 26ch;
  margin-inline: auto;
}

/*
 * Swiper clips at its padding box, so the -6px hover lift and its shadow were
 * being cut off at the top. The padding gives the transform room to breathe.
 */
.why-choose-swiper {
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.why-choose-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.why-choose-pagination {
  bottom: 0 !important;
}

.why-choose-pagination .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
}

.why-choose-pagination .swiper-pagination-bullet-active {
  background: #ffffff;
}

.why-icon-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 2.5rem 1.5rem 2rem;
  border-radius: 1.25rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 18px 35px -18px rgba(4, 28, 42, 0.55);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1),
              background 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

/* Sheen along the top edge, brightest at the centre. */
.why-icon-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
}

.why-icon-card:hover,
.why-icon-card:focus-within {
  transform: translateY(-6px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.23) 0%, rgba(255, 255, 255, 0.10) 100%);
  border-color: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38),
              0 28px 45px -20px rgba(4, 28, 42, 0.65);
}

.why-icon-index {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.28);
  transition: color 0.4s ease;
}

.why-icon-card:hover .why-icon-index,
.why-icon-card:focus-within .why-icon-index {
  color: rgba(255, 255, 255, 0.55);
}

.why-icon-wrap {
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1),
              background 0.4s ease,
              color 0.4s ease,
              border-color 0.4s ease,
              box-shadow 0.4s ease;
}

.why-icon-wrap svg {
  width: 2rem;
  height: 2rem;
}

.why-icon-card:hover .why-icon-wrap,
.why-icon-card:focus-within .why-icon-wrap {
  transform: translateY(-2px) scale(1.05);
  background: #ffffff;
  color: var(--nexlotech-primary);
  border-color: #ffffff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.14);
}

.why-icon-title {
  margin: 1.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
}

.why-icon-text {
  margin: 0.6rem 0 0;
  max-width: 30ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

@media (prefers-reduced-motion: reduce) {
  .why-icon-card,
  .why-icon-wrap,
  .why-icon-index {
    transition: none;
  }

  .why-icon-card:hover,
  .why-icon-card:focus-within {
    transform: none;
  }

  .why-icon-card:hover .why-icon-wrap,
  .why-icon-card:focus-within .why-icon-wrap {
    transform: none;
  }
}

/* ── Slide content: positioning + arbitrary-value fallbacks ─────────── */
.home-banner-swiper .swiper-slide > header {
  left: 0;
  right: 0;             /* inset-x-0 right: 0 not compiling — force here */
  padding-bottom: 60px;
}

.home-banner-swiper .swiper-slide > header > h2 {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.06;
}

.home-banner-swiper .swiper-slide > header > p {
  max-width: 81ch;
  margin-left: auto;
  margin-right: auto;
}

/* eyebrow / subheading letter-spacing */
.home-banner-swiper .swiper-slide > header > .slide-eyebrow {
  letter-spacing: 0.14em;
}

/* CTA button */
.home-banner-swiper .slide-cta {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.04em;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.home-banner-swiper .slide-cta:hover {
  background: rgba(255, 255, 255, 0.88) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* ── Approach split-panel ────────────────────────────────────────────── */
/*
 * Approach section, built on the featured-article split layout: a full-bleed
 * 50/50 card with the image bleeding to the left edge and the copy on a solid
 * sage panel. Replaces the separate featured-article section.
 */
.home-approach-section {
  overflow: hidden;
}

.home-approach-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: 34rem;
}

.home-approach-left {
  position: relative;
  min-height: 100%;
  padding: 0;
  background: var(--color-primary-deep);
}

.home-approach-img-wrap {
  position: absolute;
  inset: 0;
  margin: 0;
}

.home-approach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

.home-approach-right {
  background: var(--color-primary);
  color: #ffffff;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.75rem, 4.5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-approach-heading {
  margin: 0 0 2.25rem;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
}

.home-approach-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.home-approach-list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.home-approach-arrow {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: rgba(255, 255, 255, 0.92);
}

.home-approach-list-item p {
  margin: 0;
  max-width: 60ch;
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
}

.home-approach-actions {
  margin-top: 2.5rem;
}

.home-approach-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: var(--color-surface);
  color: var(--color-primary-deep);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.home-approach-btn:hover,
.home-approach-btn:focus-visible {
  background: var(--color-sand-soft);
  color: var(--color-primary-deep);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .home-approach-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-approach-left {
    position: relative;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .home-approach-right {
    padding: 2.75rem 1.5rem 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-approach-btn {
    transition: none;
  }

  .home-approach-btn:hover,
  .home-approach-btn:focus-visible {
    transform: none;
  }
}

/* ── CTA banner ──────────────────────────────────────────────────────── */
.home-cta-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 2rem;
}

/* Image and overlay colour now come from ACF; these are structural only. */
.home-cta-section {
  background: var(--color-primary-deep);
}

.home-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.88) saturate(0.7);
  z-index: 0;
}

.home-cta-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.home-cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}

.home-cta-heading {
  margin: 0 0 1.4rem;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

.home-cta-heading em {
  font-style: italic;
  font-weight: 300;
}

.home-cta-body {
  margin: 0 0 2.4rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.home-cta-btn,
.home-cta-btn:visited,
.home-cta-btn:hover,
.home-cta-btn:focus-visible,
.btn-cta {
  color: #ffffff !important;
}

.home-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--nexlotech-primary, var(--color-accent-text));
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.6rem;
  border-radius: 999px;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.home-cta-btn-icon {
  display: inline-block;
  flex-shrink: 0;
  color: #ffffff !important;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-cta-btn:hover,
.home-cta-btn:focus-visible {
  background: var(--nexlotech-primary-dark, var(--color-primary-dark));
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.home-cta-btn:hover .home-cta-btn-icon {
  transform: translate(2px, -2px);
}

.difference-section {
  background: linear-gradient(180deg, #f5f8f7 0%, #edf4f2 100%);
}

.difference-full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.home-more-section {
  background: #dce3e7;
}

.home-more-wrap {
  width: calc(100vw - 2rem);
  margin-left: auto;
  margin-right: auto;
}

.home-more-shell {
  background: #d7dfe3;
  border-radius: 1.5rem;
  padding: clamp(1.8rem, 3.1vw, 2.7rem);
}

.home-more-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.8rem, 2.8vw, 3.2rem);
  align-items: start;
}

.home-more-intro {
  max-width: none;
  background: #d9e1e6;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border-radius: 0.9rem;
}

.home-more-title {
  margin: 0;
}

.home-more-intro p {
  margin: 1.25rem 0 0;
  max-width: 34ch;
}

.home-more-cta {
  margin-top: 1.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.8rem 2.4rem;
  border-radius: 999px;
  background: #2e92b9;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-more-cta:hover {
  background: #267ea0;
  transform: translateY(-1px);
}

.home-more-features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.8rem 1.2rem;
  align-content: start;
  background: #d2dae0;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  border-radius: 0.9rem;
}

.home-more-card {
  grid-column: span 2;
  text-align: center;
}

.home-more-card h3 {
  margin: 0.8rem 0 0;
}

.home-more-card p {
  margin: 0.65rem auto 0;
  max-width: 16ch;
}

.home-more-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.home-more-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.home-more-card-wide {
  grid-column: 2 / span 2;
}

.home-more-card-wide p {
  max-width: 17ch;
}

.home-more-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-more-icon img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
}

.home-split-section {
}

.home-split-wrap {
  width: calc(100vw - 2rem);
  margin-left: auto;
  margin-right: auto;
}

.home-split-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: 0;
}

.home-split-media {
  position: relative;
  min-height: 100%;
}

.home-split-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-split-content {
  background: #1f5470;
  color: #f4f0e7;
  padding: 150px clamp(1.5rem, 4.5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-split-kicker {
  display: inline-flex;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 231, 0.84);
}

.home-split-title {
  margin: 1rem 0 0;
  color: #f4f0e7;
  font-size: clamp(2rem, 3.2vw, 3.5rem);
  line-height: 1.1;
}

.home-split-text {
  margin: 1.1rem 0 0;
  max-width: 72ch;
  color: rgba(244, 240, 231, 0.92);
  line-height: 1.7;
  font-size: 0.975rem;
}

.home-split-meta {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: rgba(244, 240, 231, 0.8);
}

.home-split-link {
  margin-top: 1.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #f4f0e7;
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

.home-split-link:hover {
  color: #ffffff;
}

.home-services-section {
  background: #dce3e7;
}

/* ── Services program (coaching-style full-bleed section) ────────────── */
.home-services-program {
  position: relative;
  overflow: visible;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.home-services-program-bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 440px;
  background: var(--color-mist-blue);
  z-index: 0;
}

.home-services-program-inner {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .home-services-program-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.home-services-program-header {
  padding-top: 3.5rem;
  padding-bottom: 2.5rem;
  text-align: center;
  color: var(--color-charcoal);
}

.home-services-program-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-brand-blue);
  margin: 0 0 1.25rem;
}

.home-services-program-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-charcoal);
  margin: 0;
}

.home-services-program-subtitle {
  margin: 1rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-slate);
}

.home-services-program-carousel {
  position: relative;
}

.home-services-program-card {
  display: block;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  height: 450px;
  text-decoration: none;
}

@media (min-width: 768px) {
  .home-services-program-card {
    height: 380px;
  }
}

.home-services-program-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.home-services-program-card:hover img {
  transform: scale(1.05);
}

.home-services-program-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.18) 50%, transparent 100%);
  transition: background 0.45s ease;
}

.home-services-program-card:hover .home-services-program-card-overlay,
.home-services-program-card:focus-visible .home-services-program-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.38) 55%, rgba(0, 0, 0, 0.08) 100%);
}

/*
 * The body is parked lower by exactly the hidden button's height so the title
 * sits at its resting position; on hover the whole body lifts and the button
 * fades in underneath it.
 */
.home-services-program-card-body {
  --btn-reveal: 3rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  color: #fff;
  transform: translateY(var(--btn-reveal));
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.home-services-program-card:hover .home-services-program-card-body,
.home-services-program-card:focus-visible .home-services-program-card-body {
  transform: translateY(0);
}

.home-services-program-card-button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-charcoal);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.home-services-program-card:hover .home-services-program-card-button,
.home-services-program-card:focus-visible .home-services-program-card-button {
  opacity: 1;
  transform: translateY(0);
}

/*
 * The track fills the container edge to edge and every slide stretches to an
 * equal height, so the row reads as one full-width band rather than a strip
 * that drifts off to one side.
 */
.home-services-swiper {
  width: 100%;
  overflow: hidden;
  padding-top: 0.5rem;
}

.home-services-swiper .swiper-wrapper {
  align-items: stretch;
}

.home-services-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.home-services-swiper .swiper-slide > .home-services-program-card {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .home-services-program-card-body,
  .home-services-program-card-button,
  .home-services-program-card-overlay,
  .home-services-swiper .swiper-slide {
    transition: none;
  }
}

.home-services-program-card-cat {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.3rem;
}

.home-services-program-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0;
}

.home-services-program .home-services-prev,
.home-services-program .home-services-next {
  position: absolute;
  top: 225px;
  z-index: 20;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-charcoal);
  box-shadow: 0 4px 12px rgba(43, 43, 42, 0.08);
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  transform: translateY(-50%);
  cursor: pointer;
}

@media (min-width: 768px) {
  .home-services-program .home-services-prev,
  .home-services-program .home-services-next {
    display: flex;
    top: 190px;
  }
}

.home-services-program .home-services-prev:hover,
.home-services-program .home-services-next:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.home-services-program .home-services-prev {
  left: -1.5rem;
}

.home-services-program .home-services-next {
  right: -1.5rem;
}

/*
 * Dots sit below the track as a normal block, matching the testimonials
 * carousel. Arrows stay desktop-only (base rule above is display:none,
 * min-width:768px turns them on) - on mobile the dots and swipe gesture
 * are the only navigation, so there is no separate mobile override here.
 */
.home-services-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  width: auto;
}

.home-services-pagination .swiper-pagination-bullet {
  margin: 0 !important;
}

.home-services-eyebrow {
  margin: 0;
}

.home-services-title {
  margin: 0.65rem 0 0;
}

.home-services-subtitle {
  margin: 0.9rem auto 0;
  max-width: 48rem;
}

/* ── Services static grid ────────────────────────────────────────────── */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

@media (max-width: 639px) {
  .home-services-grid {
    grid-template-columns: 1fr;
  }
}

.home-service-card {
  min-width: 0;
  border-radius: 1.4rem;
  background: #f4f4f4;
  border: 1px solid #e4e4e4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.28s cubic-bezier(0.2, 0, 0, 1), border-color 0.28s ease;
}

.home-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -10px rgba(45, 75, 65, 0.2);
  border-color: var(--brand-sage);
}

.home-service-media img {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.home-service-body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.home-service-body h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.2;
}

.home-service-body p {
  margin: 0.9rem 0 0;
  font-size: 1.04rem;
  line-height: 1.75;
}

.home-service-summary p {
  margin: 0.8rem 0 0;
}

.home-service-body ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.home-service-points ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.home-service-body li {
  position: relative;
  margin: 0.58rem 0 0;
  padding-left: 0.9rem;
}

.home-service-body li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.home-service-link {
  margin-top: auto;
  padding-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-sage);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.2s ease, color 0.2s ease;
}

.home-service-link:hover {
  color: #6a8a68;
  gap: 0.6rem;
}

.home-service-link-arrow {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.home-service-link:hover .home-service-link-arrow {
  transform: translateX(3px);
}

.articles-pagination .swiper-pagination-bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: rgba(61, 89, 80, 0.3);
  opacity: 1;
}

.articles-pagination .swiper-pagination-bullet-active {
  background: rgba(61, 89, 80, 0.9);
}

.difference-badge-wrap {
  text-align: center;
}

.difference-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.difference-badge svg {
  width: 0.95rem;
  height: 0.95rem;
}

.difference-title {
  max-width: 52rem;
  margin: 1.55rem auto 0;
  text-align: center;
  letter-spacing: -0.02em;
}

.difference-subtitle {
  max-width: 34rem;
  margin: 1.55rem auto 0;
  text-align: center;
}

.difference-grid-top,
.difference-grid-bottom {
  display: grid;
  gap: 1.3rem;
  margin-top: 2.8rem;
}

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

.difference-grid-bottom {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.difference-card {
  border-radius: 1.7rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(195, 213, 204, 0.5);
  padding: 1.6rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.difference-card-icon {
  flex-shrink: 0;
  margin-top: 0.08rem;
}

.difference-card-icon svg {
  width: 2rem;
  height: 2rem;
}

.difference-card h3 {
  margin: 0;
}

.difference-card p {
  margin-top: 0.55rem;
  margin-bottom: 0;
}

/* ── Feature cards ───────────────────────────────────────────────────── */
.home-feature-card {
  background: #fff !important;
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* ── Minimal card grid (used on archive pages) ───────────────────────── */
.minimal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

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

@media (max-width: 560px) {
  .minimal-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Minimal blog card ───────────────────────────────────────────────── */
/* ── Blog card ───────────────────────────────────────────────────────── */
/* ── Blog card (reference matched style) ────────────────────────────── */
.blog-card-minimal {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0.85rem;
  text-align: left;
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.blog-card-minimal:hover,
.blog-card-minimal:focus-within {
  transform: translateY(-4px);
  border-color: rgba(62, 126, 166, 0.35);
  box-shadow: 0 20px 40px -12px rgba(30, 60, 50, 0.12);
}

.blog-card-minimal-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--color-primary-soft);
}

.blog-card-minimal-img-link {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
}

.blog-card-minimal-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.blog-card-minimal:hover .blog-card-minimal-img,
.blog-card-minimal:focus-within .blog-card-minimal-img {
  transform: scale(1.04);
}

.blog-card-minimal-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.25rem 0.6rem 0.4rem;
}

.blog-card-minimal-category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  background: #edf5f0 !important;
  color: #3e6b52 !important;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1;
  margin-bottom: 1.1rem;
  width: fit-content;
}

.blog-card-category-icon {
  width: 0.9rem;
  height: 0.9rem;
  flex: 0 0 auto;
  stroke: currentColor;
}

.blog-card-minimal-title {
  margin: 0 0 0.85rem;
  font-family: var(--nexlotech-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #1e293b !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-minimal-title a {
  color: #1e293b !important;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* Stretched link: the whole card is clickable */
.blog-card-minimal-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.blog-card-minimal:hover .blog-card-minimal-title a,
.blog-card-minimal:focus-within .blog-card-minimal-title a {
  color: #3e6b52 !important;
}

.blog-card-minimal-divider {
  width: 2.75rem;
  height: 2px;
  background: #5b7a63;
  border-radius: 2px;
  margin: 0 0 1rem;
}

.blog-card-minimal-excerpt {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748b !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-minimal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.blog-card-minimal-date {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  font-size: 0.84rem;
  font-weight: 500;
  color: #64748b !important;
  line-height: 1;
}

.blog-card-date-icon {
  display: inline-block !important;
  vertical-align: middle !important;
  width: 1rem !important;
  height: 1rem !important;
  color: #5b7a63 !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.blog-card-minimal-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3e6b52 !important;
  white-space: nowrap;
  text-decoration: none;
}

.blog-card-arrow-icon {
  width: 0.95rem;
  height: 0.95rem;
  stroke: currentColor;
  transition: transform 0.25s ease;
}

.blog-card-minimal:hover .blog-card-arrow-icon,
.blog-card-minimal:focus-within .blog-card-arrow-icon {
  transform: translateX(4px);
}

/* Equal-height cards inside grids and carousels. */
.minimal-card-grid > * {
  display: flex;
}

.articles-swiper .swiper-slide,
.single-related-swiper .swiper-slide,
.service-explore-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.articles-swiper .swiper-slide > .blog-card-minimal,
.single-related-swiper .swiper-slide > .blog-card-minimal,
.minimal-card-grid > * > .blog-card-minimal {
  width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .blog-card-minimal,
  .blog-card-minimal-img,
  .blog-card-minimal-more svg {
    transition: none;
  }

  .blog-card-minimal:hover,
  .blog-card-minimal:focus-within {
    transform: none;
  }

  .blog-card-minimal:hover .blog-card-minimal-img,
  .blog-card-minimal:focus-within .blog-card-minimal-img {
    transform: none;
  }
}

.blog-card-minimal-date {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-slate);
  font-weight: 500;
}

.home-articles-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--color-brand-blue);
  color: var(--color-brand-blue);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.home-articles-cta:hover {
  background: var(--color-brand-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(62, 126, 166, 0.2);
}

.articles-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-primary-soft) 100%);
}

.articles-title {
  max-width: 54rem;
  margin: 0 auto;
  text-align: center;
}

.articles-carousel-wrap {
  position: relative;
}

.articles-swiper {
  padding-bottom: 2rem;
}

.article-card {
  min-width: 0;
  background: #f6f8f7;
  border-radius: 1.9rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.article-card-media {
  padding: 0.55rem;
  padding-bottom: 0;
}

.article-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 1.5rem;
}

.article-card-body {
  padding: 1.2rem 1.3rem 1.15rem;
}

.article-meta {
  margin: 0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-meta span {
  margin: 0 0.35rem;
}

.article-card h3 {
  margin: 0.9rem 0 0;
  max-width: 18ch;
}

.article-arrow {
  margin-top: 1.1rem;
  margin-left: auto;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid rgba(108, 129, 121, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.article-arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.article-arrow:hover {
  transform: translateX(2px);
  background: rgba(255, 255, 255, 0.75);
}

.articles-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid rgba(61, 89, 80, 0.25);
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(30, 55, 48, 0.08);
  z-index: 5;
}

.articles-nav svg {
  width: 1.1rem;
  height: 1.1rem;
}

.articles-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.articles-prev {
  left: -1.25rem;
}

.articles-next {
  right: -1.25rem;
}

#mobileMenu.menu-open {
  transform: translateX(0);
}

@media (min-width: 768px) {
  .home-section-title {
    font-size: 3rem;
  }

  .home-card-title {
    font-size: 1.875rem;
  }

  .home-banner-heading {
    font-size: 3.75rem;
  }

  .home-banner-description {
    font-size: 1.125rem;
  }
}

@media (max-width: 767px) {
  .home-split-wrap {
    width: calc(100vw - 1rem);
  }

  .home-split-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-split-media {
    display: none;
  }

  .home-split-content {
    padding: 3rem 1.5rem;
  }

  .home-more-wrap {
    width: calc(100vw - 1rem);
  }

  h1 {
  }

  .difference-subtitle {
  }

  .difference-grid-top,
  .difference-grid-bottom {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .home-more-grid,
  .home-more-features {
    grid-template-columns: 1fr;
  }

  .home-more-card,
  .home-more-card:nth-child(4),
  .home-more-card:nth-child(5) {
    grid-column: auto;
  }

  .home-more-card-wide {
    grid-column: auto;
  }

  .home-more-intro p,
  .home-more-card p,
  .home-more-card-wide p {
    max-width: 100%;
  }

  .difference-grid-bottom {
    margin-top: 1.3rem;
  }

  .home-banner-slider {
    border-radius: 0;
    min-height: 60vh;
  }

  .home-banner-swiper {
    height: 60vh !important;
  }

  .home-banner-nav {
    display: none;
  }

  .article-card h3 {
  }

  .articles-nav {
    display: none;
  }
}


/* --- Start of tw/mini-course-time-management.css --- */
/* Accordion transitions */
.accordion-content {
  transition: max-height 0.3s ease-out;
  overflow: hidden;
}


/* --- Start of tw/service.css --- */
:root {
  --service-bg: var(--color-bg);
  --service-surface: var(--color-bg);
  --service-card: var(--color-surface);
  --service-text: var(--color-text);
  --service-soft: var(--color-text-muted);
  --service-accent: var(--color-primary);
  --brand-charcoal: var(--color-text);
}

.bg-brand-charcoal {
  background-color: var(--brand-charcoal);
}

/* ── Shared page banner (cp-hero) used on service archive ──────────────── */
.cp-hero {
  padding-top: 0;
}

.cp-hero-card {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(16rem, 30vw, 24rem);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 18, 0.62);
}

.cp-hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  width: 100%;
}

.cp-hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

.cp-hero-title em {
  font-style: italic;
  color: var(--color-sand);
  font-family: var(--nexlotech-heading-font);
}

.cp-hero-sub {
  margin: 1.2rem auto 0;
  max-width: 50ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.service-page-banner {
  padding: 0;
}

.service-banner-inner {
  position: relative;
  min-height: clamp(20rem, 30vw, 26rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background-image: url("https://images.unsplash.com/photo-1573497019418-b400bb3ab074?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
}

.service-banner-overlay {
  position: absolute;
  inset: 0;
  background: var(--nexlotech-banner-overlay, linear-gradient(90deg, rgba(35, 93, 75, 0.72) 0%, rgba(21, 43, 36, 0.45) 60%, rgba(21, 43, 36, 0.35) 100%));
}

.service-banner-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.25rem;
}

.service-banner-content h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.1;
}

.service-banner-content p {
  margin: 1.35rem 0 0;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.95rem;
}

.service-banner-content span {
  margin: 0 0.35rem;
}

.service-shell {
  width: min(1280px, calc(100vw - 2rem));
  margin: 0 auto;
}

@media (min-width: 768px) {
  .service-shell {
    width: min(1280px, calc(100vw - 3rem));
  }
}

.service-overview,
.service-benefits,
.service-inclusions,
.service-support,
.service-profile,
.service-testimonials,
.service-faq,
.service-explore {
  padding: clamp(3rem, 6vw, 4.8rem) 0;
}

.service-chip {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary-text);
}

/* Section title beside the chip. Had no rule at all, so it fell back to the
   base heading size and read as body copy. */
.service-overview-copy h2 {
  margin: 0.85rem 0 0;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-accent-text);
  text-wrap: balance;
}

.service-chip.center {
  display: flex;
  justify-content: center;
}

.service-chip.on-dark {
}

.service-chip-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  border-radius: 999px;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 16%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-overview-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: stretch;
}

.service-overview h2 {
  margin: 0.85rem 0 0;
  line-height: 1.15;
}

.service-lead {
  margin: 1.15rem 0 0;
  line-height: 1.8;
  color: var(--color-text);
}

.service-overview-copy {
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ── Service accordion (minimal) ─────────────────────────────────────── */
.service-overview-points {
  background: var(--color-primary-soft);
  border: 1px solid color-mix(in srgb, var(--color-primary) 22%, transparent);
  border-radius: 1rem;
  padding: 1.75rem;
}

.service-accordion-heading {
  margin: 0;
  padding-left: 0.85rem;
  border-left: 3px solid var(--color-primary);
  font-family: var(--nexlotech-heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.service-accordion-intro {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Hairline rules instead of filled panels - the list reads as one block. */
.service-accordion {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/*
 * Closed rows sit flat on the sage wash; the open row lifts to a white
 * surface with a sage edge, so the active item is obvious without
 * every row being a filled panel.
 */
.service-accordion-item {
  border-radius: 0.6rem;
  border-left: 3px solid transparent;
  padding-inline: 0.9rem;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.service-accordion-item:not([open]):hover {
  background: color-mix(in srgb, var(--color-primary) 9%, transparent);
}

.service-accordion-item[open] {
  background: var(--color-surface);
  border-left-color: var(--color-primary);
  box-shadow: 0 6px 18px -12px rgba(43, 60, 48, 0.45);
}

.service-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--color-text);
  transition: color 0.25s ease;
}

.service-accordion-summary::-webkit-details-marker,
.service-accordion-summary::marker {
  display: none;
  content: "";
}

/* On the sage wash the lighter sage text fails AA (4.35), so closed-row
   hover uses the deeper shade; the open row sits on white where the
   standard sage text token passes at 5.10. */
.service-accordion-summary:hover {
  color: var(--color-primary-deep);
}

.service-accordion-item[open] .service-accordion-summary {
  color: var(--color-primary-text);
}

.service-accordion-summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Plus drawn from two rules so it can rotate into a cross on open. */
.service-accordion-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-accordion-icon::before,
.service-accordion-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  border-radius: 2px;
  background: var(--color-primary);
  transform: translateY(-50%);
  transition: opacity 0.25s ease;
}

.service-accordion-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.service-accordion-item[open] .service-accordion-icon {
  transform: rotate(135deg);
}

.service-accordion-body {
  padding: 0 0 1.15rem;
  border-top: 1px solid color-mix(in srgb, var(--color-primary) 16%, transparent);
  padding-top: 0.9rem;
  max-width: 62ch;
  animation: serviceAccordionReveal 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.service-accordion-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

@keyframes serviceAccordionReveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-accordion-icon {
    transition: none;
  }

  .service-accordion-body {
    animation: none;
  }
}

.service-cta-row {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.service-pill-btn,
.service-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  border-radius: 999px;
  padding: 0.65rem 1.25rem;
  text-decoration: none;
  font-size: 0.95rem;
}

.service-pill-btn {
  background: var(--nexlotech-primary);
  color: #fff;
}

.service-link-btn {
  border: 1px solid rgba(35, 79, 68, 0.25);
  color: #213a32;
}

.service-pillars {
  padding: 0 0 clamp(2.5rem, 4.2vw, 3.8rem);
}

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

.service-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(35, 79, 68, 0.12);
  border-radius: 1rem;
  padding: 1.25rem 1.1rem;
}

.service-pillar-card h3 {
  margin: 0;
}

.service-pillar-card p {
  margin: 0.65rem 0 0;
}

.service-mini-list {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}

.service-mini-list li {
  position: relative;
  padding-left: 1.1rem;
  line-height: 1.7;
}

.service-mini-list li + li {
  margin-top: 0.4rem;
}

.service-mini-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.service-checks {
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.service-checks li + li {
  margin-top: 0.95rem;
}

.service-checks li::before {
  content: "✓";
  width: 1.05rem;
  height: 1.05rem;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(149, 217, 145, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(0.13rem);
}

.service-hero-image {
  margin-top: 2.3rem;
}

.service-hero-image img {
  width: 100%;
  border-radius: 1.15rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 38, 32, 0.14);
}

.section-title {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.benefits-grid,
.explore-grid {
  margin-top: 2.1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.benefits-grid article {
  background: #f7f8f8;
  border-radius: 1.2rem;
  padding: 2rem 1.65rem 1.85rem;
  min-height: 20rem;
  border: 1px solid rgba(35, 79, 68, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.explore-grid article {
  background: #f9fbfa;
  border-radius: 1rem;
  padding: 1.3rem 1.2rem;
  min-height: 9rem;
  border: 1px solid rgba(35, 79, 68, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefits-grid article:hover,
.explore-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(19, 45, 38, 0.09);
}

.benefits-grid h3 {
  margin: 0.95rem 0 0;
  text-align: center;
}

.explore-grid h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.benefits-grid p {
  margin: 0.9rem 0 0;
  max-width: 30ch;
  text-align: center;
}

.explore-grid p {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.service-inclusion-lead {
  margin: 0.85rem auto 0;
  max-width: 56ch;
  text-align: center;
}

.benefit-icon {
  display: inline-block;
  margin-bottom: 0.95rem;
}

.benefit-icon img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.inclusion-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 79, 68, 0.18);
  color: rgba(35, 79, 68, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.service-inclusions {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #e8eee5;
}

.service-inclusions .service-shell {
  padding-top: clamp(3rem, 6vw, 4.8rem);
  padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

.service-inclusions-heading {
  margin: 0.85rem 0 3rem;
  text-align: center;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--color-text);
  text-wrap: balance;
}

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

.service-inclusions-item {
  display: flex;
  align-items: flex-start;
  gap: 1.6rem;
}

.service-inclusions-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #c8d4c0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a5a35;
}

.service-inclusions-avatar svg {
  width: 36px;
  height: 36px;
}

.service-inclusions-body h3 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: #1e1e1e;
  font-family: var(--nexlotech-heading-font);
}

.service-inclusions-body p {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.75;
  color: #4a4a4a;
}

@media (max-width: 768px) {
  .service-inclusions-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .service-inclusions-avatar {
    width: 60px;
    height: 60px;
  }

  .service-inclusions-avatar svg {
    width: 28px;
    height: 28px;
  }
}

.service-benefits {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #eef2f5;
}

.service-benefits .service-shell {
  padding-top: clamp(3rem, 6vw, 4.8rem);
  padding-bottom: clamp(3rem, 6vw, 4.8rem);
}

.service-support {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.service-support .service-shell {
  width: 100%;
  max-width: none;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

@media (min-width: 768px) {
  .service-support .service-shell {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.support-content-wrap {
  width: min(1280px, calc(100vw - 2rem));
  margin: 0 auto;
}

@media (min-width: 768px) {
  .support-content-wrap {
    width: min(1280px, calc(100vw - 3rem));
  }
}

.support-card {
  position: relative;
  overflow: hidden;
  min-height: clamp(20rem, 35vw, 27rem);
  border-radius: 1rem;
  background-image: url("https://images.unsplash.com/photo-1576671081837-49000212a370?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center center;
}

.support-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 45%, rgb(54 123 148 / 34%) 100%);
}

.support-content {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  padding: clamp(1.6rem, 3.4vw, 2.7rem);
  color: #ffffff;
}

.support-content .service-chip,
.support-content h2,
.support-content p {
  color: #ffffff;
}

.support-content h2 {
  margin: 0.85rem 0 0;
  font-size: clamp(1.9rem, 3vw, 2.9rem);
  line-height: 1.12;
}

.support-content p {
  margin: 0.95rem 0 0;
  font-size: 1.02rem;
  line-height: 1.72;
}

.support-links {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.support-links a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1rem;
  color: #ffffff;
}

.service-profile-grid {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 1.2rem;
  align-items: stretch;
}

.service-profile {
  background: #d9d9d9;
}

.service-profile-card {
  background: #f4f6f8;
  border: 1px solid rgba(35, 79, 68, 0.14);
  border-radius: 0.75rem;
  overflow: hidden;
}

.service-profile-main {
  padding: clamp(1.2rem, 2.2vw, 2rem);
}

.service-profile-main h2 {
  margin: 0;
}

.service-profile-main p {
  margin: 1rem 0 0;
}

.service-profile-edu {
  border-top: 1px solid rgba(35, 79, 68, 0.12);
  padding: clamp(1.2rem, 2.2vw, 2rem);
}

.service-profile-edu h3 {
  margin: 0;
}

.service-profile-edu p {
  margin: 0.7rem 0 0;
}

.service-profile-btn {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.8rem;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--nexlotech-primary);
}

.service-profile-btn:hover {
  background: #1d4439;
}

.service-profile-image img {
  width: 100%;
  height: 100%;
  min-height: 23rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

@media (min-width: 981px) {
  .service-profile-image {
    margin-top: 2rem;
  }
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.faq-left h2 {
  margin: 0.85rem 0 0;
  max-width: 9ch;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1.12;
}

.faq-left img {
  width: min(360px, 100%);
  margin-top: 1.7rem;
  border-radius: 0.9rem;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(23, 48, 41, 0.12);
}

.faq-right details {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(51, 88, 78, 0.16);
  border-radius: 0.9rem;
  padding: 0.2rem 0.95rem;
  box-shadow: 0 10px 24px rgba(18, 44, 37, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-right details + details {
  margin-top: 0.7rem;
}

.faq-right details:hover {
  transform: translateY(-1px);
  border-color: rgba(35, 79, 68, 0.24);
  box-shadow: 0 14px 28px rgba(18, 44, 37, 0.08);
}

.faq-right summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.12rem;
  line-height: 1.45;
  gap: 1rem;
  padding: 0.8rem 0;
  font-weight: 600;
  color: #213a32;
}

.faq-right summary::-webkit-details-marker {
  display: none;
}

.faq-right summary::after {
  content: "";
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  border: 1px solid rgba(62, 89, 80, 0.28);
  background: rgba(255, 255, 255, 0.95)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%23324f45' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E")
    center/1rem 1rem no-repeat;
  flex: 0 0 auto;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.faq-right details[open] {
  border-color: rgba(35, 79, 68, 0.3);
  box-shadow: 0 16px 30px rgba(18, 44, 37, 0.1);
}

.faq-right details[open] summary::after {
  transform: rotate(180deg);
  border-color: rgba(35, 79, 68, 0.4);
  background-color: rgba(149, 217, 145, 0.2);
}

.faq-right details p {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #385149;
}

.faq-head-center {
  text-align: center;
}

.faq-center {
  width: min(860px, 100%);
  margin: 1.6rem auto 0;
}

.explore-dots {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.explore-dots span {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(58, 91, 81, 0.18);
}

.service-explore-swiper {
  margin-top: 2rem;
  padding: 0.35rem 0 2.8rem;
  position: relative;
}

.service-explore-swiper .swiper-slide {
  height: auto;
}

.explore-card {
  background: #f9fbfa;
  border: 1px solid rgba(35, 79, 68, 0.1);
  border-radius: 1rem;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 26px rgba(19, 45, 38, 0.09);
}

.explore-card-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  background: #e9eff2;
}

.explore-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.explore-card-content {
  padding: 1rem 1rem 1.15rem;
}

.explore-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

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

.explore-card h3 a:hover {
  text-decoration: underline;
}

.explore-card p {
  margin: 0.7rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
}

.service-explore-pagination.swiper-pagination {
  bottom: 0;
}

.service-explore-pagination .swiper-pagination-bullet {
  width: 0.55rem;
  height: 0.55rem;
  opacity: 1;
  background: rgba(35, 79, 68, 0.26);
}

.service-explore-pagination .swiper-pagination-bullet-active {
  background: var(--nexlotech-primary);
}

.service-explore-prev,
.service-explore-next {
  position: absolute;
  top: calc(50% - 1.65rem);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 79, 68, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #213a32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(19, 45, 38, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-explore-prev:hover,
.service-explore-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(19, 45, 38, 0.15);
}

.service-explore-prev {
  left: 0.35rem;
}

.service-explore-next {
  right: 0.35rem;
}

.service-archive-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-archive-card {
  background: transparent;
}

.service-archive-image-link {
  display: block;
}

.service-archive-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-archive-card h3 {
  margin: 1.15rem 0 0;
  font-size: 2rem;
  line-height: 1.2;
}

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

.service-archive-card p {
  margin: 0.9rem 0 0;
  font-size: 1.04rem;
  line-height: 1.75;
}

/* ── Service page testimonials – large centered quote layout ─────────── */
.svc-quote-section {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 2rem;
  background: #f5f5f0;
  text-align: center;
  overflow: hidden;
}

.svc-quote-swiper {
  max-width: 860px;
  margin: 0 auto;
}

.svc-quote-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/*
 * The literal &ldquo;/&rdquo; were removed from the markup - the marks are
 * decorative, so they belong in CSS and are hidden from assistive tech.
 */
.svc-quote-text {
  position: relative;
  margin: 0 0 2.5rem;
  padding: 0 clamp(1.75rem, 5vw, 3.5rem);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  text-align: center;
  font-style: normal;
  quotes: none;
}

.svc-quote-text::before,
.svc-quote-text::after {
  position: absolute;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 8vw, 6rem);
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.28;
  pointer-events: none;
}

.svc-quote-text::before {
  content: "\201C";
  top: -0.35em;
  left: 0;
}

.svc-quote-text::after {
  content: "\201D";
  right: 0;
  bottom: -0.55em;
}

.svc-quote-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.svc-quote-avatar {
  width: 120px;
  height: 120px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #d0d8d4;
}

.svc-quote-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-quote-avatar--fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #3a5a50;
}

.svc-quote-name {
  margin: 0;
  font-size: 1rem;
  color: #2c3a48;
  font-weight: 400;
}

.svc-quote-prev,
.svc-quote-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #4a5a64;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 2;
  transition: color 0.2s;
}

.svc-quote-prev { left: 1rem; }
.svc-quote-next { right: 1rem; }

.svc-quote-prev:hover,
.svc-quote-next:hover { color: #1a2c38; }

/* ── Service page testimonials – large single-slide layout ───────────── */
.svc-testi-section {
  padding: clamp(3rem, 6vw, 4.8rem) 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.svc-testi-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.svc-testi-label {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1e2e28;
}

.svc-testi-rating {
  text-align: right;
}

.svc-testi-stars {
  display: block;
  font-size: 1.35rem;
  color: #1e2e28;
  letter-spacing: 0.1em;
  line-height: 1;
}

.svc-testi-rating-text {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.88rem;
  color: #4a5a54;
}

.svc-testi-carousel-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.service-testimonials-swiper {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.svc-testi-slide {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
}

.svc-testi-avatar {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  overflow: hidden;
  background: #d0d8d4;
  margin-top: 0.4rem;
}

.svc-testi-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.svc-testi-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 600;
  color: #3a5a50;
}

.svc-testi-content {
  flex: 1;
}

.svc-testi-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 600;
  line-height: 1.25;
  color: #1a2820;
  font-family: var(--nexlotech-heading-font);
}

.svc-testi-quote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a5a54;
}

.svc-testi-prev,
.svc-testi-next {
  flex-shrink: 0;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #3a4a44;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.svc-testi-prev:hover,
.svc-testi-next:hover {
  color: #1a2820;
}

@media (max-width: 640px) {
  .svc-testi-slide {
    flex-direction: column;
    gap: 1.2rem;
  }

  .svc-testi-avatar {
    width: 80px;
    height: 80px;
  }

  .svc-testi-prev,
  .svc-testi-next {
    display: none;
  }
}

.service-testimonial-card {
  background: #f7f9fb;
  border: 1px solid rgba(35, 79, 68, 0.12);
  border-radius: 1rem;
  padding: 1.2rem;
  height: auto;
}

.service-testimonial-text {
  margin: 0;
}

.service-testimonial-author {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.service-testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  object-fit: cover;
}

.service-testimonials-pagination.swiper-pagination {
  bottom: 0;
}

.service-testimonials-pagination .swiper-pagination-bullet {
  width: 0.55rem;
  height: 0.55rem;
  opacity: 1;
  background: rgba(35, 79, 68, 0.26);
}

.service-testimonials-pagination .swiper-pagination-bullet-active {
  background: var(--nexlotech-primary);
}

.service-testimonials-prev,
.service-testimonials-next {
  position: absolute;
  top: calc(50% - 1.65rem);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(35, 79, 68, 0.22);
  background: rgba(255, 255, 255, 0.96);
  color: #213a32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(19, 45, 38, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-testimonials-prev:hover,
.service-testimonials-next:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(19, 45, 38, 0.15);
}

.service-testimonials-prev {
  left: 0.35rem;
}

.service-testimonials-next {
  right: 0.35rem;
}

@media (max-width: 980px) {
  .service-overview-top,
  .service-pillar-grid,
  .service-profile-grid,
  .faq-grid,
  .benefits-grid,
  .explore-grid {
    grid-template-columns: 1fr;
  }

  .service-checks {
    margin-top: 0.8rem;
  }

  .service-cta-row a {
    width: 100%;
  }

  .faq-left h2 {
    max-width: none;
  }

  .service-banner-content p {
    margin-top: 1rem;
  }

  .benefits-grid article,
  .explore-grid article {
    padding: 1.1rem 1rem;
  }

  .service-benefits .service-shell {
    padding-top: 2.4rem;
    padding-bottom: 2.4rem;
  }

  .service-archive-grid {
    grid-template-columns: 1fr;
  }

  .service-archive-card h3 {
    font-size: 1.75rem;
  }

  .service-testimonials-prev,
  .service-testimonials-next {
    display: none;
  }

  .service-explore-prev,
  .service-explore-next {
    display: none;
  }
}

/* ── Shared minimal card grid (archive pages) ────────────────────────── */
.minimal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

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

@media (max-width: 560px) {
  .minimal-card-grid {
    grid-template-columns: 1fr;
  }
}


/* Modern Hamburger Lines CSS Animation */
.site-header-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  /* 1.5px line + 0.28rem gap = 6px between line centres. */
  transform: translateY(6px) rotate(45deg);
}
.site-header-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile submenu caret styling */
.mobile-submenu-caret {
  transition: transform 0.2s ease-in-out;
}

/* Contact Form 7 Modern Styling */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.wpcf7 label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-slate);
  margin-bottom: 0.45rem;
  font-weight: 700;
  display: block;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 0.8rem 1.1rem;
  font-size: 0.95rem;
  color: var(--color-charcoal);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.01);
}

.wpcf7 select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235F5F5C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 0.95rem;
  padding-right: 2.75rem;
}

.wpcf7 input[type="text"]:hover,
.wpcf7 input[type="email"]:hover,
.wpcf7 input[type="tel"]:hover,
.wpcf7 select:hover,
.wpcf7 textarea:hover {
  border-color: var(--color-slate);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--color-brand-blue);
  box-shadow: 0 0 0 3px rgba(62, 126, 166, 0.14);
  background: #ffffff;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  width: 100%;
  border: 0;
  border-radius: 9999px;
  background: var(--color-brand-blue);
  color: #fff;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 1.2rem;
  transition: background-color 0.2s, transform 0.2s;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
  background: var(--nexlotech-primary-dark);
  transform: translateY(-1px);
}

/*
 * Adapts CF7's own radio markup (span.wpcf7-list-item > label > input +
 * span.wpcf7-list-item-label) into the same pill look as the native form's
 * .contact-format-option, reusing the .contact-format/-legend/-options
 * classes already applied to the CF7 fieldset in the injected form tags.
 */
.wpcf7 .contact-format-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.wpcf7 .contact-format-options .wpcf7-list-item {
  margin: 0;
}

.wpcf7 .contact-format-options .wpcf7-list-item label {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wpcf7 .contact-format-options .wpcf7-list-item input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  inset: 0;
  cursor: pointer;
}

.wpcf7 .contact-format-options .wpcf7-list-item label:hover {
  border-color: var(--color-primary);
}

.wpcf7 .contact-format-options .wpcf7-list-item label:has(input:checked),
.wpcf7 .contact-format-options .wpcf7-list-item label:has(input:checked) span,
.wpcf7 .contact-format-options .wpcf7-list-item label input[type="radio"]:checked + span {
  background-color: var(--color-primary, #4A6B53) !important;
  border-color: var(--color-primary, #4A6B53) !important;
  color: #ffffff !important;
}

.wpcf7 .contact-format-options .wpcf7-list-item label:has(input:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .wpcf7 .contact-format-options .wpcf7-list-item label {
    transition: none;
  }
}



/* ── Site footer ─────────────────────────────────────────────────────── */
.nexlotech-footer-shell {
  padding-top: 4rem;
  padding-bottom: 3.5rem;
}

/* Newsletter row */
.nexlotech-footer-newsletter {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 900px) {
  .nexlotech-footer-newsletter {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

.nexlotech-footer-newsletter-copy .js-footer-description {
  margin: 0;
  max-width: 44ch;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  color: var(--nexlotech-footer-text);
  opacity: 0.9;
}

.nexlotech-footer-newsletter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 900px) {
  .nexlotech-footer-newsletter-form {
    justify-content: flex-end;
  }
}

.nexlotech-footer-newsletter-form input[type="email"] {
  flex: 1 1 15rem;
  min-width: 0;
  padding: 0.95rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-charcoal);
  font-size: 0.95rem;
  line-height: 1.4;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nexlotech-footer-newsletter-form input[type="email"]::placeholder {
  color: #9aa3a8;
}

.nexlotech-footer-newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--nexlotech-primary);
  box-shadow: 0 0 0 3px rgba(62, 126, 166, 0.35);
}

.nexlotech-footer-newsletter-form button {
  flex: 0 0 auto;
  padding: 0.95rem 2.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--nexlotech-primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nexlotech-footer-newsletter-form button:hover,
.nexlotech-footer-newsletter-form button:focus-visible {
  background: var(--nexlotech-primary-dark);
  transform: translateY(-1px);
}

/* Divider */
.nexlotech-footer-divider {
  height: 1px;
  margin: 3.25rem 0;
  background: rgba(255, 255, 255, 0.28);
}

/* Link columns */
.nexlotech-footer-layout {
  row-gap: 2.5rem;
}

.nexlotech-footer-widget-col li + li,
.footer-widget-col li + li {
  margin-top: 0.85rem;
}

.footer-widget-col li,
.footer-widget-col p {
  font-size: 1.05rem;
  line-height: 1.6;
}

.footer-widget-col a {
  text-decoration: none;
  transition: color 0.2s ease;
}

/* Contact column */
.nexlotech-footer-contact p {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--nexlotech-footer-text);
}

.nexlotech-footer-contact a {
  color: var(--nexlotech-footer-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nexlotech-footer-contact a:hover,
.nexlotech-footer-contact a:focus-visible {
  color: var(--nexlotech-footer-link-hover);
}

/* Bare social icons, matching the reference footer */
.nexlotech-footer-contact .nexlotech-social-list {
  margin-top: 1.35rem;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.nexlotech-footer-contact .nexlotech-social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  opacity: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nexlotech-footer-contact .nexlotech-social-list a:hover,
.nexlotech-footer-contact .nexlotech-social-list a:focus-visible {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.nexlotech-footer-contact .nexlotech-social-list svg {
  display: block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

/* Kill the inline-baseline gap so the glyph centres optically, not on the
   text baseline. */
.nexlotech-footer-contact .nexlotech-social-list li {
  display: flex;
  line-height: 0;
}

/*
 * The footer link-column rule (`.footer-widget-col li + li`) also matched the
 * social list, adding margin-top to every icon after the first and stepping
 * them progressively down. The row is a flex layout with gap - it needs no
 * vertical margin at all.
 */
.nexlotech-social-list li + li,
.nexlotech-footer-widget-col .nexlotech-social-list li + li,
.nexlotech-footer-contact .nexlotech-social-list li + li,
.footer-widget-col .nexlotech-social-list li + li {
  margin-top: 0;
}

/* Bottom bar - dark background matching site footer */
.nexlotech-footer-bottom-bar {
  padding: 1.35rem 0;
  background: var(--nexlotech-footer-bg, #2D3748) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nexlotech-footer-bottom-bar .js-footer-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 1;
}

.nexlotech-footer-legal-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nexlotech-footer-legal-links a {
  color: rgba(255, 255, 255, 0.85) !important;
  opacity: 0.9;
  text-decoration: none;
  font-size: 16px !important;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nexlotech-footer-legal-links a:hover,
.nexlotech-footer-legal-links a:focus-visible {
  color: #e5e2c9 !important;
  text-decoration: underline !important;
  text-decoration-color: #e5e2c9 !important;
  opacity: 1;
}

@media (max-width: 640px) {
  .nexlotech-footer-shell {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
  }

  .nexlotech-footer-newsletter-copy .js-footer-description {
    font-size: 1.25rem;
  }

  .nexlotech-footer-newsletter-form input[type="email"],
  .nexlotech-footer-newsletter-form button {
    flex: 1 1 100%;
  }

  .nexlotech-footer-divider {
    margin: 2.5rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nexlotech-footer-newsletter-form button,
  .nexlotech-footer-contact .nexlotech-social-list a {
    transition: none;
    transform: none;
  }
}


/* ── Home hero ───────────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-primary-deep);
  isolation: isolate;
}

.home-hero-media,
.home-hero-scrim {
  position: absolute;
  inset: 0;
}

.home-hero-media {
  z-index: 0;
}

.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-focus, right center);
  display: block;
}

/*
 * Two layers: a left-to-right wash that carries the text, plus a gentle lift
 * from the bottom. The right side stays clear so the subject reads.
 */
.home-hero-scrim {
  z-index: 1;
  --hero-scrim-opacity: 0.55;
  background:
    linear-gradient(
      100deg,
      rgba(10, 22, 30, calc(var(--hero-scrim-opacity) + 0.25)) 0%,
      rgba(10, 22, 30, var(--hero-scrim-opacity)) 38%,
      rgba(10, 22, 30, 0) 72%
    ),
    linear-gradient(to top, rgba(10, 22, 30, 0.45) 0%, transparent 45%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1280px, 100%);
  margin-inline: auto;
  padding: clamp(4rem, 9vw, 7rem) 1.25rem;
}

@media (min-width: 768px) {
  .home-hero-inner {
    padding-inline: 2.5rem;
  }
}

.home-hero-content {
  max-width: 44rem;
}

.home-hero-title {
  margin: 0;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.home-hero-text {
  margin: 1.25rem 0 0;
  max-width: 44ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.25s ease, background-color 0.25s ease,
              color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-hero-btn--primary {
  background: var(--nexlotech-primary);
  color: #ffffff;
  box-shadow: 0 12px 28px -12px rgba(91, 122, 99, 0.55);
}

.home-hero-btn--primary:hover,
.home-hero-btn--primary:focus-visible {
  background: var(--nexlotech-primary-dark);
  transform: translateY(-2px);
}

.home-hero-btn--secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.75);
}

.home-hero-btn--secondary:hover,
.home-hero-btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.home-hero-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.home-hero-btn-arrow {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.home-hero-btn:hover .home-hero-btn-arrow,
.home-hero-btn:focus-visible .home-hero-btn-arrow {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-btn-arrow {
    transition: none;
  }

  .home-hero-btn:hover .home-hero-btn-arrow {
    transform: none;
  }
}

/*
 * Portrait screens stack instead of overlaying: the photo gets its own block
 * at full width so the subject is never cropped out of frame, and the copy and
 * buttons sit underneath it on the solid section colour.
 */
@media (max-width: 767px) {
  .home-hero {
    display: block;
    min-height: 0;
  }

  .home-hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  .home-hero-img {
    /* Bias upward so faces stay in frame on a shorter crop. */
    object-position: center 22%;
  }

  /* Fade the base of the photo into the content block below it. */
  .home-hero-media::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px 0;
    height: 38%;
    background: linear-gradient(to top, var(--color-primary-deep) 0%, rgba(62, 83, 68, 0) 100%);
  }

  /* The full-bleed wash is a landscape-only device. */
  .home-hero-scrim {
    display: none;
  }

  .home-hero-inner {
    width: 100%;
    padding: 1.75rem 1.25rem 2.5rem;
  }

  .home-hero-content {
    max-width: none;
  }

  .home-hero-title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
    text-shadow: none;
  }

  .home-hero-text {
    margin-top: 0.9rem;
    font-size: 0.98rem;
  }

  .home-hero-actions {
    gap: 0.6rem;
    margin-top: 1.5rem;
  }

  .home-hero-btn {
    flex: 0 1 auto;
    padding: 0.72rem 1.35rem;
    font-size: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-btn {
    transition: none;
  }

  .home-hero-btn:hover,
  .home-hero-btn:focus-visible {
    transform: none;
  }
}


/* ── Palette utility ─────────────────────────────────────────────────── */
/* Replaces the hardcoded blue Tailwind gradient that was inlined across
   page templates, so page surfaces follow --color-bg. */
.page-surface {
  background: var(--color-bg);
}


/* ── Service card grid (archive) ─────────────────────────────────────── */
.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

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

@media (max-width: 560px) {
  .service-card-grid {
    grid-template-columns: 1fr;
  }
}


/* ── Floating contact buttons ────────────────────────────────────────── */
.floating-contact {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.floating-contact-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 8px 20px -6px rgba(20, 40, 30, 0.45);
  transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1),
              background-color 0.25s ease,
              box-shadow 0.25s ease;
}

.floating-contact-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
}

.floating-contact-btn--instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
  color: #ffffff !important;
}

.floating-contact-btn--whatsapp {
  background: var(--nexlotech-float-whatsapp, #25D366);
}

.floating-contact-btn--email {
  background: var(--nexlotech-float-email, var(--color-primary));
}

/* Darken on hover without needing a second colour setting. */
.floating-contact-btn:hover,
.floating-contact-btn:focus-visible {
  filter: brightness(0.94);
  color: #ffffff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 14px 28px -8px rgba(20, 40, 30, 0.55);
}

.floating-contact-btn:hover,
.floating-contact-btn:focus-visible {
  transform: translateY(-2px);
}

.floating-contact-btn:focus-visible {
  outline: 2px solid var(--color-surface);
  outline-offset: 2px;
}

/*
 * Hover shows a tooltip beside the button rather than widening it, so the
 * button never shifts position or reflows the stack.
 */
.floating-contact-label {
  position: absolute;
  right: calc(100% + 0.7rem);
  top: 50%;
  z-index: 1;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--color-text);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(20, 30, 25, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-50%) translateX(0.5rem) scale(0.96);
  transform-origin: right center;
  transition: opacity 0.25s ease,
              transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1),
              visibility 0s linear 0.25s;
}

/* Caret pointing at the button. */
.floating-contact-label::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-left-color: var(--color-text);
  transform: translateY(-50%);
}

@media (hover: hover) and (min-width: 768px) {
  .floating-contact-btn:hover .floating-contact-label,
  .floating-contact-btn:focus-visible .floating-contact-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0) scale(1);
    transition: opacity 0.25s ease,
                transform 0.32s cubic-bezier(0.2, 0.7, 0.3, 1),
                visibility 0s;
  }
}

/* No hover on touch devices - the tooltip would never dismiss. */
@media (hover: none), (max-width: 767px) {
  .floating-contact-label {
    display: none;
  }
}

@media (min-width: 768px) {
  .floating-contact {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact-btn,
  .floating-contact-label {
    transition: none;
  }

  .floating-contact-btn:hover,
  .floating-contact-btn:focus-visible {
    transform: none;
  }

  .floating-contact-btn:hover .floating-contact-label,
  .floating-contact-btn:focus-visible .floating-contact-label {
    transform: translateY(-50%);
  }
}


/* ── Scroll reveal: card variants ────────────────────────────────────── */
/*
 * AOS's built-in fade* animations force `transform: translateZ(0)` once
 * revealed, which outranks `.card:hover { transform: ... }` and cancels the
 * hover lift. These names sit outside its `[data-aos^="fade"]` selector.
 *
 * `reveal-up` rises from below using the standalone `translate` property
 * rather than `transform`. The two are separate properties that compose, so a
 * card can slide up on reveal AND still lift on hover.
 */
[data-aos="reveal"],
[data-aos="reveal-up"] {
  opacity: 0;
  transition-property: opacity, translate;
}

[data-aos="reveal-up"] {
  translate: 0 1.5rem;
}

[data-aos="reveal"].aos-animate,
[data-aos="reveal-up"].aos-animate {
  opacity: 1;
  translate: none;
}

/* ── Visually-hidden text ────────────────────────────────────────────── */
/* Used by searchform.php, footer.php, the floating buttons and the about
   page. It had no definition, so the text was rendering visibly. */
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  position: static !important;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}


/* ── Contact form: session format ────────────────────────────────────── */
.contact-format {
  border: 0;
  padding: 0;
  margin-inline: 0;
}

.contact-format-legend {
  display: block;
  padding: 0;
  margin-bottom: 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-format-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-format-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* The native control stays in the accessibility tree but is visually replaced
   by the pill, so keyboard focus and screen readers still work normally. */
.contact-format-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  inset: 0;
  cursor: pointer;
}

.contact-format-option:hover {
  border-color: var(--color-primary);
}

.contact-format-option:has(input:checked),
.contact-format-option:has(input:checked) span,
.contact-format-option input[type="radio"]:checked + span,
.wpcf7 .contact-format-options .wpcf7-list-item label:has(input:checked),
.wpcf7 .contact-format-options .wpcf7-list-item label:has(input:checked) span,
.wpcf7 .contact-format-options .wpcf7-list-item input[type="radio"]:checked + span,
.wpcf7-list-item label:has(input:checked) {
  background-color: var(--color-primary, #4A6B53) !important;
  border-color: var(--color-primary, #4A6B53) !important;
  color: #ffffff !important;
}

.contact-format-option:has(input:focus-visible) {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .contact-format-option {
    transition: none;
  }
}


/* ── Testimonials ────────────────────────────────────────────────────── */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4.5rem 1.5rem;
  margin-top: 4rem;
}

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

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

/* Avatar sits half outside the card, so the card carries top padding for it. */
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  margin: 3rem 0 0;
  /*
   * Top padding must clear the quote mark badge, not just the avatar: the
   * mark sits at top:1.5rem and is 2.6rem tall, so its bottom edge is at
   * 4.1rem. The previous 3.5rem left a 0.6rem overlap into the name text.
   */
  padding: 4.5rem 1.5rem 1.75rem;
  border-radius: 1rem;
  background: #ffffff !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
  text-align: center;
}

.testimonial-card-avatar {
  position: absolute;
  top: -2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: var(--color-primary-soft);
  border: 5px solid #f7f6f3 !important;
}

.testimonial-card-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonial-card-avatar-initial {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-deep);
}

/* Quote badge, top-left inside the card. */
.testimonial-card-mark {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  background: rgba(229, 219, 194, 0.28) !important;
  color: #c4b69b !important;
  opacity: 0.7;
}

.testimonial-card-mark svg {
  width: 1.15rem;
  height: 1.15rem;
  opacity: 0.75;
}

.testimonial-card-person {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.testimonial-card-name {
  font-family: var(--nexlotech-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text);
}

.testimonial-card-role {
  font-size: 0.86rem;
  color: var(--color-text-muted);
}

.testimonial-card-quote {
  margin: 1.1rem 0 0;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--color-text);
  quotes: none;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: calc(1.65em * 4);
}

.testimonial-card-readmore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0.4rem 0.9rem;
  background: transparent;
  border: 1px solid rgba(62, 83, 68, 0.25);
  border-radius: 999px;
  color: var(--color-primary-deep, #3E5344);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.testimonial-card-readmore:hover,
.testimonial-card-readmore:focus {
  background: var(--color-primary-deep, #3E5344);
  color: #ffffff;
  border-color: var(--color-primary-deep, #3E5344);
}

.testimonial-card-rating {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.testimonial-star {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--color-border);
}

/* Modal styling */
.testimonial-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.testimonial-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.testimonial-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.testimonial-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 38rem;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.25s ease;
  z-index: 1;
  padding: 2.25rem 2rem 2rem;
}

.testimonial-modal-dialog:has(.has-image) {
  max-width: 52rem;
}

.testimonial-modal-content.has-image {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 1.75rem;
  align-items: start;
}

.testimonial-modal-media {
  display: none;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f1f5f9;
}

.testimonial-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 640px) {
  .testimonial-modal-content.has-image {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

.testimonial-modal.is-open .testimonial-modal-dialog {
  transform: scale(1) translateY(0);
}

.testimonial-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.testimonial-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.testimonial-modal-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 1.25rem;
}

.testimonial-modal-avatar {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #3E5344;
  flex-shrink: 0;
  border: 2px solid #e2e8f0;
}

.testimonial-modal-initial {
  font-size: 1.6rem;
  font-weight: 700;
  color: #3E5344;
}

.testimonial-modal-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.3;
}

.testimonial-modal-role {
  display: block;
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.testimonial-modal-rating {
  display: flex;
  gap: 0.2rem;
  margin-top: 0.4rem;
  color: #fbbf24;
}

.testimonial-modal-rating svg {
  width: 1.1rem;
  height: 1.1rem;
}

.testimonial-modal-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
}

.testimonial-modal-body p {
  margin-bottom: 1rem;
}

.testimonial-modal-body p:last-child {
  margin-bottom: 0;
}

.testimonial-star.is-filled {
  color: var(--color-primary);
}

/* Home section & archive pages */
.home-testimonials,
.post-type-archive-testimonial main,
.post-type-archive-testimonial .site-main,
.testimonials-page-main,
.testimonial-archive-section {
  background-color: #f7f6f3 !important;
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.home-testimonials-inner {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .home-testimonials-inner {
    padding-inline: 2rem;
  }
}

.home-testimonials-header {
  text-align: center;
}

.home-testimonials-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-text);
}

.home-testimonials-heading {
  margin: 0;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--color-text);
  text-wrap: balance;
}

.home-testimonials-carousel {
  position: relative;
  margin-top: 1.5rem;
}

/*
 * The avatar sits 2.75rem above the card, and the track clips at its padding
 * box - so the padding here is what keeps the avatars from being cut off.
 */
.home-testimonials-swiper {
  padding-top: 3.5rem;
  padding-bottom: 0.5rem;
  overflow: hidden;
}

.home-testimonials-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.home-testimonials-swiper .swiper-slide > .testimonial-card {
  width: 100%;
  margin-top: 0;
}

/* Sits below the track as a normal block, not absolutely over the cards. */
.home-testimonials-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.75rem;
  width: auto;
}

.home-testimonials-pagination .swiper-pagination-bullet {
  margin: 0 !important;
}

.home-testimonials-pagination .swiper-pagination-bullet {
  background: var(--color-primary);
  opacity: 0.35;
}

.home-testimonials-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

.home-testimonials-prev,
.home-testimonials-next {
  position: absolute;
  top: 55%;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 768px) {
  .home-testimonials-prev,
  .home-testimonials-next {
    display: flex;
  }
}

.home-testimonials-prev:hover,
.home-testimonials-next:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.home-testimonials-prev { left: -0.5rem; }
.home-testimonials-next { right: -0.5rem; }

.home-testimonials-actions {
  margin-top: 1rem;
  text-align: center;
}

.home-testimonials-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-primary, #235d4b);
  color: #235d4b !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.home-testimonials-cta:hover,
.home-testimonials-cta:focus-visible {
  background: var(--color-primary, #235d4b) !important;
  color: #ffffff !important;
}

/* Archive */
.testimonial-archive {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem);
}

.testimonial-shell {
  width: min(1280px, 100%);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 768px) {
  .testimonial-shell {
    padding-inline: 2rem;
  }
}

.testimonial-archive-heading {
  margin: 0;
  font-family: var(--nexlotech-heading-font);
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--color-text);
}

.testimonial-empty {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px dashed var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-text-muted);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .home-testimonials-prev,
  .home-testimonials-next {
    transition: none;
  }
}


/* Secondary text link under the CTA button. */
.home-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.28rem;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}

.home-cta-link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.home-cta-link:hover,
.home-cta-link:focus-visible {
  color: #ffffff;
  opacity: 0.85;
}

.home-cta-link:hover svg,
.home-cta-link:focus-visible svg {
  transform: translateX(3px);
}

.home-cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Legal Page Typography ────────────────────────────────────────────── */
.legal-page-main h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important;
}

.legal-page-main h2 {
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin: 1.8rem 0 0.6rem !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
}

.legal-page-main h2:first-of-type {
  margin-top: 0 !important;
}

.legal-page-main h3 {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  margin: 1.4rem 0 0.45rem !important;
  color: #1e293b !important;
}

.legal-page-main p,
.legal-page-main li {
  font-size: 0.95rem !important;
  line-height: 1.65 !important;
  color: #475569 !important;
  margin-bottom: 0.9rem !important;
}

.legal-page-main ul {
  margin: 0.5rem 0 1.25rem 1.25rem !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-cta-link,
  .home-cta-link svg {
    transition: none;
  }

  .home-cta-link:hover svg {
    transform: none;
  }
}
