/* Zouaghi Law — site-specific overrides on top of the ProCounsel base theme */

/* ---- Hero: the sub-title is now nested inside the H1 (merged for SEO — a single
   H1 combining the eyebrow + main headline instead of an H3 above an H2). It needs
   its own block display and needs to opt back out of ".main-slider-four__title
   span { color: gold }", which was only ever meant for the "& Entrepreneurs"
   highlight span, not this subtitle. ---- */
.main-slider-four__title .main-slider-four__sub__title {
  display: block;
  color: var(--procounsel-text, #838790);
}

/* ---- FAQ accordion on the Services page: ".cta-three" normally carries a
   template-wide "margin-top: -98px" so the gold CTA card floats up over the
   fixed-height section before it. That's safe when it follows a section with
   generous, fixed bottom padding (About, Insights) — but here it follows the
   FAQ accordion, whose height changes as items expand/collapse, so the pull-up
   can eat into an open answer's text (worst case: the last item, which sits
   right at the section's bottom edge). Cancel the pull-up for this one
   adjacency instead of guessing a padding value that would still break for a
   long expanded answer. ---- */
.faq-one + .cta-three {
  margin-top: 0;
}

/* ---- Secure payment mockup page (unlisted, noindex — bank/PSP onboarding preview) ---- */
.zl-payment-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--procounsel-text, #838790);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
}
.zl-payment-secure-note i {
  color: var(--procounsel-base, #c7954a);
}
.zl-payment {
  padding: 80px 0 100px;
  background-color: var(--procounsel-gray2, #ededed);
  min-height: 60vh;
}
.zl-payment__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .zl-payment__grid {
    grid-template-columns: 1fr;
  }
}
.zl-payment__summary,
.zl-payment__form-card {
  background-color: var(--procounsel-white, #fff);
  border-radius: 6px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.06);
}
.zl-payment__summary__title,
.zl-payment__form-card__title {
  font-family: var(--procounsel-heading-font, "Marcellus", serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--procounsel-primary, #19223a);
  margin: 0 0 20px;
}
.zl-payment__summary__firm {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--procounsel-base, #c7954a);
  margin: 0 0 24px;
}
.zl-payment__summary__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--procounsel-border-color, #d9d9d9);
  font-size: 15px;
  color: var(--procounsel-text, #838790);
}
.zl-payment__summary__row--total {
  border-bottom: none;
  padding-top: 20px;
  font-family: var(--procounsel-heading-font, "Marcellus", serif);
  font-size: 20px;
  color: var(--procounsel-primary, #19223a);
}
.zl-payment__summary__note {
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 22px;
  color: var(--procounsel-text, #838790);
}
.zl-payment__summary__note a {
  color: var(--procounsel-primary, #19223a);
  font-weight: 600;
}
.zl-payment__badges {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--procounsel-border-color, #d9d9d9);
  font-size: 26px;
  color: var(--procounsel-text, #838790);
}
.zl-payment__badges__ssl {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--procounsel-text, #838790);
}
.zl-payment__field {
  margin-bottom: 18px;
}
.zl-payment__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.zl-payment__field label {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--procounsel-primary, #19223a);
  margin-bottom: 8px;
}
.zl-payment__field input {
  width: 100%;
  border: 1px solid var(--procounsel-border-color, #d9d9d9);
  border-radius: 4px;
  padding: 13px 16px;
  font-size: 15px;
  color: var(--procounsel-primary, #19223a);
  background-color: var(--procounsel-white, #fff);
}
.zl-payment__field input:focus {
  outline: none;
  border-color: var(--procounsel-base, #c7954a);
}
.zl-payment__field__with-icon {
  position: relative;
}
.zl-payment__field__with-icon input {
  padding-right: 44px;
}
.zl-payment__field__with-icon i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--procounsel-text, #838790);
}
.zl-payment__submit {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}
.zl-payment__disclaimer {
  margin: 16px 0 0;
  font-size: 12px;
  line-height: 19px;
  color: var(--procounsel-text, #838790);
  text-align: center;
}

/* ---- Contact map: the theme's luminosity blend-mode desaturated Google's own red
   pin into gray, making the address hard to spot; restore true color so it's visible ---- */
.google-map__contact iframe {
  mix-blend-mode: normal;
}

/* ---- Hero: same leftover template gap between the in-flow header/topbar and the
   photo as on mobile, just never fixed for desktop ---- */
.main-slider-four {
  margin-top: 0;
}

/* ---- About page: the template's fixed 120px margin above "Our Mission" was tuned
   for a much taller layout above it and reads as a dead gap here ---- */
.feature-four {
  margin-top: 60px;
}

/* ---- Homepage: two stacked 120px section paddings between "About Us" and
   "How We Work" combined into 240px of dead space between the sections ---- */
.about-five {
  padding-top: 70px;
  padding-bottom: 60px;
}
.work-process-four {
  padding-top: 60px;
}

/* ---- Homepage: the template reserves 269px of bottom padding under this CTA for
   a decorative background image/illustration this build never added, leaving a
   large empty void before the marquee ---- */
.cta-four {
  padding-bottom: 60px;
}

/* ---- Footer info bar: put the email item next to the (now two-line) phone item
   instead of stacking it below, which left the row looking half-empty ---- */
.main-footer__info__list {
  display: flex;
  align-items: center;
  gap: 50px;
}
@media (max-width: 768px) {
  .main-footer__info__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 40px;
  }
  .main-footer__info__item {
    justify-content: center;
  }
}
.main-footer__info__text a,
.topbar-one__text a {
  white-space: nowrap;
}

/* ---- Clickable address: opens Google Maps directions ---- */
.main-footer__info__location a,
.topbar-one__info__item a {
  color: inherit;
  text-decoration: none;
}
.main-footer__info__location a:hover,
.topbar-one__info__item a:hover {
  text-decoration: underline;
}

/* ---- Services grid: pin "Read More" + the image to the bottom of each equal-height
   card, so they line up across a row regardless of how long the title/description/tags
   run in either language, instead of drifting with content length ---- */
.service-one__item {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-one__item__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-one__item__content .zl-services-grid__link {
  margin-top: auto;
}

/* ---- Custom cursor: the gold ring/dot was too faint to see against light backgrounds ---- */
.custom-cursor__cursor {
  border-color: #2563eb;
}
.custom-cursor__cursor-two {
  background-color: #2563eb;
  opacity: 0.6;
}

/* ---- Contact page: breathing room between the gray panel edge and the text ---- */
@media (min-width: 768px) {
  .contact-one__wrapper .col-xl-6:first-child {
    padding-left: 40px;
  }
}

/* ---- Global Perspective pill: align both items on a shared baseline instead of
   centering each independently, which let their icons/text drift out of line ---- */
.why-choose-four__list {
  align-items: stretch;
}
.why-choose-four__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* ---- Homepage "A Global Mindset" office + founder accent photo ---- */
.about-five__img-box {
  position: relative;
}
.about-five__img-box__office {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: #000;
}
.about-five__img-box__office::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 51, 0.35);
  pointer-events: none;
}
.about-five__img-box__office img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(70%) brightness(0.78) contrast(1.05);
}
.about-five__img-box__two {
  position: absolute;
  right: 0;
  bottom: -30px;
  left: auto;
  top: auto;
  margin: 0;
  width: 38%;
  max-width: 220px;
  text-align: right;
  z-index: 2;
}
.about-five__img-box__two img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: inline-block;
  border: 6px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  filter: grayscale(35%) brightness(0.95) contrast(1.03);
}
@media (max-width: 767px) {
  .about-five__img-box__two {
    position: static;
    width: 160px;
    max-width: 160px;
    margin: 20px 0 0;
    text-align: left;
  }
}

/* Temporary state: founder portrait standing in for the office photo — smaller,
   right-aligned, and treated gently (a face shouldn't get the heavy decor filter). */
.about-five__img-box--portrait .about-five__img-box__office {
  max-width: 400px;
  margin-left: auto;
  margin-right: 0;
  border: 6px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}
.about-five__text {
  font-size: 18px;
  line-height: 34px;
}
.about-five__list__item {
  font-size: 18px;
}
.work-process-four__item__title {
  font-size: 22px;
}
.work-process-four__item__text {
  font-size: 17px;
  line-height: 28px;
}
.about-five__img-box--portrait .about-five__img-box__office::after {
  display: none;
}
.about-five__img-box--portrait .about-five__img-box__office img {
  filter: none;
}
@media (max-width: 767px) {
  .about-five__img-box--portrait .about-five__img-box__office {
    max-width: 220px;
    margin: 0 auto;
  }
}

/* ---- Text wordmark logo (placeholder until a real logo file is supplied) ---- */
.zl-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  font-family: "Marcellus", serif;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.zl-logo--brand {
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.zl-logo__icon {
  width: 36px;
  height: 36px;
  display: block;
  flex-shrink: 0;
}
.zl-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.zl-logo__name {
  font-size: 22px;
  color: var(--procounsel-primary, #19223a);
  text-transform: uppercase;
}
.zl-logo__suffix {
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--procounsel-base, #c7954a);
  text-transform: uppercase;
  margin-top: 2px;
}
.zl-logo--light .zl-logo__name {
  color: #fff;
}
.zl-logo__name {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .zl-logo__icon {
    width: 28px;
    height: 28px;
  }
  .zl-logo__name {
    font-size: 16px;
  }
  .zl-logo__suffix {
    font-size: 9px;
  }
}
.zl-logo--light .zl-logo__suffix {
  color: var(--procounsel-base, #c7954a);
}

.zl-anchor {
  scroll-margin-top: 160px;
}

/* ---- Contact info list: robust alternating alignment for 6 items (3 even pairs,
   since splitting email and website out of one entry into two added a 6th item) ---- */
.contact-one__info .contact-one__info__item:nth-child(odd) {
  padding-left: 57px;
}
.contact-one__info .contact-one__info__item:nth-child(even) {
  padding-left: 0;
}
@media (min-width: 669px) {
  .contact-one__info .contact-one__info__item:last-child {
    width: 50%;
    border-top: none;
  }
}
@media (max-width: 768px) {
  .contact-one__info .contact-one__info__item:nth-child(odd),
  .contact-one__info .contact-one__info__item:nth-child(even) {
    padding-left: 0 !important;
  }
}

.zl-tags {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--procounsel-base, #c7954a);
  margin-top: 10px;
  line-height: 1.6;
}
/* Keep tags/link readable when the parent service card flips to a gold background on hover */
.service-one__item:hover .zl-tags {
  color: var(--procounsel-white, #fff);
}
.service-one__item:hover .zl-services-grid__link {
  color: var(--procounsel-white, #fff);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ---- Language switcher ---- */
.zl-lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-right: 4px;
}
.zl-lang-switch a {
  color: #5a5f6b;
  padding: 2px 4px;
  text-decoration: none;
}
.zl-lang-switch a.is-active {
  color: var(--procounsel-primary, #19223a);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.zl-lang-switch span {
  color: rgba(var(--procounsel-primary-rgb, 25, 34, 58), 0.25);
}

/* ---- Clean placeholder blocks standing in for removed stock/demo photography ---- */
.zl-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    135deg,
    var(--procounsel-primary, #19223a),
    var(--procounsel-primary, #19223a) 18px,
    #222c48 18px,
    #222c48 36px
  );
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  overflow: hidden;
}
.zl-placeholder__label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 16px;
  border-radius: 2px;
  background: rgba(14, 11, 6, 0.25);
}
.zl-placeholder--avatar {
  border-radius: 50%;
  min-height: 0;
  aspect-ratio: 1 / 1;
}
.zl-placeholder--avatar .zl-placeholder__label {
  border: none;
  background: none;
  padding: 0;
  font-size: 20px;
  font-family: "Marcellus", serif;
  letter-spacing: 0.05em;
}

/* ---- Hero background placeholder (stand-in for a real photo) ---- */
.zl-hero-bg--placeholder,
.page-header__bg {
  background-image:
    linear-gradient(120deg, rgba(14, 11, 6, 0.72), rgba(25, 34, 58, 0.85)),
    repeating-linear-gradient(135deg, #222c48, #222c48 22px, #19223a 22px, #19223a 44px) !important;
}

/* ---- Homepage hero photo ---- */
.main-slider-four {
  padding: 0 !important;
}
.zl-hero-bg--home {
  background-image:
    linear-gradient(100deg, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.78) 30%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.2) 68%, rgba(10, 14, 26, 0.05) 85%),
    url(../images/hero-home-400w.webp) !important;
  background-size: cover !important;
  background-position: center !important;
  top: 0 !important;
  height: 100% !important;
}
/* ---- Serve a background image sized to the viewport instead of always
   loading the full 1800px original (this is the LCP element on mobile) ---- */
@media (min-width: 577px) {
  .zl-hero-bg--home {
    background-image:
      linear-gradient(100deg, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.78) 30%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.2) 68%, rgba(10, 14, 26, 0.05) 85%),
      url(../images/hero-home-800w.webp) !important;
  }
}
@media (min-width: 993px) {
  .zl-hero-bg--home {
    background-image:
      linear-gradient(100deg, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.78) 30%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.2) 68%, rgba(10, 14, 26, 0.05) 85%),
      url(../images/hero-home-1200w.webp) !important;
  }
}
@media (min-width: 1801px) {
  .zl-hero-bg--home {
    background-image:
      linear-gradient(100deg, rgba(10, 14, 26, 0.92) 0%, rgba(10, 14, 26, 0.78) 30%, rgba(10, 14, 26, 0.55) 50%, rgba(10, 14, 26, 0.2) 68%, rgba(10, 14, 26, 0.05) 85%),
      url(../images/hero-home.webp) !important;
  }
}
.main-slider-four__content {
  width: 58%;
}
.main-slider-four__content::after {
  display: none;
}
.main-slider-four__title {
  color: #fff;
}
.main-slider-four__sub__title {
  color: rgba(255, 255, 255, 0.75);
}
.main-slider-four .container {
  height: 100%;
}
.main-slider-four__content__wrapper {
  height: 100%;
  align-items: center !important;
}
.zl-hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.zl-hero-call {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 30px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.zl-hero-call:hover {
  border-color: rgba(255, 255, 255, 0.7);
}
.zl-hero-call__icon {
  width: 39px;
  height: 39px;
  min-width: 39px;
  border-radius: 50%;
  background-color: var(--procounsel-base, #c7954a);
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zl-hero-call__text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}
.zl-hero-call__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}
.zl-hero-call__number {
  font-family: var(--procounsel-heading-font, "Marcellus", serif);
  font-size: 17px;
  color: #fff;
}
.zl-hero-call__number a {
  color: inherit;
  text-decoration: none;
}
.zl-hero-call__number a:hover {
  color: var(--procounsel-base, #c7954a);
}
@media (max-width: 1349px) {
  .main-slider-four__content {
    width: 55%;
  }
}
@media (max-width: 991px) {
  .main-slider-four__content {
    width: 100%;
  }
}

/* ---- Page-header cover photos ---- */
.page-header__bg--about,
.page-header__bg--services,
.page-header__bg--insights,
.page-header__bg--contact {
  background-size: cover !important;
  background-position: center !important;
}
.page-header__bg--about {
  background-image:
    linear-gradient(100deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.55) 40%, rgba(10, 14, 26, 0.15) 70%, rgba(10, 14, 26, 0.05) 100%),
    url(../images/cover-about.webp) !important;
}
.page-header__bg--services {
  background-image:
    linear-gradient(100deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.55) 40%, rgba(10, 14, 26, 0.15) 70%, rgba(10, 14, 26, 0.05) 100%),
    url(../images/cover-services.webp) !important;
}
.page-header__bg--insights {
  background-image:
    linear-gradient(100deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.55) 40%, rgba(10, 14, 26, 0.15) 70%, rgba(10, 14, 26, 0.05) 100%),
    url(../images/cover-insights.webp) !important;
}
.page-header__bg--contact {
  background-image:
    linear-gradient(100deg, rgba(10, 14, 26, 0.85) 0%, rgba(10, 14, 26, 0.55) 40%, rgba(10, 14, 26, 0.15) 70%, rgba(10, 14, 26, 0.05) 100%),
    url(../images/cover-contact.webp) !important;
}

/* ---- Page-header subtitle (attorney profile pages) ---- */
.page-header__subtitle {
  margin: 0 0 15px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}
.page-header__subtitle a {
  color: var(--procounsel-base, #c7954a);
  font-weight: 700;
  border-bottom: 1px solid rgba(var(--procounsel-base-rgb, 199, 149, 74), 0.5);
}
.page-header__subtitle a:hover {
  color: #fff;
}

/* ---- Page-header credentials strip (Hamza Zouaghi bio page) ---- */
.zl-hero-credentials {
  position: relative;
  max-width: 900px;
  margin: 0 auto 26px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.zl-hero-credentials::before,
.zl-hero-credentials::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--procounsel-base, #c7954a);
  transform: translate(-50%, -50%) rotate(45deg);
}
.zl-hero-credentials::before {
  top: 0;
}
.zl-hero-credentials::after {
  bottom: 0;
  transform: translate(-50%, 50%) rotate(45deg);
}
.zl-hero-credentials__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
}
.zl-hero-credentials__divider {
  position: relative;
  height: 1px;
  margin: 22px 0;
  background: rgba(255, 255, 255, 0.2);
}
.zl-hero-credentials__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: var(--procounsel-base, #c7954a);
  transform: translate(-50%, -50%) rotate(45deg);
}
.zl-hero-credentials__item {
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.zl-hero-credentials__row:not(.zl-hero-credentials__row--full) .zl-hero-credentials__item:first-child {
  border-left: none;
}
.zl-hero-credentials__row--full {
  display: block;
  text-align: center;
}
.zl-hero-credentials__row--full .zl-hero-credentials__item {
  padding: 0;
  border-left: none;
}
/* Education/Languages (Formation/Langues): same auto-width flex pairing as
   the row above, centered as a group so Languages sits right next to the
   divider instead of being pinned to a fixed-width column on the far right */
.zl-hero-credentials__row--split .zl-hero-credentials__item {
  text-align: center;
}
.zl-hero-credentials__label {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--procounsel-base, #c7954a);
  margin-bottom: 2px;
}
.zl-hero-credentials__value {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
@media (max-width: 767px) {
  .zl-hero-credentials__row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .zl-hero-credentials__item {
    padding: 0;
    border-left: none;
  }
}

/* ---- Hamza Zouaghi bio page: closing tagline of the "Why Zouaghi Law?"
   article, set apart from the body copy ---- */
.zl-article__closing {
  text-align: center;
}

/* ---- FR "Pourquoi choisir Zouaghi Law ?": the space before "?" is a
   separate breakable token, so it can wrap onto its own line on desktop.
   Mobile keeps normal wrapping since the column is much narrower there. ---- */
@media (min-width: 768px) {
  html[lang="fr"] .zl-meet-hamza .sec-title__title span {
    white-space: nowrap;
  }
}

/* ---- International reach list (home page) ---- */
.zl-reach {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.zl-reach__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid rgba(var(--procounsel-primary-rgb, 25, 34, 58), 0.15);
  border-radius: 999px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--procounsel-primary, #19223a);
}
.zl-reach__item i {
  color: var(--procounsel-base, #c7954a);
}
.zl-reach--light .zl-reach__item {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---- International reach showcase (photo grid + ribbon banners) ---- */
.zl-reach-showcase {
  padding: 60px 0 50px;
  background-color: var(--procounsel-white, #fff);
}
.zl-reach-showcase .sec-title__title {
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 10px;
}
.zl-reach-showcase .sec-title__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--procounsel-base, #c7954a);
}
.zl-reach-showcase__banner {
  background-color: #000;
}
.zl-reach-showcase__banner img {
  width: 100%;
  height: auto;
  display: block;
}

.zl-hero-contact--single .main-slider-four__contact__call {
  border-bottom: none;
}

.zl-value {
  text-align: center;
  padding: 0 10px;
}
.zl-value__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--procounsel-gray2, #ededed);
  color: var(--procounsel-primary, #19223a);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.5s ease;
}
.zl-value:hover .zl-value__icon {
  background-color: var(--procounsel-base, #c7954a);
  color: #fff;
}
.zl-value__title {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--procounsel-primary, #19223a);
  margin: 0 0 10px;
}
.zl-value__text {
  font-size: 14px;
  color: var(--procounsel-text, #838790);
  margin: 0 auto;
  max-width: 220px;
}

/* ---- About page: founder profile ---- */
.zl-founder {
  padding: 60px 0 50px;
}
.zl-founder__intro {
  max-width: 780px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 17px;
  color: var(--procounsel-text, #838790);
}
.zl-founder__eyebrow {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--procounsel-base, #c7954a);
  margin-bottom: 14px;
}
.zl-founder__name {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 40px;
  color: var(--procounsel-primary, #19223a);
  margin: 0 0 24px;
  padding-bottom: 22px;
  position: relative;
}
.zl-founder__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 2px;
  background: var(--procounsel-base, #c7954a);
}
.zl-founder__bio p {
  color: var(--procounsel-text, #838790);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 20px;
}
.zl-founder__bio p:last-child {
  margin-bottom: 0;
}
.zl-founder__list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}
.zl-founder__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--procounsel-primary, #19223a);
}
.zl-founder__list li i {
  font-size: 15px;
  color: var(--procounsel-base, #c7954a);
}
@media (max-width: 575px) {
  .zl-founder__list {
    grid-template-columns: 1fr;
  }
}
.zl-founder__photo {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #c7954a 0%, #e8c583 50%, #c7954a 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
/* ---- The frame ratio is set via this padding-bottom spacer instead of the
   `aspect-ratio` property: Safari has had bugs where `aspect-ratio` combined
   with `overflow: hidden` + padding under-computes the box height, clipping
   the bottom of the gold frame on iOS specifically ---- */
.zl-founder__photo::before {
  content: "";
  display: block;
  padding-bottom: 125%;
}
/* ---- About page intro: square brandmark instead of a full-height portrait —
   smaller and square (not the 4:5 portrait ratio) so it sits top-aligned next
   to the text column instead of towering over it and drifting out of line
   with the first paragraph ---- */
.zl-founder__photo--compact {
  max-width: 190px;
  margin: 0 auto;
}
.zl-founder__photo--compact::before {
  padding-bottom: 100%;
}
.zl-founder__photo img,
.zl-founder__photo .zl-placeholder {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: cover;
  display: block;
}

/* ---- Attorney profile: quick info line under the intro ---- */
.zl-quickline {
  margin: 26px 0 30px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--procounsel-text, #838790);
}
.zl-quickline span {
  color: var(--procounsel-primary, #19223a);
}

/* ---- About page: quick facts strip ---- */
.zl-quickfacts {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--procounsel-border-color, #d9d9d9);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.zl-quickfacts__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 30px;
  border-left: 1px solid var(--procounsel-border-color, #d9d9d9);
}
.zl-quickfacts__item:first-child {
  padding-left: 0;
  border-left: none;
}
.zl-quickfacts__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  border: 1px solid var(--procounsel-base, #c7954a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--procounsel-base, #c7954a);
  font-size: 19px;
}
.zl-quickfacts__label {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--procounsel-primary, #19223a);
  margin-bottom: 4px;
}
.zl-quickfacts__value {
  display: block;
  font-family: "Marcellus", serif;
  font-style: italic;
  font-size: 16px;
  color: var(--procounsel-text, #838790);
}
@media (max-width: 767px) {
  .zl-quickfacts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .zl-quickfacts__item {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top: 1px solid var(--procounsel-border-color, #d9d9d9);
  }
  .zl-quickfacts__item:first-child {
    padding-top: 0;
    border-top: none;
  }
}

/* ---- About page: firm brand mark (replaces stock photo) ---- */
.zl-brandmark {
  position: relative;
  min-height: 320px;
  max-width: 440px;
  max-height: 550px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  background: linear-gradient(90deg, #c7954a 0%, #e8c583 50%, #c7954a 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.zl-brandmark::before {
  content: "";
  display: block;
  padding-bottom: 125%;
}
.zl-brandmark img {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: cover;
  display: block;
}

/* ---- Homepage practice-areas teaser grid ---- */
.zl-services-grid {
  padding: 100px 0;
  background-color: var(--procounsel-primary, #19223a);
}
/* ---- Homepage: keep a consistent ~120px gap between every section from
   "Practice Areas" through "How We Work" (Meet Hamza Zouaghi, International
   Reach, About Us, Featured Insights all sit in this stretch) instead of the
   180-210px that the sections' own default padding added up to ---- */
.zl-services-grid {
  padding-bottom: 60px;
}
.zl-services-grid .sec-title__title {
  color: #fff;
  position: relative;
  padding-bottom: 22px;
  margin-bottom: 60px;
}
.zl-services-grid .sec-title__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--procounsel-base, #c7954a);
}
.zl-services-grid__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
@media (max-width: 991px) {
  .zl-services-grid__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .zl-services-grid__list {
    grid-template-columns: 1fr;
  }
}
.zl-services-grid__item {
  background-color: var(--procounsel-primary, #19223a);
  padding: 24px 24px 32px;
}
.zl-services-grid__item .zl-placeholder {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  margin-bottom: 22px;
}
.zl-services-grid__photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 22px;
}
.zl-services-grid__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.zl-services-grid__item:hover .zl-services-grid__photo img {
  transform: scale(1.05);
}
.zl-services-grid__title {
  color: #fff;
  font-family: "Marcellus", serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 0 14px;
}
.zl-services-grid__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--procounsel-base, #c7954a);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(var(--procounsel-base-rgb, 199, 149, 74), 0.5);
  padding-bottom: 4px;
  transition: gap 200ms ease;
}
.zl-services-grid__link:hover {
  gap: 16px;
  color: var(--procounsel-base, #c7954a);
}

/* ---- Scrolling brand marquee ---- */
.zl-marquee {
  background: var(--procounsel-primary, #19223a);
  overflow: hidden;
  padding: 22px 0;
}
.zl-marquee__track {
  display: flex;
  width: max-content;
  animation: zl-marquee-scroll 28s linear infinite;
}
.zl-marquee__set {
  display: flex;
  align-items: center;
}
.zl-marquee__item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
  white-space: nowrap;
  font-family: "Marcellus", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--procounsel-base, #c7954a);
}
.zl-marquee__item::after {
  content: "\2605";
  font-size: 14px;
}
@keyframes zl-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .zl-marquee__track {
    animation: none;
  }
}

/* ---- Insights listing grid ---- */
.zl-insights {
  padding: 100px 0;
}
.zl-insights__intro {
  max-width: 700px;
  margin: -20px auto 60px;
  text-align: center;
  color: var(--procounsel-text, #838790);
}
.zl-insights__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 991px) {
  .zl-insights__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .zl-insights__grid {
    grid-template-columns: 1fr;
  }
}
.zl-insight-card {
  display: flex;
  flex-direction: column;
  background-color: var(--procounsel-gray2, #ededed);
  padding: 24px 24px 30px;
  cursor: pointer;
  transition: all 500ms ease;
}
.zl-insight-card:hover {
  background-color: var(--procounsel-base, #c7954a);
  transform: translateY(-14px);
}
.zl-insight-card .zl-placeholder,
.zl-insight-card__img {
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  margin-bottom: 22px;
  overflow: hidden;
  position: relative;
}
.zl-insight-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}
.zl-insight-card:hover .zl-insight-card__img img {
  transform: scale(1.05);
}
.zl-insight-card__cat {
  display: inline-block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--procounsel-base, #c7954a);
  margin-bottom: 10px;
  transition: color 500ms ease;
}
.zl-insight-card:hover .zl-insight-card__cat {
  color: var(--procounsel-primary, #19223a);
}
.zl-insight-card__title {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.35;
  margin: 0 0 12px;
}
.zl-insight-card__title a {
  color: var(--procounsel-primary, #19223a);
  transition: color 500ms ease;
}
.zl-insight-card:hover .zl-insight-card__title a {
  color: var(--procounsel-white, #fff);
}
.zl-insight-card__excerpt {
  color: var(--procounsel-text, #838790);
  font-size: 15px;
  margin: 0 0 18px;
  transition: color 500ms ease;
}
.zl-insight-card:hover .zl-insight-card__excerpt {
  color: var(--procounsel-white, #fff);
}
.zl-insight-card:hover .zl-services-grid__link {
  color: var(--procounsel-white, #fff);
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ---- "Insights by [attorney]" teaser: coming-soon state ---- */
.zl-insights-soon {
  max-width: 620px;
  margin: 0 auto;
  padding: 50px 40px;
  text-align: center;
  border: 1px dashed var(--procounsel-border-color, #d9d9d9);
}
.zl-insights-soon__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--procounsel-base, #c7954a);
  color: var(--procounsel-base, #c7954a);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zl-insights-soon__title {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 22px;
  color: var(--procounsel-primary, #19223a);
  margin: 0 0 10px;
}
.zl-insights-soon__text {
  font-size: 15px;
  color: var(--procounsel-text, #838790);
  margin: 0;
}

/* ---- Article page ---- */
.zl-article {
  padding: 50px 0;
}
.zl-article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.zl-article__category {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--procounsel-base, #c7954a);
}
.zl-article__date {
  font-size: 13px;
  color: var(--procounsel-text, #838790);
}
.zl-article__body a {
  color: var(--procounsel-primary, #19223a);
  font-weight: 600;
  border-bottom: 1px solid rgba(var(--procounsel-base-rgb, 199, 149, 74), 0.5);
}
.zl-article__hero {
  margin-bottom: 40px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(90deg, #c7954a 0%, #e8c583 50%, #c7954a 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.zl-article__hero::before {
  content: "";
  display: block;
  padding-bottom: 50%;
}
.zl-article__hero img {
  position: absolute;
  top: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: cover;
  display: block;
}
.zl-article__body h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 24px;
  color: var(--procounsel-primary, #19223a);
  margin: 40px 0 16px;
}
.zl-article__body p {
  color: var(--procounsel-text, #838790);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.zl-article__disclaimer {
  margin-top: 50px;
  padding: 24px 28px;
  background-color: var(--procounsel-gray2, #ededed);
  border-left: 3px solid var(--procounsel-base, #c7954a);
}
.zl-article__disclaimer p {
  font-size: 13px;
  color: var(--procounsel-text, #838790);
  margin: 0;
  line-height: 1.7;
}
.zl-article__cta {
  margin-top: 50px;
  padding: 40px;
  text-align: center;
  background-color: var(--procounsel-primary, #19223a);
}
.zl-article__cta h3 {
  font-family: "Marcellus", serif;
  font-weight: 400;
  color: #fff;
  font-size: 24px;
  margin: 0 0 24px;
}

/* ---- Article page: "About the Author" box ---- */
.zl-author-box {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 50px;
  padding: 26px 28px;
  background-color: var(--procounsel-gray2, #ededed);
}
.zl-author-box__photo {
  width: 76px;
  height: 76px;
  min-width: 76px;
  border-radius: 50%;
  overflow: hidden;
}
.zl-author-box__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zl-author-box__label {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--procounsel-base, #c7954a);
  margin-bottom: 4px;
}
.zl-author-box__name {
  font-family: "Marcellus", serif;
  font-size: 19px;
  color: var(--procounsel-primary, #19223a);
}
.zl-author-box__name a {
  color: inherit;
}
.zl-author-box__text {
  font-size: 14px;
  color: var(--procounsel-text, #838790);
  margin: 6px 0 0;
}
.zl-author-box__text a {
  color: var(--procounsel-primary, #19223a);
  font-weight: 600;
  border-bottom: 1px solid rgba(var(--procounsel-base-rgb, 199, 149, 74), 0.5);
}
@media (max-width: 575px) {
  .zl-author-box {
    flex-direction: column;
    text-align: center;
  }
}

/* ---- Hero: small descriptive line under the H1 ---- */
.zl-hero-subtitle {
  max-width: 560px;
  margin: 0 0 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

/* ---- Home: "Meet Hamza Zouaghi" teaser ---- */
.zl-meet-hamza {
  padding: 60px 0;
}

/* ---- Home: "Featured Insights" teaser ---- */
.zl-featured-insight {
  padding: 60px 0;
  background-color: var(--procounsel-gray2, #ededed);
}
.zl-featured-insight__title {
  font-family: "Marcellus", serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.35;
  margin: 0 0 20px;
}
.zl-featured-insight__title a {
  color: var(--procounsel-primary, #19223a);
}
.zl-featured-insight__title a:hover {
  color: var(--procounsel-base, #c7954a);
}
.zl-featured-insight__byline {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--procounsel-base, #c7954a);
  margin: 4px 0 26px;
}

/* ---- Mobile: center left-aligned intro text blocks ---- */
@media (max-width: 767px) {
  .main-slider-four__content,
  .about-five__content,
  .why-choose-four__content,
  .contact-one__wrapper .row > div:first-child {
    text-align: center;
  }
  .why-choose-four__content .sec-title.text-left,
  .why-choose-four__content .sec-title.text-left .sec-title__title,
  .why-choose-four__content .sec-title.text-left .sec-title__tagline {
    text-align: center !important;
  }
  .why-choose-four__content .sec-title.text-left .sec-title__tagline {
    justify-content: center;
  }
  .main-slider-four__content .zl-reach,
  .why-choose-four__list {
    justify-content: center;
  }
  .about-five__list {
    justify-content: center;
    text-align: left;
  }
  .about-five__list__item {
    justify-content: flex-start;
    max-width: 260px;
    margin: 0 auto;
  }
  .zl-founder__eyebrow,
  .zl-founder__name,
  .zl-founder__bio,
  .zl-quickline {
    text-align: center;
  }
  .zl-founder__name::after {
    left: 50%;
    transform: translateX(-50%);
  }
  #hamza-zouaghi .procounsel-btn {
    display: table;
    margin: 0 auto;
  }
  .zl-meet-hamza .sec-title.text-left,
  .zl-meet-hamza .sec-title.text-left .sec-title__title,
  .zl-meet-hamza .sec-title.text-left .sec-title__tagline,
  .zl-meet-hamza .about-five__text,
  .zl-featured-insight__title,
  .zl-featured-insight__byline {
    text-align: center !important;
  }
  .zl-meet-hamza .sec-title.text-left .sec-title__tagline {
    justify-content: center;
  }
  .zl-meet-hamza .procounsel-btn,
  .zl-featured-insight .zl-services-grid__link {
    display: table;
    margin: 0 auto;
  }

  /* ---- Hero: vertical centering + CTA row centering on mobile ---- */
  .main-slider-four__content__wrapper {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    height: 100%;
  }
  .zl-hero-cta-row {
    justify-content: center;
  }

  /* ---- Hero: the title/eyebrow slide in from translateX(400px) once the slider
     JS adds ".active" — on mobile that 400px overshoot can land past the
     viewport edge and get caught mid-transition (text half off-screen), so
     skip the slide-in and show them in place immediately ---- */
  .main-slider-four__title,
  .main-slider-four__sub__title {
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
  }

  /* ---- Hero: country pills, 2 per row ---- */
  .main-slider-four__content .zl-reach {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .main-slider-four__content .zl-reach__item {
    padding: 8px 10px;
    font-size: 13px;
    justify-content: center;
    white-space: nowrap;
  }

  /* ---- Footer: center text blocks ---- */
  .footer-widget {
    text-align: center;
  }
  .footer-widget__logo {
    justify-content: center;
  }
  .main-footer__info__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .main-footer__info__list {
    align-items: center;
  }
  .main-footer__info__item {
    justify-content: center;
    text-align: center;
  }

  /* ---- Header: give the logo breathing room next to the gray control cluster ---- */
  .main-header--four .main-header__logo {
    margin-right: 14px;
  }

  /* ---- Attorney badge: center it under the CTA button instead of hugging the left edge ---- */
  .zl-cta-with-badge {
    justify-content: center;
  }

  /* ---- Custom cursor: it never moves on touch devices (no mousemove event),
     so it's left stuck at its default position instead of following a finger ---- */
  .custom-cursor__cursor,
  .custom-cursor__cursor-two {
    display: none;
  }

  /* ---- How We Work: force a consistent icon-then-text order and even spacing
     so the zigzag desktop offsets don't stack two icon circles back to back ---- */
  .work-process-four__item {
    margin-bottom: 60px;
  }
  .work-process-four__item:last-child {
    margin-bottom: 0;
  }
  .work-process-four__item__icon {
    order: 1;
  }
  .work-process-four__item__title {
    order: 2;
  }
  .work-process-four__item__text {
    order: 3;
  }
  .work-process-four__item--two .work-process-four__item__count,
  .work-process-four__item--four .work-process-four__item__count {
    top: -17px;
    bottom: auto;
  }
  .work-process-four__item--two .work-process-four__item__icon::before,
  .work-process-four__item--four .work-process-four__item__icon::before {
    transform: none;
    left: auto;
    right: -5px;
    top: auto;
    bottom: 3px;
  }

  /* ---- Home "Why Choose Zouaghi Law?" / "A Global Mindset" blocks, and
     About page's "A Global Perspective" block: the row has no working
     gutter class, so stacked columns on mobile sit flush against
     each other ---- */
  .zl-meet-hamza .row,
  .about-five .row,
  .why-choose-four .row {
    row-gap: 30px;
  }

  /* ---- "A Global Mindset": show the photo before the CTA button and
     attorney badge on mobile (they're both in the text column, which
     stacks before the photo column by default) ---- */
  .about-five .row > .fadeInRight {
    order: -1;
  }
}

/* ---- Contact form: the base theme's input styling only lists
   input[type=text/email] + textarea, so the Phone field (type=tel) fell
   through to unstyled browser defaults instead of matching the rest ---- */
.form-one input[type=tel] {
  display: block;
  width: 100%;
  height: 60px;
  background-color: var(--procounsel-gray2, #ededed);
  color: var(--procounsel-text, #838790);
  font-size: 14px;
  font-weight: 600;
  line-height: 25px;
  border: none;
  border-radius: 0px;
  outline: none;
  font-family: var(--procounsel-font, "Plus Jakarta Sans", sans-serif);
  transition: all 500ms ease;
  padding: 0 30px;
}
.form-one input[type=tel]:focus {
  color: var(--procounsel-black, #0e0b06);
  font-weight: 500;
  border-color: var(--procounsel-white, #fff);
}
/* ---- Contact page specifically re-skins the fields as an underline style;
   type=tel needs the same treatment as type=text/email there, or Phone
   still looks like the generic (gray box) input above ---- */
.contact-one__form input[type=tel] {
  height: 52px;
  background-color: transparent;
  border-bottom: 1px solid var(--procounsel-border-color, #d9d9d9);
  padding-left: 0;
}
.contact-one__form input[type=tel]:focus {
  border-color: var(--procounsel-base, #c7954a);
}

/* ---- Attorney-at-law badge next to CTA buttons: shown in full (no crop),
   with extra gap so it doesn't sit flush against the button ---- */
.zl-cta-with-badge {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}
.zl-attorney-badge {
  display: inline-block;
  width: 150px;
  height: 100px;
  flex-shrink: 0;
  margin-left: 10px;
}
.zl-attorney-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 400ms ease;
}
.zl-attorney-badge:hover img {
  transform: scale(1.05);
}

/* ---- Mobile tap targets: tel: links are plain inline text at their default
   size, too small to reliably tap. Growing them via padding (rather than
   font-size) keeps the printed number the same size while giving each link
   its own >=48px-tall row, so stacked numbers don't overlap each other.
   The margin also covers the case where the theme's "p br { display: none }"
   rule (<576px) collapses two tel: links onto the same line — without it
   their 48px boxes would sit edge-to-edge with no gap. ---- */
@media (max-width: 767px) {
  a[href^="tel:"] {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    min-width: 48px;
    padding: 4px 8px;
    margin: 2px 4px;
  }
}
