
/* ==========================================================================
   ANTIBE V60 — CUSTOM LOCATION SEO TEMPLATE
   One design system for all 96 SEO location pages.
   No Elementor / WordPress layout dependency.
   ========================================================================== */

.location-seo-page {
  background: #fff;
  color: var(--ink);
}

.location-template {
  overflow: hidden;
}

.location-template__shell {
  width: min(calc(100% - 80px), 1360px);
  margin-inline: auto;
}

.location-template__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #657b83;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.location-template__section {
  padding: 112px 0;
}

.location-template__section-head {
  max-width: 930px;
  margin-bottom: 48px;
}

.location-template__section-head h2,
.location-template__proposal h2,
.location-template__audit h2,
.location-template__awards h2,
.location-template__final-form h2 {
  margin: 12px 0 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 400;
  text-wrap: balance;
}

.location-template__section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr);
  gap: 70px;
  align-items: end;
}

.location-template__section-intro,
.location-template__lead-copy,
.location-template__hero-intro,
.location-template__award-copy p,
.location-template__final-form-copy > div {
  color: #5d737b;
  font-size: 17px;
  line-height: 1.8;
}

.location-template__section-intro p,
.location-template__lead-copy p,
.location-template__hero-intro p,
.location-template__award-copy p,
.location-template__final-form-copy p {
  margin: 14px 0 0;
}

.location-template__section-intro p:first-child,
.location-template__lead-copy p:first-child,
.location-template__hero-intro p:first-child,
.location-template__award-copy p:first-of-type {
  margin-top: 0;
}

/* HERO */
.location-template__hero {
  position: relative;
  min-height: 820px;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.location-template__hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 11% 82%, rgba(255, 107, 56, .28), transparent 32%),
    radial-gradient(circle at 90% 12%, rgba(74, 177, 255, .44), transparent 31%),
    linear-gradient(135deg, #eaf8fd 0%, #f8fbfc 52%, #fff2eb 100%);
}

.location-template__hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr);
  gap: 78px;
  align-items: center;
  padding: 148px 0 94px;
}

.location-template__hero-copy h1 {
  max-width: 850px;
  margin: 18px 0 0;
  color: #071b1f;
  font-size: clamp(58px, 5.2vw, 88px);
  line-height: 1.01;
  letter-spacing: -.055em;
  font-weight: 400;
}

.location-template__tagline {
  margin: 22px 0 0;
  color: #1462cf;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 600;
}

.location-template__hero-intro {
  max-width: 820px;
  margin-top: 22px;
}

.location-template__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.location-template__ghost {
  border: 1px solid rgba(8,45,50,.14) !important;
  background: rgba(255,255,255,.62) !important;
  color: var(--ink) !important;
  backdrop-filter: blur(12px);
}

.location-template__quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.location-template__quick-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #45626c;
  background: rgba(255,255,255,.62);
  border: 1px solid rgba(8,45,50,.08);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.location-template__hero-visual {
  min-width: 0;
}

.location-template__hero-visual-inner {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 26px;
  border-radius: 38px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.84);
  box-shadow: 0 30px 80px rgba(25,76,98,.15);
  backdrop-filter: blur(20px);
}

.location-template__hero-image {
  width: 100%;
  max-height: 470px;
  object-fit: contain;
  border-radius: 27px;
}

.location-template__hero-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(13,45,59,.86);
  box-shadow: 0 14px 30px rgba(17,58,75,.16);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 600;
}

.location-template__hero-chip--top {
  top: 28px;
  right: 28px;
}

.location-template__hero-chip--bottom {
  left: 28px;
  bottom: 28px;
  background: linear-gradient(135deg, #ff6b38, #ff4d2e);
}

/* PROPOSAL */
.location-template__proposal {
  background: #fff;
}

.location-template__split {
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(520px,1.12fr);
  gap: 70px;
  align-items: start;
}

.location-template__proposal-copy {
  position: sticky;
  top: 125px;
}

.location-template__proposal-copy h2 {
  max-width: 650px;
}

.location-template__proposal-image {
  width: min(100%, 570px);
  max-height: 310px;
  margin-top: 30px;
  object-fit: contain;
  object-position: left center;
  border-radius: 24px;
}

.location-template__trust-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.location-template__trust-logo {
  width: auto;
  max-width: 170px;
  max-height: 56px;
  object-fit: contain;
}

.location-template__form-card {
  padding: 32px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(8,45,50,.08);
  box-shadow: 0 25px 75px rgba(30,71,84,.11);
}

.location-template__form-kicker {
  display: block;
  color: #6c8289;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.location-template__form-card > h3 {
  margin: 8px 0 24px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
}

/* FORMS */
.location-form {
  display: grid;
  gap: 18px;
}

.location-form label,
.location-form legend {
  display: grid;
  gap: 8px;
  color: #183c45;
  font-size: 14px;
  font-weight: 600;
}

.location-form input,
.location-form select,
.location-form textarea {
  width: 100%;
  border: 1px solid rgba(8,45,50,.14);
  border-radius: 14px;
  background: #fff;
  color: #183c45;
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.location-form input,
.location-form select {
  min-height: 54px;
  padding: 0 14px;
}

.location-form textarea {
  min-height: 128px;
  padding: 14px;
  resize: vertical;
}

.location-form input:focus,
.location-form select:focus,
.location-form textarea:focus {
  border-color: #4ab1ff;
  box-shadow: 0 0 0 4px rgba(74,177,255,.12);
}

.location-form__row {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
}

.location-form__step {
  display: none;
  gap: 18px;
}

.location-form__step.is-active {
  display: grid;
}

.location-form__step-head {
  display: grid;
  gap: 5px;
  margin-bottom: 2px;
}

.location-form__step-head span {
  color: #72858b;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
}

.location-form__step-head strong {
  color: var(--ink);
  font-size: 22px;
  line-height: 1.32;
}

.location-form__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.location-form__services {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  border: 0;
}

.location-form__services legend {
  grid-column: 1 / -1;
  margin-bottom: 3px;
}

.location-check {
  display: flex !important;
  align-items: flex-start;
  gap: 9px !important;
  min-height: 46px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(8,45,50,.10);
  color: #254a54 !important;
  font-weight: 500 !important;
}

.location-check input {
  width: 17px;
  height: 17px;
  min-height: 0;
  margin-top: 1px;
  padding: 0;
}

.location-form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.location-form__status {
  min-height: 20px;
  color: #62787f;
  font-size: 14px;
  line-height: 1.55;
}

.location-form__status a {
  color: #1462cf;
}

.location-form__status.is-error {
  color: #b93c28;
}

/* RESULTS */
.location-template__results {
  color: #fff;
  background:
    radial-gradient(circle at 8% 15%, rgba(74,177,255,.22), transparent 30%),
    radial-gradient(circle at 91% 87%, rgba(255,107,56,.20), transparent 28%),
    linear-gradient(135deg,#132936,#0b4146);
}

.location-template__section-head--light .location-template__eyebrow {
  color: #83ceff;
}

.location-template__section-head--light h2 {
  color: #fff;
}

.location-template__results-grid {
  display: grid;
  grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
  gap: 22px;
}

.location-template__metrics {
  display: grid;
  gap: 16px;
}

.location-template__metric,
.location-template__featured-quote {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(16px);
}

.location-template__metric {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.location-template__metric strong {
  color: #fff;
  font-size: 52px;
  line-height: 1;
  letter-spacing: -.04em;
  font-weight: 500;
}

.location-template__metric span {
  margin-top: 10px;
  color: rgba(255,255,255,.68);
  font-size: 15px;
}

.location-template__featured-quote {
  padding: 34px;
}

.location-template__review-stars {
  color: #ffb339;
  font-size: 15px;
  letter-spacing: 3px;
}

.location-template__featured-quote h3 {
  margin: 18px 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 1.24;
  font-weight: 400;
}

.location-template__featured-quote > p {
  margin: 18px 0 0;
  color: rgba(255,255,255,.76);
  font-size: 17px;
  line-height: 1.76;
}

.location-template__featured-quote-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
}

.location-template__featured-quote-footer strong {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.location-template__client-logo {
  width: auto;
  max-width: 140px;
  max-height: 44px;
  object-fit: contain;
}

/* REVIEWS */
.location-template__reviews {
  background: #f7f9fb;
}

.location-template__review-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.location-template__review-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(8,45,50,.08);
  box-shadow: 0 14px 40px rgba(29,69,82,.05);
}

.location-template__review-card h3 {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 23px;
  line-height: 1.3;
  font-weight: 500;
}

.location-template__review-quote {
  flex: 1;
  margin: 14px 0 0;
  color: #62777e;
  font-size: 15px;
  line-height: 1.72;
}

.location-template__review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(8,45,50,.08);
}

.location-template__avatar {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef3f5;
}

.location-template__review-person div {
  display: grid;
  gap: 3px;
}

.location-template__review-person strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.location-template__review-person span {
  color: #71848a;
  font-size: 12px;
}

/* RANK CTA */
.location-template__rank-cta {
  padding: 76px 0;
  background:
    radial-gradient(circle at 92% 12%,rgba(74,177,255,.25),transparent 32%),
    linear-gradient(135deg,#eef8ff,#fff4ed);
}

.location-template__rank-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 44px;
  align-items: center;
}

.location-template__rank-inner h2 {
  max-width: 930px;
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(34px,3.4vw,54px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 400;
}

.location-template__rank-inner p {
  margin: 12px 0 0;
  color: #5f747b;
  font-size: 16px;
}

/* SERVICES */
.location-template__services {
  background: #fff;
}

.location-template__service-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.location-template__service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 28px;
  overflow: hidden;
  border-radius: 24px;
  background: #f6f9fa;
  border: 1px solid rgba(8,45,50,.07);
}

.location-template__service-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  bottom: -80px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(74,177,255,.20),rgba(74,177,255,0));
}

.location-template__card-number {
  color: #8ca0a6;
  font-size: 13px;
  font-weight: 600;
}

.location-template__service-card h3 {
  margin: 34px 0 0;
  color: var(--ink);
  font-size: 25px;
  line-height: 1.25;
  font-weight: 500;
}

.location-template__service-card p {
  flex: 1;
  margin: 14px 0 0;
  color: #61777e;
  font-size: 15px;
  line-height: 1.72;
}

.location-template__service-card a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  color: #1462cf;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

/* AUDIT */
.location-template__audit-strip {
  padding: 76px 0;
  color: #fff;
  background:
    radial-gradient(circle at 10% 10%,rgba(74,177,255,.24),transparent 34%),
    linear-gradient(135deg,#1f3447,#193f49);
}

.location-template__audit-strip-inner {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 34px;
  align-items: center;
}

.location-template__audit-strip .location-template__eyebrow {
  color: #8ed3ff;
}

.location-template__audit-strip h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px,3.3vw,52px);
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 400;
}

.location-template__audit {
  background: #f7f9fb;
}

.location-template__audit-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(520px,1.1fr);
  gap: 70px;
  align-items: center;
}

.location-template__audit-copy > p {
  max-width: 620px;
  margin: 22px 0 0;
  color: #60767d;
  font-size: 17px;
  line-height: 1.75;
}

.location-template__audit-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.location-template__audit-points span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #28515d;
  background: #fff;
  border: 1px solid rgba(8,45,50,.08);
  font-size: 13px;
  font-weight: 500;
}

.location-template__form-card--compact {
  padding: 30px;
}

/* WHY ANTIBE */
.location-template__why {
  background: #fff;
}

.location-template__team-card {
  display: grid;
  grid-template-columns: minmax(380px,.9fr) minmax(0,1.1fr);
  gap: 0;
  overflow: hidden;
  margin-bottom: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 18%,rgba(74,177,255,.20),transparent 35%),
    linear-gradient(135deg,#0e2f3a,#123e47);
}

.location-template__team-media {
  min-height: 500px;
}

.location-template__team-image {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.location-template__team-copy {
  padding: 54px;
}

.location-template__team-copy .location-template__eyebrow {
  color: #8dd2ff;
}

.location-template__team-copy h3 {
  margin: 12px 0 0;
  color: #fff;
  font-size: clamp(34px,3vw,50px);
  line-height: 1.12;
  font-weight: 400;
}

.location-template__team-copy p {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.75;
}

.location-template__team-lead {
  margin-top: 20px;
  color: #fff !important;
  font-size: 19px !important;
  font-weight: 500;
}

.location-template__team-copy .location-template__ghost {
  margin-top: 22px;
  color: #fff !important;
  border-color: rgba(255,255,255,.20) !important;
  background: rgba(255,255,255,.08) !important;
}

.location-template__reason-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.location-template__reason-card {
  min-height: 300px;
  padding: 26px;
  border-radius: 22px;
  background: #f7f9fa;
  border: 1px solid rgba(8,45,50,.07);
}

.location-template__reason-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #1462cf;
  background: rgba(74,177,255,.12);
  font-size: 12px;
  font-weight: 700;
}

.location-template__reason-card h3 {
  margin: 26px 0 0;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 500;
}

.location-template__reason-card p {
  margin: 12px 0 0;
  color: #62777e;
  font-size: 15px;
  line-height: 1.7;
}

.location-template__trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 42px;
}

.location-template__trust-badge {
  display: grid;
  place-items: center;
  min-width: 180px;
  min-height: 90px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(8,45,50,.08);
}

.location-template__trust-badge img {
  width: auto;
  max-width: 210px;
  max-height: 70px;
  object-fit: contain;
}

/* AWARDS */
.location-template__awards {
  background:
    radial-gradient(circle at 92% 10%,rgba(255,107,56,.15),transparent 31%),
    linear-gradient(135deg,#f2f8fb,#fff8f3);
}

.location-template__award-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(380px,.75fr);
  gap: 70px;
  align-items: center;
}

.location-template__award-media {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
}

.location-template__award-image {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(8,45,50,.07);
}

/* FINAL FORM */
.location-template__final-form {
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%,rgba(74,177,255,.23),transparent 32%),
    radial-gradient(circle at 8% 88%,rgba(255,107,56,.18),transparent 30%),
    linear-gradient(135deg,#26384f,#163d45);
}

.location-template__final-form-grid {
  display: grid;
  grid-template-columns: minmax(0,.8fr) minmax(560px,1.2fr);
  gap: 74px;
  align-items: start;
}

.location-template__final-form .location-template__eyebrow {
  color: #8bd3ff;
}

.location-template__final-form h2 {
  color: #fff;
}

.location-template__final-form-copy > div {
  margin-top: 22px;
  color: rgba(255,255,255,.70);
}

.location-template__direct-link {
  display: inline-flex;
  margin-top: 24px;
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  text-underline-offset: 4px;
}

.location-template__form-card--dark {
  background: rgba(7,31,40,.58);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(2,16,24,.22);
  backdrop-filter: blur(18px);
}

.location-template__form-card--dark .location-form label,
.location-template__form-card--dark .location-form legend {
  color: #fff;
}

.location-template__form-card--dark .location-form__status {
  color: #cfe4eb;
}

/* RESPONSIVE */
@media (max-width:1120px) {
  .location-template__hero-grid,
  .location-template__split,
  .location-template__audit-grid,
  .location-template__award-grid,
  .location-template__final-form-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .location-template__hero-grid {
    padding-top: 145px;
  }

  .location-template__proposal-copy {
    position: static;
  }

  .location-template__hero-visual-inner {
    min-height: 420px;
  }

  .location-template__review-grid,
  .location-template__service-grid,
  .location-template__reason-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

  .location-template__section-head--split {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }

  .location-template__audit-strip-inner {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .location-template__team-card {
    grid-template-columns: 1fr;
  }

  .location-template__team-media,
  .location-template__team-image {
    min-height: 400px;
    max-height: 500px;
  }
}

@media (max-width:820px) {
  .location-template__shell {
    width: calc(100% - 40px);
  }

  .location-template__section {
    padding: 84px 0;
  }

  .location-template__hero-grid {
    gap: 38px;
  }

  .location-template__results-grid {
    grid-template-columns: 1fr;
  }

  .location-template__review-grid,
  .location-template__service-grid,
  .location-template__reason-grid {
    grid-template-columns: 1fr;
  }

  .location-template__review-card {
    min-height: auto;
  }
}

@media (max-width:620px) {
  .location-template__shell {
    width: calc(100% - 30px);
  }

  .location-template__hero {
    min-height: auto;
  }

  .location-template__hero-grid {
    padding: 120px 0 65px;
  }

  .location-template__hero-copy h1 {
    font-size: 11vw;
  }

  .location-template__hero-visual-inner {
    min-height: 300px;
    padding: 14px;
    border-radius: 26px;
  }

  .location-template__hero-chip {
    display: none;
  }

  .location-template__hero-actions,
  .location-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .location-template__hero-actions .btn,
  .location-form__actions .btn,
  .location-form > .btn {
    width: 100%;
    justify-content: center;
  }

  .location-template__form-card,
  .location-template__team-copy {
    padding: 21px;
  }

  .location-form__row,
  .location-form__services {
    grid-template-columns: 1fr;
  }

  .location-template__featured-quote-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-template__award-media {
    grid-template-columns: 1fr;
  }

  .location-template__trust-logos {
    gap: 14px;
  }

  .location-template__trust-logo {
    max-width: 135px;
    max-height: 46px;
  }
}


/* ==========================================================================
   ANTIBE V61 — LOCATION TEMPLATE REFINEMENT
   ========================================================================== */

/* HERO: smaller headline, featured image on left, form on right */
.location-template__hero {
  min-height: auto;
}

.location-template__hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(480px, .96fr);
  gap: 64px;
  align-items: start;
  padding-top: 140px;
}

.location-template__hero-copy h1 {
  max-width: 760px;
  font-size: clamp(46px, 4.25vw, 70px);
  line-height: 1.04;
}

.location-template__tagline {
  max-width: 680px;
  margin-top: 18px;
  color: #1462cf;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.35;
  font-weight: 500;
}

.location-template__featured-media {
  width: 100%;
  max-width: 700px;
  margin-top: 24px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 24px 60px rgba(26,74,94,.10);
  backdrop-filter: blur(14px);
}

.location-template__featured-image {
  width: 100%;
  max-height: 330px;
  display: block;
  object-fit: contain;
  border-radius: 18px;
}

.location-template__hero-description {
  max-width: 760px;
  margin-top: 24px;
}

.location-template__hero-description-body {
  position: relative;
  max-height: 7.25em;
  overflow: hidden;
  color: #5d737b;
  font-size: 17px;
  line-height: 1.8;
  transition: max-height .28s ease;
}

.location-template__hero-description-body::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 54px;
  background: linear-gradient(to bottom, rgba(248,251,252,0), rgba(248,251,252,.98));
  pointer-events: none;
  transition: opacity .18s ease;
}

.location-template__hero-description.is-expanded .location-template__hero-description-body {
  max-height: 2000px;
}

.location-template__hero-description.is-expanded .location-template__hero-description-body::after {
  opacity: 0;
}

.location-template__hero-description-body p {
  margin: 0 0 13px;
}

.location-template__read-more {
  margin-top: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #1462cf;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(74,177,255,.55);
  text-underline-offset: 4px;
}

.location-template__hero-form-card {
  position: sticky;
  top: 122px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: 0 30px 80px rgba(26,74,94,.14);
  backdrop-filter: blur(20px);
}

.location-template__hero-form-card > h3 {
  margin: 8px 0 24px;
  color: var(--ink);
  font-size: 29px;
  line-height: 1.22;
  font-weight: 400;
}

.location-template__hero-form-card .location-template__form-kicker {
  color: #6c8289;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Modern 3-column platform proof section */
.location-template__partner-proof {
  padding: 72px 0 84px;
  background:
    radial-gradient(circle at 10% 85%, rgba(74,177,255,.10), transparent 28%),
    linear-gradient(180deg, #fff, #f7fafc);
  border-top: 1px solid rgba(8,45,50,.05);
  border-bottom: 1px solid rgba(8,45,50,.06);
}

.location-template__partner-proof-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.location-template__partner-proof-head h2 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
  letter-spacing: -.035em;
  font-weight: 400;
}

.location-template__partner-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

.location-template__partner-card {
  min-height: 180px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(8,45,50,.07);
  box-shadow: 0 15px 45px rgba(27,68,82,.055);
}

.location-template__partner-logo {
  width: auto;
  max-width: 250px;
  max-height: 92px;
  object-fit: contain;
}

.location-template__partner-card span {
  color: #62777e;
  font-size: 13px;
  font-weight: 600;
}

/* Prominent audit CTA */
.location-template__audit-strip {
  min-height: 370px;
  display: grid;
  align-items: center;
  padding: 86px 0;
  text-align: center;
  background:
    radial-gradient(circle at 10% 25%,rgba(74,177,255,.26),transparent 31%),
    radial-gradient(circle at 90% 82%,rgba(255,107,56,.18),transparent 29%),
    linear-gradient(135deg,#24384e 0%,#173d47 52%,#18323f 100%);
}

.location-template__audit-strip-inner {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.location-template__audit-strip .location-template__eyebrow {
  color: #93d5ff;
}

.location-template__audit-strip h2 {
  max-width: 940px;
  color: #fff;
  font-size: clamp(42px,4vw,66px);
  line-height: 1.07;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.location-template__secure-note {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 13px;
  color: #667b82;
  background: #f7f9fa;
  border: 1px solid rgba(8,45,50,.07);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

/* Industry recognition becomes a centered dark visual section */
.location-template__awards {
  min-height: 700px;
  display: grid;
  align-items: center;
  padding: 110px 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 12% 12%,rgba(74,177,255,.24),transparent 31%),
    radial-gradient(circle at 88% 88%,rgba(255,107,56,.16),transparent 28%),
    linear-gradient(135deg,#26384f,#183d46);
}

.location-template__award-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-template__award-top-logo {
  width: min(760px, 100%);
  margin-bottom: 30px;
}

.location-template__award-trust-image {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.location-template__awards .location-template__eyebrow {
  color: #91d6ff;
}

.location-template__awards h2 {
  max-width: 980px;
  margin: 12px auto 0;
  color: #fff;
  font-size: clamp(40px,4vw,62px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 400;
  text-wrap: balance;
}

.location-template__award-text {
  max-width: 900px;
  margin-top: 22px;
}

.location-template__award-text p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 17px;
  line-height: 1.8;
}

.location-template__award-strip {
  width: min(1180px, 100%);
  margin-top: 42px;
  padding: 22px 26px;
  border-radius: 22px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.location-template__award-strip-image {
  width: 100%;
  max-height: 110px;
  object-fit: contain;
}

/* Founder-led final proposal section */
.location-template__founder {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.location-template__founder-image {
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 16px 35px rgba(0,0,0,.14);
}

.location-template__founder-meta {
  display: grid;
  gap: 4px;
}

.location-template__founder-meta strong {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.location-template__founder-meta span {
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

.location-template__founder-description {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.75;
}

.location-template__direct-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 22px;
}

.location-template__direct-contact .location-template__direct-link {
  margin-top: 0;
}

@media (max-width:1120px) {
  .location-template__hero-grid {
    grid-template-columns: 1fr;
  }

  .location-template__hero-form-card {
    position: static;
  }

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

@media (max-width:820px) {
  .location-template__partner-grid {
    grid-template-columns: 1fr;
  }

  .location-template__partner-card {
    min-height: 150px;
  }

  .location-template__audit-strip {
    min-height: 320px;
  }

  .location-template__awards {
    min-height: auto;
    padding: 86px 0;
  }
}

@media (max-width:620px) {
  .location-template__hero-copy h1 {
    font-size: 10vw;
  }

  .location-template__featured-media {
    padding: 10px;
    border-radius: 20px;
  }

  .location-template__featured-image {
    max-height: 240px;
  }

  .location-template__hero-form-card {
    padding: 21px;
  }

  .location-template__audit-strip h2,
  .location-template__awards h2 {
    font-size: 10vw;
  }

  .location-template__founder {
    align-items: flex-start;
  }

  .location-template__founder-image {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
  }

  .location-template__direct-contact {
    flex-direction: column;
    gap: 10px;
  }
}


/* ==========================================================================
   ANTIBE V62 — LOCATION LAYOUT FIXES
   ========================================================================== */

/* The header is now structurally inside the hero, like the other custom pages. */
.location-template__hero {
  position: relative;
  overflow: hidden;
}

.location-template__hero > .site-header {
  position: relative;
  z-index: 20;
  background: transparent;
}

/* Header now consumes its normal space inside the hero, so the hero content
   no longer needs the large artificial top offset used in V61. */
.location-template__hero-grid {
  padding-top: 34px;
  padding-bottom: 94px;
}

/* Featured image: edge-to-edge media, no inner padding. */
.location-template__featured-media {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.location-template__featured-image {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* Remove the white fade/shadow from the collapsed hero copy. */
.location-template__hero-description-body::after {
  content: none !important;
  display: none !important;
}

/* Industry recognition now starts directly with eyebrow + headline. */
.location-template__award-top-logo {
  display: none !important;
}

/* Horizontal overflow guard for location pages. */
html {
  max-width: 100%;
  overflow-x: clip;
}

body.location-seo-page {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.location-template,
.location-template__hero,
.location-template__shell,
.location-template__hero-grid,
.location-template__partner-proof,
.location-template__partner-grid,
.location-template__results-grid,
.location-template__review-grid,
.location-template__service-grid,
.location-template__audit-grid,
.location-template__reason-grid,
.location-template__award-inner,
.location-template__final-form-grid {
  min-width: 0;
  max-width: 100%;
}

.location-template img,
.location-template video,
.location-template iframe,
.location-template svg {
  max-width: 100%;
}

@media (max-width: 1120px) {
  .location-template__hero-grid {
    padding-top: 24px;
  }
}

@media (max-width: 620px) {
  .location-template__hero-grid {
    padding-top: 18px;
    padding-bottom: 64px;
  }

  .location-template__featured-media {
    aspect-ratio: 4 / 3;
  }
}
