/* UseTheGeeks - modern article / blog styling. Layers on top of the Webflow CSS. */

:root {
  --utg-green: #00d293;
  --utg-green-dark: #00af7b;
  --utg-blue: #0f24b6;
  --utg-slate: #2945ff;
  --utg-midnight: #070d36;
  --utg-cream: #f6f1ea;
  --utg-ink: #1f2433;
  --utg-muted: #5b6070;
  --utg-line: #e7e3da;
}

/* ============================ Article hero ============================ */
.article { background: #fff; }

.article-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 460px;
  padding: 150px 24px 52px;
  overflow: hidden;
  isolation: isolate;
}
.article-hero__bg {
  position: absolute; inset: 0;
  background-color: var(--utg-midnight);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  z-index: -2;
}
.article-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,13,54,0.55) 0%, rgba(7,13,54,0.72) 55%, rgba(7,13,54,0.92) 100%),
    radial-gradient(120% 120% at 15% 20%, rgba(0,210,147,0.18), transparent 55%);
  z-index: -1;
}
.article-hero__inner { width: 100%; max-width: 860px; margin: 0 auto; color: #fff; }
.article-hero h1 {
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.1;
  margin: 16px 0 16px;
  color: #fff;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.article-hero__sub {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  color: rgba(255,255,255,0.82);
  margin: 0 0 24px;
  max-width: 60ch;
}
.article-hero .post-card__tag { background: rgba(0,210,147,0.95); color: #04231a; }

/* Breadcrumbs (light, sits on hero) */
/* Breadcrumbs - dark on light pages by default, white inside the hero */
.crumbs { font-size: 13.5px; color: var(--utg-slate); margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--utg-blue); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .crumb-sep { margin: 0 8px; opacity: 0.55; }
.crumbs span[aria-current] { color: var(--utg-midnight); font-weight: 600; }
.article-hero__inner .crumbs { color: rgba(255,255,255,0.72); margin: 0 0 6px; }
.article-hero__inner .crumbs a { color: rgba(255,255,255,0.72); }
.article-hero__inner .crumbs a:hover { color: #fff; }
.article-hero__inner .crumbs span[aria-current] { color: #fff; }

/* Byline */
.article-byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,0.85); }
.article-byline a { color: #fff; font-weight: 700; text-decoration: none; }
.article-byline a:hover { text-decoration: underline; }
.article-byline .dot { opacity: 0.5; margin: 0 4px; }

.post-card__tag { display: inline-block; background: rgba(0,210,147,0.14); color: var(--utg-green-dark); font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; text-decoration: none; }
a.post-card__tag:hover { filter: brightness(1.05); }

/* Avatars */
.author-box__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--utg-green), var(--utg-slate)); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: 0 0 auto; }
.author-box__avatar.small { width: 42px; height: 42px; font-size: 15px; box-shadow: 0 0 0 3px rgba(255,255,255,0.15); }
.author-box__avatar.large { width: 88px; height: 88px; font-size: 30px; margin: 0 auto 12px; }

/* ============================ Body layout ============================ */
.article-shell { max-width: 1160px; margin: 0 auto; padding: 60px 24px 8px; }
.article-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }

@media (min-width: 1024px) {
  .article-grid { grid-template-columns: 250px minmax(0, 720px); gap: 60px; justify-content: center; align-items: start; }
  .article-aside { position: sticky; top: 108px; }
}

/* Table of contents */
.article-aside { min-width: 0; }
.toc { border-left: 3px solid var(--utg-green); padding: 4px 0 4px 18px; }
.toc__title { font-weight: 700; margin: 0 0 12px; color: var(--utg-midnight); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.toc ul { margin: 0; padding: 0; list-style: none; }
.toc li { margin: 0; }
.toc a { display: block; padding: 6px 0; color: var(--utg-muted); text-decoration: none; font-size: 14.5px; line-height: 1.4; border-bottom: 1px solid transparent; transition: color .15s ease; }
.toc a:hover { color: var(--utg-blue); }

/* Long-form body */
.article-body { font-size: 18.5px; line-height: 1.78; color: var(--utg-ink); min-width: 0; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { font-size: clamp(24px, 3vw, 31px); line-height: 1.22; margin: 52px 0 16px; color: var(--utg-midnight); letter-spacing: -0.01em; scroll-margin-top: 110px; }
.article-body h3 { font-size: 21px; line-height: 1.3; margin: 34px 0 10px; color: var(--utg-midnight); scroll-margin-top: 110px; }
.article-body p { margin: 0 0 22px; }
.article-body a { color: var(--utg-blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
.article-body a:hover { color: var(--utg-slate); }
.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin: 9px 0; padding-left: 4px; }
.article-body li::marker { color: var(--utg-green-dark); }
.article-body strong { color: var(--utg-midnight); font-weight: 700; }
.article-body img { max-width: 100%; height: auto; border-radius: 14px; display: block; margin: 28px 0; }
.article-body blockquote { margin: 28px 0; padding: 18px 26px; border-left: 4px solid var(--utg-green); background: var(--utg-cream); border-radius: 0 12px 12px 0; }
.article-body blockquote p { margin: 0; font-style: italic; font-size: 19px; color: var(--utg-midnight); }

.article-body ul.task-list { list-style: none; padding-left: 4px; }
.article-body ul.task-list li.task { position: relative; padding-left: 34px; margin: 11px 0; }
.article-body ul.task-list li.task:before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border: 2px solid var(--utg-green); border-radius: 5px; }
.article-body ul.task-list li.task.done:before { background: var(--utg-green); }
.article-body ul.task-list li.task.done:after { content: "\2713"; position: absolute; left: 4px; top: 3px; color: #fff; font-weight: 700; font-size: 14px; }

/* Tables */
.table-wrap { overflow-x: auto; margin: 0 0 26px; border-radius: 14px; border: 1px solid var(--utg-line); }
.article-body table { width: 100%; border-collapse: collapse; font-size: 16px; }
.article-body th, .article-body td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--utg-line); vertical-align: top; }
.article-body thead th { background: var(--utg-midnight); color: #fff; font-weight: 600; }
.article-body tbody tr:last-child td { border-bottom: none; }
.article-body tbody tr:nth-child(even) { background: var(--utg-cream); }

/* =====================================================================
   Modern navigation bar + dropdowns (desktop). Scoped to >=992px so the
   Webflow mobile hamburger menu is left untouched. Layered over Webflow CSS.
   ===================================================================== */
@media (min-width: 992px) {
  .nav-fixed { background: transparent; }
  .main-nav {
    background: rgba(255,255,255,0.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(7,13,54,0.08);
    box-shadow: 0 2px 20px rgba(7,13,54,0.06);
  }
  .nav-wrapper { max-width: 1280px; margin: 0 auto; padding-left: 34px !important; padding-right: 34px !important; }
  .nav-menu-2 { gap: 2px; }

  .nav-item, .dropdown-toggle {
    height: auto !important;
    padding: 10px 14px !important;
    font-size: 15.5px !important;
    font-weight: 600 !important;
    color: var(--utg-midnight) !important;
    background-color: transparent !important;
    border-radius: 10px !important;
    letter-spacing: -0.01em;
    transition: background-color .16s ease, color .16s ease;
  }
  .nav-item:hover, .dropdown-toggle:hover,
  .dropdown-toggle.w--open {
    background-color: rgba(15,36,182,0.07) !important;
    color: var(--utg-blue) !important;
  }
  .dropdown-toggle { gap: 4px; }
  .dropdown-toggle .w-icon-dropdown-toggle { transition: transform .2s ease; font-size: 12px; margin-left: 2px; }
  .dropdown-toggle.w--open .w-icon-dropdown-toggle { transform: rotate(180deg); }

  /* Phone pill */
  .nav-item.is--call {
    border: 1.5px solid var(--utg-line) !important;
    color: var(--utg-midnight) !important;
    background-color: #fff !important;
    border-radius: 999px !important;
    padding: 10px 18px 10px 42px !important;
    background-position: 17px center !important;
    background-size: 15px 15px !important;
    margin-left: 6px;
  }
  .nav-item.is--call:hover { border-color: var(--utg-green) !important; color: var(--utg-green-dark) !important; background-color: #fff !important; }

  /* Primary "Get a quote" button */
  .div-block-2 { display: flex; align-items: center; gap: 8px; }
  .btn.nav {
    background-color: var(--utg-green) !important;
    background-image: none !important;
    color: #04231a !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 11px 22px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
    box-shadow: 0 6px 16px rgba(0,210,147,0.28);
    transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
  }
  .btn.nav:hover { background-color: var(--utg-green-dark) !important; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(0,210,147,0.36); }

  /* Dropdown panel */
  .dropdown { position: relative; }
  .dropdown-list, .div-block { background-color: transparent !important; }
  .dropdown-list {
    border: 1px solid rgba(7,13,54,0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 48px rgba(7,13,54,0.18) !important;
    padding: 8px !important;
    min-width: 250px;
  }
  .dropdown:hover > .dropdown-list, .dropdown-list.w--open {
    display: block;
    background-color: #fff !important;
    margin-top: 10px !important;
  }
  .dropdown:hover > .dropdown-list { background-color: #fff !important; }
  /* invisible bridge so the gap between toggle and panel keeps hover alive */
  .dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
  .dropdown-list .div-block { display: flex; flex-direction: column; gap: 2px; }
  .dropdown-link {
    color: var(--utg-midnight) !important;
    background-color: transparent !important;
    border-radius: 9px !important;
    padding: 11px 14px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    transition: background-color .16s ease, color .16s ease;
  }
  .dropdown-link:hover { background-color: rgba(15,36,182,0.07) !important; color: var(--utg-blue) !important; }
}

/* Homepage hero CTA row */
.home-cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn.is--ghost { background: transparent !important; color: var(--utg-midnight) !important; border: 2px solid var(--utg-line) !important; }
.btn.is--ghost:hover { border-color: var(--utg-green) !important; color: var(--utg-green-dark) !important; }

/* ----- Quote page + forms ----- */
/* ============================ Quote experience ============================ */
.quote-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--utg-midnight) 0%, #0e1763 60%, var(--utg-blue) 130%); color: #fff; padding: 126px 0 76px; }
@media (max-width: 600px) { .quote-hero { padding: 88px 0 60px; } }
.quote-hero .container { position: relative; z-index: 1; }
.quote-hero h1 { font-size: clamp(28px, 4vw, 46px); line-height: 1.1; margin: 6px 0 12px; letter-spacing: -0.02em; }
.quote-hero__sub { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.86); max-width: 640px; margin: 0; }
.quote-hero__blob { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; z-index: 0; pointer-events: none; }
.quote-hero__blob--a { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(0,210,147,0.65), transparent 68%); animation: qfFloatA 14s ease-in-out infinite; }
.quote-hero__blob--b { width: 380px; height: 380px; bottom: -180px; left: -100px; background: radial-gradient(circle, rgba(56,120,255,0.55), transparent 68%); animation: qfFloatB 18s ease-in-out infinite; }
@keyframes qfFloatA { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,28px) scale(1.08); } }
@keyframes qfFloatB { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(34px,-26px) scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .quote-hero__blob { animation: none; } }
.quote-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 0; padding: 0; }
.quote-badges li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.92); }
.quote-badges svg { width: 19px; height: 19px; color: var(--utg-green); flex: 0 0 auto; }

.quote-shell { max-width: 860px; margin: -44px auto 72px; position: relative; z-index: 2; }
.quote-form-area { background: #fff; border: 1px solid var(--utg-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(7,13,54,0.14); padding: 26px 30px 34px; }

.quote-step { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.quote-step--two { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--utg-line); }
.quote-step__num { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--utg-midnight); color: #fff; font-weight: 800; font-size: 15px; }
.quote-step__label { font-size: 17px; font-weight: 800; color: var(--utg-midnight); letter-spacing: -0.01em; }

.quote-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.quote-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; padding: 20px 18px; background: #fbfcfe; border: 2px solid #e4e9f2; border-radius: 16px; cursor: pointer; appearance: none; font-family: inherit; transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease; }
.quote-card:hover { transform: translateY(-3px); border-color: #c7d4e8; box-shadow: 0 14px 30px rgba(7,13,54,0.10); }
.quote-card.is-active { border-color: var(--utg-green); background: linear-gradient(180deg, #f3fbf6 0%, #effaf3 100%); box-shadow: 0 14px 32px rgba(53,184,109,0.16); }
.quote-card__icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; border: 1px solid var(--utg-line); color: var(--utg-blue); margin-bottom: 6px; transition: background .16s ease, color .16s ease, border-color .16s ease; }
.quote-card__icon svg { width: 26px; height: 26px; }
.quote-card.is-active .quote-card__icon { background: var(--utg-green); border-color: var(--utg-green); color: #fff; }
.quote-card__title { font-size: 16px; font-weight: 800; color: var(--utg-midnight); line-height: 1.25; }
.quote-card__desc { font-size: 13px; color: var(--utg-slate); line-height: 1.4; }
.quote-card__check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--utg-green); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.5); transition: opacity .18s ease, transform .18s ease; }
.quote-card__check svg { width: 14px; height: 14px; }
.quote-card.is-active .quote-card__check { opacity: 1; transform: scale(1); }

.quote-panels { margin-top: 4px; }
.quote-form { display: none; }
.quote-form.is-active { display: block; animation: qfFade .28s ease; }
@keyframes qfFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.qf-block { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.qf-label { display: block; font-size: 14px; font-weight: 700; color: var(--utg-midnight); margin: 0 0 9px; padding: 0; }
.qf-label em { color: var(--utg-green-dark); font-style: normal; }
.qf-opt { font-weight: 500; color: var(--utg-slate); }

.qf-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.qf-choices--grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.qf-choice { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 14px; background: #fbfcfe; border: 2px solid #e4e9f2; border-radius: 12px; cursor: pointer; transition: border-color .14s ease, background .14s ease, box-shadow .14s ease, transform .14s ease; }
.qf-choice:hover { border-color: #c7d4e8; }
.qf-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.qf-choice__txt { display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.qf-choice__txt strong { font-size: 15.5px; font-weight: 800; color: var(--utg-midnight); }
.qf-choice__txt small { font-size: 11.5px; font-weight: 600; color: var(--utg-slate); margin-top: 2px; }
.qf-choice__tick { width: 18px; height: 18px; border-radius: 50%; background: var(--utg-green); color: #fff; display: none; place-items: center; flex: 0 0 auto; }
.qf-choice__tick svg { width: 12px; height: 12px; }
.qf-choice:has(input:checked) { border-color: var(--utg-green); background: linear-gradient(180deg, #f3fbf6, #ecf9f1); box-shadow: 0 8px 20px rgba(53,184,109,0.15); transform: translateY(-1px); }
.qf-choice:has(input:checked) .qf-choice__txt strong { color: var(--utg-green-dark); }
.qf-choice:has(input:checked) .qf-choice__tick { display: grid; }
.qf-choice:has(input:focus-visible) { outline: 2px solid var(--utg-blue); outline-offset: 2px; }

.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0 0 18px; }
.qf-field { display: flex; flex-direction: column; margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.qf-row .qf-field { margin: 0; }
.qf-input { position: relative; display: block; }
.qf-input > svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--utg-slate); pointer-events: none; }
.qf-input input { padding-left: 40px !important; }
.qf-field input[type=text], .qf-field input[type=tel], .qf-field input[type=email], .qf-field textarea {
  width: 100%; padding: 12px 14px; font-size: 15.5px; font-family: inherit; color: var(--utg-ink);
  background: #fbfcfe; border: 1px solid #d4dbe6; border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.qf-field input:focus, .qf-field textarea:focus { outline: none; border-color: var(--utg-green); box-shadow: 0 0 0 3px rgba(53,184,109,0.15); background: #fff; }
.qf-input:focus-within > svg { color: var(--utg-green-dark); }
.qf-field textarea { resize: vertical; }
.qf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.qf-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin: 8px 0 0; }
.qf-submit { display: inline-flex; align-items: center; gap: 10px; appearance: none; border: 0; cursor: pointer; font-family: inherit; font-size: 16px; font-weight: 800; color: #fff; padding: 15px 28px; border-radius: 999px; background: linear-gradient(180deg, var(--utg-green) 0%, var(--utg-green-dark) 100%); box-shadow: 0 12px 26px rgba(53,184,109,0.32); transition: transform .15s ease, box-shadow .15s ease, filter .15s ease; }
.qf-submit svg { width: 19px; height: 19px; transition: transform .15s ease; }
.qf-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(53,184,109,0.4); }
.qf-submit:hover svg { transform: translateX(3px); }
.qf-submit:disabled { filter: grayscale(.3) opacity(.7); cursor: default; transform: none; box-shadow: none; }
.qf-note { font-size: 14.5px; color: var(--utg-slate); }
.qf-note a { color: var(--utg-blue); font-weight: 700; }
.qf-error { margin: 16px 0 0; padding: 12px 14px; background: #fdecec; border: 1px solid #f5c2c2; border-radius: 10px; color: #97231f; font-size: 14.5px; }

.quote-success { text-align: center; background: #fff; border: 1px solid #d7e8dd; border-radius: 20px; box-shadow: 0 24px 60px rgba(7,13,54,0.14); padding: 52px 30px; }
.quote-success__icon { width: 68px; height: 68px; margin: 0 auto 18px; border-radius: 50%; background: var(--utg-green); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(53,184,109,0.34); animation: qfPop .4s cubic-bezier(.2,1.3,.5,1); }
.quote-success__icon svg { width: 36px; height: 36px; }
@keyframes qfPop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
.quote-success h2 { font-size: 26px; color: var(--utg-midnight); margin: 0 0 10px; }
.quote-success p { font-size: 17px; color: var(--utg-slate); margin: 0; }
.quote-success a { color: var(--utg-blue); font-weight: 700; }

@media (max-width: 760px) {
  .quote-cards { grid-template-columns: 1fr; }
  /* Lay each service card out as [icon] [title / desc] so the title never gets
     squeezed into an awkward wrap beside the icon on small screens. */
  .quote-card { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; row-gap: 2px; padding: 14px 16px; text-align: left; }
  .quote-card__icon { grid-row: 1 / span 2; margin-bottom: 0; }
  .quote-card__title { grid-column: 2; align-self: end; }
  .quote-card__desc { grid-column: 2; align-self: start; }
  .qf-choices--grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) { .qf-row { grid-template-columns: 1fr; gap: 0; } .quote-form-area { padding: 22px 18px 26px; } .qf-submit { width: 100%; justify-content: center; } }

/* Key takeaways - quotable summary box (AI citation friendly) */
.key-takeaways { margin: 0 0 34px; padding: 22px 24px 22px 26px; background: linear-gradient(180deg, #f3f8f4 0%, #eef6f0 100%); border: 1px solid #d7e8dd; border-left: 4px solid var(--utg-green); border-radius: 12px; }
.key-takeaways__title { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--utg-green-dark); }
.key-takeaways ul { margin: 0; padding-left: 20px; }
.key-takeaways li { margin: 8px 0; padding-left: 4px; color: var(--utg-midnight); font-size: 16.5px; line-height: 1.6; }
.key-takeaways li::marker { color: var(--utg-green); }

/* Auto entity links - same look as normal body links */
.article-body a.auto-link { color: var(--utg-blue); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }

/* Author archive tiles */
.author-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; margin: 8px 0 10px; }
.author-tile { display: flex; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--utg-line); border-radius: 16px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.author-tile:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(7,13,54,0.10); border-color: var(--utg-green); }
.author-tile__avatar { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--utg-blue), var(--utg-green-dark)); }
.author-tile__body { display: flex; flex-direction: column; }
.author-tile__name { font-size: 19px; font-weight: 800; color: var(--utg-midnight); }
.author-tile__role { font-size: 13.5px; color: var(--utg-green-dark); font-weight: 600; margin: 2px 0 8px; }
.author-tile__bio { font-size: 15px; color: var(--utg-slate); line-height: 1.55; }

/* Author expertise chips */
.author-expertise { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.author-expertise li { background: #eef2f7; color: var(--utg-slate); border: 1px solid var(--utg-line); border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; }

/* FAQ accordion */
.article-faq { margin: 52px 0 0; }
.article-faq h2 { font-size: clamp(24px, 3vw, 31px); line-height: 1.22; margin: 0 0 18px; color: var(--utg-midnight); letter-spacing: -0.01em; scroll-margin-top: 110px; }
.faq-item { border: 1px solid var(--utg-line); border-radius: 12px; margin: 0 0 12px; background: #fff; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.faq-item[open] { border-color: var(--utg-green); box-shadow: 0 8px 24px rgba(7,13,54,0.07); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--utg-midnight); font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--utg-green-dark); line-height: 1; transition: transform .2s ease; }
.faq-item[open] summary:after { content: "\2212"; }
.faq-item summary:hover { color: var(--utg-blue); }
.faq-answer { padding: 0 20px 18px; color: var(--utg-ink); font-size: 16.5px; line-height: 1.7; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a { color: var(--utg-blue); text-decoration: underline; text-underline-offset: 2px; }

/* Author box */
.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 52px 0 0; padding: 24px; background: var(--utg-cream); border: 1px solid var(--utg-line); border-radius: 16px; }
.author-box__name { margin: 0; font-size: 17px; font-weight: 700; }
.author-box__name a { color: var(--utg-midnight); text-decoration: none; }
.author-box__name a:hover { color: var(--utg-blue); }
.author-box__role { margin: 2px 0 8px; font-size: 14px; color: var(--utg-green-dark); font-weight: 600; }
.author-box__bio { margin: 0; font-size: 15px; color: var(--utg-muted); line-height: 1.6; }

/* ============================ CTA ============================ */
.article-cta { position: relative; background: var(--utg-midnight); color: #fff; padding: 64px 24px; margin-top: 64px; overflow: hidden; }
.article-cta:before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 80% 0%, rgba(0,210,147,0.22), transparent 60%); }
.article-cta__inner { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.article-cta h2 { color: #fff; font-size: clamp(26px, 3vw, 34px); margin: 0 0 12px; }
.article-cta p { color: rgba(255,255,255,0.82); font-size: 18px; margin: 0 0 26px; }
.article-cta__actions { display: flex; gap: 18px; align-items: center; justify-content: center; flex-wrap: wrap; }
.article-cta .btn-link { color: var(--utg-green); font-weight: 600; text-decoration: none; }
.article-cta .small.light { margin-top: 20px; color: rgba(255,255,255,0.6); }
.article-cta .small.light a { color: var(--utg-green); }

/* ============================ Hub / category / grids ============================ */
.article-main { padding: 130px 0 64px; background: #fff; }
.container.is--article { max-width: 820px; }
.hub-head, .author-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.hub-head h1, .author-head h1 { font-size: clamp(32px, 5vw, 52px); color: var(--utg-midnight); margin: 0 0 14px; letter-spacing: -0.01em; }
.author-head__role { color: var(--utg-green-dark); font-weight: 600; }
.article-sub { font-size: 20px; line-height: 1.5; color: var(--utg-muted); margin: 0 0 14px; }
.article-sub.center { text-align: center; }
.hub-section { margin-bottom: 60px; }
.hub-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; border-bottom: 2px solid var(--utg-line); padding-bottom: 12px; }
.hub-section__head .section-header { margin: 0; }
.btn-link { color: var(--utg-blue); font-weight: 600; text-decoration: none; }
.btn-link:hover { text-decoration: underline; }

/* Cards */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--utg-line); border-radius: 18px; text-decoration: none; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(7,13,54,0.13); border-color: transparent; }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--utg-midnight); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1 1 auto; }
.post-card__title { font-size: 19px; line-height: 1.3; color: var(--utg-midnight); margin: 2px 0 0; font-weight: 700; }
.post-card__desc { font-size: 14.5px; line-height: 1.6; color: var(--utg-muted); margin: 0; flex: 1 1 auto; }
.post-card__meta { font-size: 13px; color: #8a8e9c; }

/* Homepage latest-articles section */
.home-articles__head { max-width: 680px; margin: 0 auto 40px; }
.home-articles__cta { text-align: center; margin-top: 44px; }

/* Related */
.related { background: var(--utg-cream); padding: 64px 0; }
.related .section-header { text-align: center; margin-bottom: 34px; }

/* ============================ Responsive ============================ */
@media (max-width: 1023px) {
  .article-aside { order: -1; }
  .toc { background: var(--utg-cream); border: 1px solid var(--utg-line); border-left: 3px solid var(--utg-green); border-radius: 12px; padding: 18px 22px; }
  .toc ul { columns: 2; column-gap: 24px; }
}
@media (max-width: 640px) {
  .article-hero { min-height: 380px; padding: 130px 20px 40px; }
  .article-shell { padding: 40px 20px 4px; }
  .article-body { font-size: 17.5px; }
  .article-cta__actions { flex-direction: column; }
  .toc ul { columns: 1; }
}

/* ============================ Modern site footer ============================ */
.footer.utg-footer {
  display: block;
  background: linear-gradient(160deg, var(--utg-midnight) 0%, #0a1149 100%);
  color: #fff;
  padding: 64px 0 26px;
  border-top: 3px solid var(--utg-green);
}
.utg-footer .container { max-width: 1180px; margin: 0 auto; padding: 0 28px; width: 100%; }
.utg-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 44px;
}
.utg-footer__brand { max-width: 320px; }
.utg-footer__logo-link { display: inline-block; }
.utg-footer__logo { width: 100%; max-width: 168px; height: auto; display: block; }
.utg-footer__tagline {
  margin: 18px 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
.utg-footer__social { display: flex; gap: 12px; }
.utg-footer__social-link {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.utg-footer__social-link:hover {
  background: var(--utg-green);
  color: var(--utg-midnight);
  transform: translateY(-2px);
}
.utg-footer__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--utg-green);
  margin: 4px 0 18px;
}
.utg-footer__links { list-style: none; margin: 0; padding: 0; }
.utg-footer__links li { margin: 0 0 11px; }
.utg-footer__links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.5;
  transition: color .16s ease;
}
.utg-footer__links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.utg-footer__contact a { display: flex; align-items: flex-start; gap: 10px; }
.utg-footer__contact svg { flex: 0 0 auto; margin-top: 2px; color: var(--utg-green); }
.utg-footer__contact span { line-height: 1.5; }
.utg-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.utg-footer__copy { margin: 0; font-size: 13.5px; color: rgba(255,255,255,0.6); }
.utg-footer__legal { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.utg-footer__legal a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13.5px;
  transition: color .16s ease;
}
.utg-footer__legal a:hover { color: #fff; }
.utg-footer__top-link { display: inline-flex; align-items: center; gap: 6px; }
.utg-footer__top-link svg { color: var(--utg-green); }

@media (max-width: 860px) {
  .utg-footer__top { grid-template-columns: 1fr 1fr; gap: 34px 28px; }
  .utg-footer__brand { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 560px) {
  .footer.utg-footer { padding: 48px 0 24px; }
  .utg-footer__top { grid-template-columns: 1fr; gap: 30px; }
  .utg-footer__brand { max-width: none; }
  .utg-footer__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ============================ Tools section ============================ */
/* Tools hub grid */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin: 8px 0 12px; }
.tool-card { display: flex; gap: 18px; padding: 26px; background: #fff; border: 1px solid var(--utg-line); border-radius: 18px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(7,13,54,0.10); border-color: var(--utg-green); }
.tool-card__icon { flex: 0 0 auto; width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--utg-blue), var(--utg-green-dark)); }
.tool-card__icon svg { width: 28px; height: 28px; }
.tool-card__body { display: flex; flex-direction: column; gap: 6px; }
.tool-card__title { font-size: 20px; font-weight: 800; color: var(--utg-midnight); }
.tool-card__desc { font-size: 15.5px; color: var(--utg-muted); line-height: 1.5; }
.tool-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--utg-blue); font-size: 15px; margin-top: 4px; }

/* Tool page hero (phone checker) */
.tool-page { background: #fff; }
.tool-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--utg-midnight) 0%, #0e1763 60%, var(--utg-blue) 130%); color: #fff; padding: 126px 0 64px; isolation: isolate; }
@media (max-width: 600px) { .tool-hero { padding: 92px 0 52px; } }
.tool-hero .container { position: relative; z-index: 1; max-width: 820px; }
.tool-hero h1 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; margin: 6px 0 14px; letter-spacing: -0.02em; }
.tool-hero__sub { font-size: 18px; line-height: 1.58; color: rgba(255,255,255,0.86); max-width: 680px; margin: 0 0 26px; }
.tool-hero__blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .5; z-index: 0; pointer-events: none; }
.tool-hero__blob--a { width: 440px; height: 440px; top: -150px; right: -110px; background: radial-gradient(circle, rgba(0,210,147,0.6), transparent 68%); animation: qfFloatA 14s ease-in-out infinite; }
.tool-hero__blob--b { width: 360px; height: 360px; bottom: -170px; left: -90px; background: radial-gradient(circle, rgba(56,120,255,0.5), transparent 68%); animation: qfFloatB 18s ease-in-out infinite; }

/* Phone number checker search form */
.pnc-form { margin: 0; }
.pnc-form__label { display: block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,0.66); margin: 0 0 8px; }
.pnc-form__row { display: flex; gap: 12px; background: #fff; padding: 8px; border-radius: 16px; box-shadow: 0 18px 44px rgba(7,13,54,0.28); }
.pnc-form__input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-size: 18px; color: var(--utg-ink); padding: 14px 16px; outline: none; }
.pnc-form__input::placeholder { color: #9aa1ad; }
.pnc-form__btn { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--utg-green-dark), var(--utg-green)); border-radius: 11px; padding: 14px 22px; transition: filter .15s ease, transform .15s ease; }
.pnc-form__btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.pnc-form__btn:disabled { opacity: .6; cursor: default; transform: none; }
.pnc-form__hint { font-size: 13.5px; color: rgba(255,255,255,0.62); margin: 12px 2px 0; }
@media (max-width: 560px) {
  .pnc-form__row { flex-direction: column; }
  .pnc-form__btn { justify-content: center; }
}

/* Result card */
.pnc-result { margin: 22px 0 0; background: #fff; color: var(--utg-ink); border-radius: 16px; padding: 24px 26px; box-shadow: 0 18px 44px rgba(7,13,54,0.20); border: 1px solid rgba(255,255,255,0.4); }
.pnc-result.is-loading { color: var(--utg-muted); }
.pnc-result.is-error { border-left: 4px solid #e2574c; }
.pnc-result.is-error a { color: var(--utg-blue); }
.pnc-card__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; }
.pnc-card__head h3 { margin: 0; font-size: 26px; color: var(--utg-midnight); letter-spacing: -0.01em; }
.pnc-badge { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--utg-cream); color: var(--utg-blue); }
.pnc-badge--mobile, .pnc-badge--freephone, .pnc-badge--uk-wide { background: rgba(0,210,147,0.14); color: var(--utg-green-dark); }
.pnc-badge--premium, .pnc-badge--personal { background: rgba(226,87,76,0.14); color: #c23d33; }
.pnc-badge--service, .pnc-badge--directory, .pnc-badge--corporate { background: rgba(245,166,35,0.16); color: #b9770a; }
.pnc-summary { font-size: 16.5px; line-height: 1.65; color: var(--utg-ink); margin: 0 0 16px; }
.pnc-rows { border-top: 1px solid var(--utg-line); }
.pnc-row { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--utg-line); font-size: 15.5px; }
.pnc-row__k { color: var(--utg-muted); font-weight: 600; }
.pnc-row__v { color: var(--utg-midnight); font-weight: 700; text-align: right; }
.pnc-note { font-size: 13px; line-height: 1.55; color: var(--utg-muted); margin: 14px 0 0; padding: 12px 14px; background: var(--utg-cream); border-radius: 10px; }

/* Tool article content (single readable column) */
.tool-content { max-width: 760px; margin: 0 auto; }
.tool-callout { padding: 18px 22px; background: var(--utg-cream); border-left: 4px solid var(--utg-green); border-radius: 0 12px 12px 0; font-size: 16.5px !important; }
.pnc-table code { background: var(--utg-cream); padding: 2px 7px; border-radius: 6px; font-size: 14px; color: var(--utg-blue); white-space: nowrap; }
.pnc-area-grid { list-style: none; padding: 0 !important; margin: 0 0 22px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.pnc-area-grid li { display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 10px 14px; background: #fff; border: 1px solid var(--utg-line); border-radius: 10px; }
.pnc-area-grid code { background: var(--utg-midnight); color: #fff; padding: 3px 9px; border-radius: 6px; font-size: 13.5px; font-weight: 700; }
.pnc-area-grid span { color: var(--utg-ink); font-size: 15px; }
.tool-faq { max-width: 760px; margin: 8px auto 0; }
.tool-faq h2 { font-size: clamp(24px, 3vw, 31px); color: var(--utg-midnight); margin: 0 0 18px; }

/* =====================================================================
   Animated nav header polish (desktop only, >=992px so the Webflow mobile
   hamburger menu is untouched). Effects:
     1. A slow green->blue sheen that travels across a thin top accent line.
     2. A scroll-aware bar: subtly more opaque + softer shadow + a small
        height shrink once the page is scrolled (toggled by .is-scrolled via a
        tiny dependency-free script inside the nav). The bar is position:fixed
        so the shrink causes no layout shift.
     3. A gradient underline that sweeps in under nav links on hover.
     4. A soft shine sweep across the "Get a quote" pill on hover.
     5. A gentle logo lift on hover.
   GPU-friendly (transform/opacity); all non-essential motion is disabled
   under prefers-reduced-motion.
   ===================================================================== */
@media (min-width: 992px) {
  .main-nav {
    position: relative;
    transition: height .32s cubic-bezier(.4,0,.2,1),
                background-color .32s ease,
                box-shadow .32s ease,
                border-color .32s ease;
  }
  /* Animated brand accent line across the very top of the bar */
  .main-nav::before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background-image: linear-gradient(90deg,
      transparent 0%, rgba(0,210,147,0) 8%,
      var(--utg-green) 32%, var(--utg-slate) 50%, var(--utg-green) 68%,
      rgba(0,210,147,0) 92%, transparent 100%);
    background-size: 220% 100%;
    background-repeat: no-repeat;
    opacity: .85;
    pointer-events: none;
    animation: utgNavSheen 7s linear infinite;
  }
  @keyframes utgNavSheen {
    0%   { background-position: 160% 0; }
    100% { background-position: -160% 0; }
  }

  /* Scroll-aware state */
  .main-nav.is-scrolled {
    height: 74px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 8px 30px rgba(7,13,54,0.13) !important;
    border-bottom-color: rgba(7,13,54,0.10) !important;
  }

  /* Animated underline indicator on nav links (not the phone pill) */
  .nav-item { position: relative; }
  .nav-item:not(.is--call)::after {
    content: "";
    position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
    border-radius: 2px;
    background-image: linear-gradient(90deg, var(--utg-green), var(--utg-slate));
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .26s cubic-bezier(.4,0,.2,1), opacity .26s ease;
    pointer-events: none;
  }
  .nav-item:not(.is--call):hover::after,
  .nav-item:not(.is--call):focus-visible::after {
    transform: scaleX(1);
    opacity: 1;
  }

  /* Shine sweep across the primary "Get a quote" pill on hover */
  .btn.nav { position: relative; overflow: hidden; isolation: isolate; }
  .btn.nav::after {
    content: "";
    position: absolute; top: 0; bottom: 0; left: 0; width: 45%;
    background-image: linear-gradient(100deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
    transform: translateX(-220%) skewX(-18deg);
    pointer-events: none;
  }
  .btn.nav:hover::after { animation: utgNavShine .8s ease; }
  @keyframes utgNavShine {
    from { transform: translateX(-220%) skewX(-18deg); }
    to   { transform: translateX(320%)  skewX(-18deg); }
  }

  /* Gentle logo lift */
  .logo { transition: transform .25s cubic-bezier(.4,0,.2,1); will-change: transform; }
  .logo:hover { transform: translateY(-1px) scale(1.03); }
}

@media (min-width: 992px) and (prefers-reduced-motion: reduce) {
  .main-nav { transition: none; }
  .main-nav::before { animation: none; opacity: .7; }
  .nav-item:not(.is--call)::after { transition: opacity .12s ease; }
  .btn.nav:hover::after { animation: none; }
  .logo { transition: none; }
  .logo:hover { transform: none; }
}

/* ===================== Phone checker: premium hero ===================== */
.pnc-hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: linear-gradient(135deg, #050a2e 0%, #0e1763 55%, #15217e 120%);
  padding: 134px 0 76px;
}
.pnc-hero--compact { padding: 122px 0 58px; }
@media (max-width: 600px) { .pnc-hero { padding: 96px 0 48px; } .pnc-hero--compact { padding: 92px 0 44px; } }
.pnc-hero__inner { position: relative; z-index: 2; max-width: 1160px; }
.pnc-hero__inner .crumbs { color: rgba(255,255,255,0.7); margin: 0 0 10px; }
.pnc-hero__inner .crumbs a { color: rgba(255,255,255,0.7); }
.pnc-hero__inner .crumbs a:hover { color: #fff; }
.pnc-hero__inner .crumbs span[aria-current] { color: #fff; }

.pnc-hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.pnc-hero__blob { position: absolute; border-radius: 50%; filter: blur(54px); opacity: .5; }
.pnc-hero__blob--a { width: 460px; height: 460px; top: -160px; right: -80px; background: radial-gradient(circle, rgba(0,210,147,0.55), transparent 68%); animation: qfFloatA 16s ease-in-out infinite; }
.pnc-hero__blob--b { width: 380px; height: 380px; bottom: -180px; left: -100px; background: radial-gradient(circle, rgba(56,120,255,0.5), transparent 68%); animation: qfFloatB 20s ease-in-out infinite; }
.pnc-hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1.5px);
  background-size: 26px 26px; opacity: .55;
  -webkit-mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
          mask-image: linear-gradient(transparent, #000 28%, #000 72%, transparent);
}
.pnc-hero__rings { position: absolute; top: 50%; right: 4%; width: 520px; height: 520px; transform: translateY(-50%); }
.pnc-hero__rings i {
  position: absolute; top: 50%; left: 50%; border-radius: 50%;
  border: 1px solid rgba(120,165,255,0.28); transform: translate(-50%,-50%) scale(.7);
  animation: pncRing 6.5s ease-out infinite;
}
.pnc-hero__rings i:nth-child(1) { width: 190px; height: 190px; }
.pnc-hero__rings i:nth-child(2) { width: 350px; height: 350px; animation-delay: 1.3s; border-color: rgba(0,210,147,0.28); }
.pnc-hero__rings i:nth-child(3) { width: 520px; height: 520px; animation-delay: 2.6s; }
@keyframes pncRing {
  0% { opacity: .55; transform: translate(-50%,-50%) scale(.55); }
  70% { opacity: .12; }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1); }
}

.pnc-hero__grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 46px; align-items: center; margin-top: 6px; }
@media (max-width: 920px) { .pnc-hero__grid { grid-template-columns: 1fr; gap: 28px; } .pnc-hero__rings { display: none; } }

.pnc-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  padding: 7px 14px 7px 11px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: .01em; color: #d8f7ec;
  background: rgba(0,210,147,0.12); border: 1px solid rgba(0,210,147,0.32);
}
.pnc-hero__eyebrow svg { width: 16px; height: 16px; color: var(--utg-green); }
.pnc-hero__lead h1 { font-size: clamp(31px, 4.6vw, 52px); line-height: 1.07; margin: 0 0 16px; letter-spacing: -0.02em; }
.pnc-hero__sub { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.86); margin: 0; max-width: 560px; }

.pnc-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 13px 24px; }
.pnc-trust li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.84); }
.pnc-trust svg { width: 18px; height: 18px; color: var(--utg-green); flex: 0 0 auto; }

.pnc-hero__panel {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 22px; padding: 22px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 30px 70px rgba(3,7,30,0.45);
}
@media (max-width: 600px) { .pnc-hero__panel { padding: 16px; } }

.pnc-form__icon { display: flex; align-items: center; padding-left: 8px; color: #9aa1ad; flex: 0 0 auto; }
.pnc-form__icon svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .pnc-form__icon { display: none; } }

.pnc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.pnc-chips__lead { font-size: 13px; color: rgba(255,255,255,0.62); font-weight: 600; margin-right: 2px; }
.pnc-chip {
  border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08);
  color: #fff; border-radius: 999px; padding: 7px 13px; font-size: 13.5px; font-weight: 600;
  cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.pnc-chip:hover { background: rgba(255,255,255,0.17); border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }

/* ===================== Phone checker: browse + pSEO ===================== */
.pnc-browse { background: var(--utg-cream); padding: 56px 0; }
.pnc-browse .container { max-width: 1160px; }
.pnc-browse h2 { font-size: clamp(23px, 3vw, 30px); color: var(--utg-midnight); margin: 44px 0 8px; letter-spacing: -0.01em; }
.pnc-browse > .container > h2:first-child, .pnc-hub-group:first-child h2 { margin-top: 0; }
.pnc-browse__sub { color: var(--utg-muted); margin: 0 0 20px; font-size: 16px; line-height: 1.6; max-width: 780px; }
.pnc-browse__sub a { color: var(--utg-blue); font-weight: 600; }

.pnc-tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.pnc-tile { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--utg-line); border-radius: 14px; padding: 16px 18px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pnc-tile:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(7,13,54,0.10); border-color: rgba(0,210,147,0.5); }
.pnc-tile__code { flex: 0 0 auto; font-weight: 800; font-size: 13.5px; color: #fff; background: var(--utg-midnight); border-radius: 9px; padding: 9px 10px; min-width: 56px; text-align: center; }
.pnc-tile__body { display: flex; flex-direction: column; gap: 3px; }
.pnc-tile__name { font-weight: 800; color: var(--utg-midnight); font-size: 16px; line-height: 1.25; }
.pnc-tile__desc { color: var(--utg-muted); font-size: 14px; line-height: 1.45; }

.pnc-area-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 12px; }
.pnc-area-cards--inline { margin: 10px 0 6px; }
.pnc-area-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--utg-line); border-radius: 12px; padding: 12px 14px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pnc-area-card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7,13,54,0.10); border-color: rgba(0,210,147,0.5); }
.pnc-area-card__code { flex: 0 0 auto; font-weight: 800; font-size: 13.5px; color: var(--utg-blue); background: var(--utg-cream); border-radius: 8px; padding: 7px 9px; }
.pnc-area-card__body { display: flex; flex-direction: column; min-width: 0; }
.pnc-area-card__name { font-weight: 700; color: var(--utg-midnight); font-size: 15px; line-height: 1.2; }
.pnc-area-card__region { color: var(--utg-muted); font-size: 12.5px; }

.pnc-hub-group { margin-bottom: 8px; }

.pnc-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 0; border: 1px solid var(--utg-line); border-radius: 14px; overflow: hidden; margin: 8px 0 32px; background: #fff; }
.pnc-facts .pnc-fact { padding: 13px 16px; border-top: 1px solid var(--utg-line); border-left: 1px solid var(--utg-line); margin: 0; }
.pnc-fact dt { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--utg-muted); font-weight: 700; margin: 0 0 5px; }
.pnc-fact dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--utg-midnight); line-height: 1.35; }
.pnc-fact dd code { background: var(--utg-cream); padding: 2px 7px; border-radius: 6px; color: var(--utg-blue); font-size: 13.5px; }

@media (prefers-reduced-motion: reduce) {
  .pnc-hero__blob, .pnc-hero__rings i { animation: none; }
  .pnc-tile, .pnc-area-card, .pnc-chip { transition: none; }
}

/* =====================================================================
   Mobile header / hamburger-bar polish (below the 992px desktop nav).
   The Webflow mobile bar already collapses to a hamburger; these rules
   just keep the top bar comfortable and guarantee nothing wraps/overlaps
   on small phones. Scoped to <=991px so the desktop nav is untouched.
   ===================================================================== */
@media (max-width: 991px) {
  /* Keep the three top-bar items (logo / Get a quote / burger) on one tidy
     row with breathing room, and stop the green pill from ever wrapping. */
  .div-block-2 { display: flex; align-items: center; gap: 8px; }
  .btn.nav__btn-mobile {
    white-space: nowrap;
    line-height: 1.1 !important;
    padding: 10px 14px !important;
    font-size: 15px !important;
    border-radius: 8px;
  }
  .menu-button { display: flex; align-items: center; justify-content: center; }
}

/* Very small phones: trim the pill a touch more so the logo, CTA and burger
   never crowd each other. */
@media (max-width: 380px) {
  .btn.nav__btn-mobile { padding: 9px 11px !important; font-size: 14px !important; }
}

/* Belt-and-braces guard against accidental sideways scroll on phones. */
@media (max-width: 991px) {
  html, body { overflow-x: hidden; }
}

/* ============================ Articles directory (hub) ============================ */
/* Centre the article-main containers on wide screens. The base .container has
   max-width but no auto margins, so beyond its max-width it left-aligns. */
.article-main > .container { margin-left: auto; margin-right: auto; }
/* The directory reads best at a balanced, footer-matching width. */
.container.is--directory { max-width: 1180px; }

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

.dir-toolbar { margin: 0 0 18px; }

.dir-search { position: relative; display: flex; align-items: center; max-width: 620px; margin: 0 auto 20px; }
.dir-search__icon { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--utg-muted); pointer-events: none; }
.dir-search__input {
  width: 100%; font: inherit; font-size: 16.5px;
  padding: 15px 46px 15px 50px;
  border: 1.5px solid var(--utg-line); border-radius: 999px;
  background: #fff; color: var(--utg-ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none; appearance: none;
}
.dir-search__input::placeholder { color: #9aa0ad; }
.dir-search__input:focus { outline: none; border-color: var(--utg-green); box-shadow: 0 0 0 4px rgba(0,210,147,0.16); }
.dir-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.dir-search__clear {
  position: absolute; right: 14px; width: 28px; height: 28px;
  border: none; border-radius: 50%; background: var(--utg-line);
  color: var(--utg-midnight); font-size: 20px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: background .15s ease;
}
.dir-search__clear:hover { background: #d8d3c8; }
.dir-search__clear[hidden] { display: none; }

.dir-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.dir-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--utg-midnight); background: #fff;
  border: 1.5px solid var(--utg-line); border-radius: 999px;
  padding: 9px 16px; cursor: pointer; transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.dir-chip:hover { border-color: var(--utg-green); color: var(--utg-green-dark); }
.dir-chip:focus-visible { outline: 2px solid var(--utg-blue); outline-offset: 2px; }
.dir-chip.is-active { background: var(--utg-midnight); border-color: var(--utg-midnight); color: #fff; }
.dir-chip__count {
  font-size: 12px; font-weight: 700; background: rgba(7,13,54,0.08); color: inherit;
  border-radius: 999px; padding: 1px 8px; min-width: 20px; text-align: center;
}
.dir-chip.is-active .dir-chip__count { background: rgba(255,255,255,0.18); }

.dir-count { text-align: center; color: var(--utg-muted); font-size: 15px; margin: 0 0 26px; }
.dir-count strong { color: var(--utg-midnight); }

.dir-card.is-hidden { display: none !important; }

.post-card__media { position: relative; }
.post-card__new {
  position: absolute; top: 12px; left: 12px;
  background: var(--utg-green); color: #04231a;
  font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}

.dir-empty { text-align: center; padding: 50px 20px 30px; }
.dir-empty__title { font-size: 22px; font-weight: 700; color: var(--utg-midnight); margin: 0 0 8px; }
.dir-empty__sub { color: var(--utg-muted); font-size: 16px; margin: 0; }
.dir-empty__reset { font: inherit; color: var(--utg-blue); background: none; border: none; padding: 0; cursor: pointer; text-decoration: underline; }
.dir-empty__reset:hover { color: var(--utg-slate); }

@media (max-width: 640px) {
  .dir-chips {
    justify-content: flex-start; flex-wrap: nowrap;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none;
  }
  .dir-chips::-webkit-scrollbar { display: none; }
  .dir-chip { flex: 0 0 auto; }
}
