/**
 * EN AI / location home — scoped under .zc-ai-location-home.
 * Port of Repo C frontend/styles/ai-location-home.css (CI EN parity).
 */

.zc-ai-location-home {
  font-family: var(--zc-font-body, "Poppins", sans-serif);
  color: #2b2b2b;
}

.zc-ai-location-home .ai-location-section {
  background: #f7fafc;
  padding: 3rem 0;
}

.zc-ai-location-home .ai-location-section__inner,
.zc-ai-location-home .ai-location-home-hero__inner {
  max-width: 1200px;
  width: calc(100% - 40px);
  margin-left: auto;
  margin-right: auto;
}

.zc-ai-location-home .ai-location-section__inner {
  max-width: 1140px;
}

.zc-ai-location-home .ai-location-intro {
  max-width: 920px;
  margin: 0 auto 28px;
  color: #2b2b2b;
  font-size: 18px;
  line-height: 1.75;
}

.zc-ai-location-home .ai-location-intro p:last-child {
  margin-bottom: 0;
}

.zc-ai-location-home .ai-location-intro a {
  color: #1aa7ff;
  font-weight: 700;
  text-decoration: none;
}

.zc-ai-location-home .ai-location-intro a:hover {
  color: #45b8ff;
  text-decoration: underline;
}

.zc-ai-location-home .ai-location-content {
  max-width: 980px;
  margin: 0 auto;
  color: #2b2b2b;
  font-size: 17px;
  line-height: 1.75;
}

.zc-ai-location-home .ai-location-content > *:first-child {
  margin-top: 0;
}

.zc-ai-location-home .ai-location-content :is(h2, h3, h4) {
  color: #1aa7ff;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
}

.zc-ai-location-home .ai-location-content h2 {
  position: relative;
  margin: 46px 0 18px;
  padding-bottom: 12px;
  font-size: 30px;
}

.zc-ai-location-home .ai-location-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 76px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #45b8ff, #1aa7ff);
}

.zc-ai-location-home .ai-location-content h3 {
  margin: 32px 0 12px;
  font-size: 23px;
}

.zc-ai-location-home .ai-location-content h4 {
  margin: 26px 0 10px;
  font-size: 19px;
}

.zc-ai-location-home .ai-location-content p {
  margin: 0 0 18px;
}

.zc-ai-location-home .ai-location-content strong {
  color: #1aa7ff;
  font-weight: 700;
}

.zc-ai-location-home .ai-location-content a {
  color: #1aa7ff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: #45b8ff;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.zc-ai-location-home .ai-location-content ul,
.zc-ai-location-home .ai-location-content ol {
  margin: 20px 0 28px;
  padding-left: 0;
  list-style: none;
}

.zc-ai-location-home .ai-location-content li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 34px;
}

.zc-ai-location-home .ai-location-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #45b8ff 0%, #1aa7ff 100%);
  box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px rgba(26, 167, 255, 0.35);
}

.zc-ai-location-home .ai-location-content ol {
  counter-reset: ai-list;
}

.zc-ai-location-home .ai-location-content ol li {
  counter-increment: ai-list;
}

.zc-ai-location-home .ai-location-content ol li::before {
  content: counter(ai-list);
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffeb38 0%, #ffc738 100%);
  color: #111;
  font-size: 13px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

.zc-ai-location-home .ai-location-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.zc-ai-location-home .ai-inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 36px 0;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(26, 167, 255, 0.22);
  box-shadow: 0 14px 36px rgba(26, 167, 255, 0.12);
}

.zc-ai-location-home .ai-inline-cta strong {
  display: block;
  color: #111;
  font-size: 18px;
  margin-bottom: 4px;
}

.zc-ai-location-home .ai-inline-cta span {
  color: #555;
  font-size: 15px;
}

.zc-ai-location-home .custombluebtn,
.zc-ai-location-home .ai-compact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(180deg, #45b8ff 0%, #1aa7ff 100%);
  color: #fff !important;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(26, 167, 255, 0.28);
  white-space: nowrap;
}

.zc-ai-location-home .custombluebtn:hover,
.zc-ai-location-home .ai-compact-cta:hover {
  filter: brightness(1.05);
  color: #fff !important;
}

.zc-ai-location-home .ai-bottom-cta {
  text-align: center;
  padding: 2.5rem 1.25rem;
  background: #fff;
}

.zc-ai-location-home .ai-bottom-cta h2 {
  margin: 0;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  color: #111;
}

.zc-ai-location-home .ai-bottom-cta p {
  margin: 0.65rem auto 1.1rem;
  max-width: 36rem;
  color: #444;
}

.zc-ai-location-home .ai-location-home-hero {
  background: #ffffff;
  padding: 96px 0 58px;
  position: relative;
  overflow: hidden;
}

.zc-ai-location-home .ai-location-home-hero__map {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.zc-ai-location-home .ai-location-home-hero__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.25) contrast(1.05) brightness(1.03);
  opacity: 0.58;
  transform: scale(1.04);
}

.zc-ai-location-home .ai-location-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.86) 0%,
      rgba(255, 255, 255, 0.76) 50%,
      rgba(255, 255, 255, 0.62) 100%
    ),
    linear-gradient(135deg, rgba(26, 167, 255, 0.08), rgba(255, 235, 56, 0.1));
  pointer-events: none;
}

.zc-ai-location-home .ai-location-home-hero__inner {
  position: relative;
  z-index: 2;
}

.zc-ai-location-home .ai-location-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 26px;
  align-items: center;
}

.zc-ai-location-home .ai-location-home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #1aa7ff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(26, 167, 255, 0.16);
  margin-bottom: 18px;
}

.zc-ai-location-home .ai-location-home-hero h1 {
  color: #111111;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: 42px;
  line-height: 1.17;
  font-weight: 800;
  margin: 0 0 16px;
}

.zc-ai-location-home .ai-location-home-hero h1 span {
  color: #1aa7ff;
}

.zc-ai-location-home .ai-location-home-hero__lead {
  color: #222222;
  font-size: 18px;
  line-height: 1.5;
  max-width: 680px;
  margin: 0 0 18px;
}

.zc-ai-location-home .ai-location-home-hero__form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  max-width: 720px;
  padding: 10px;
  background: #fff;
  border: 1px solid rgba(26, 167, 255, 0.22);
  box-shadow: 0 18px 42px rgba(26, 167, 255, 0.16);
}

.zc-ai-location-home .ai-location-home-hero__select {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  border: 0;
  box-shadow: none !important;
  color: #222222;
  font-size: 16px;
  font-family: var(--zc-font-body, "Poppins", sans-serif);
  background: #fff;
  padding: 0 10px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.25rem;
  cursor: pointer;
}

.zc-ai-location-home .ai-location-home-hero__form .customyellowbtn {
  width: auto;
  min-width: 150px;
  padding: 0 26px;
  white-space: nowrap;
  min-height: 50px;
  border: 2px solid #ffeb38;
  border-radius: 8px;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #000;
  cursor: pointer;
  background: linear-gradient(180deg, #ffeb38, #ffc738);
}

.zc-ai-location-home .ai-location-home-hero__form .customyellowbtn:hover {
  opacity: 0.92;
}

.zc-ai-location-home .ai-location-home-hero__quote {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.zc-ai-location-home .ai-location-home-hero__quote i {
  color: #ffc738;
  font-size: 13px;
  margin-right: 5px;
}

.zc-ai-location-home .ai-location-home-hero__panel {
  background: #fff;
  border: 1px solid rgba(26, 167, 255, 0.2);
  box-shadow: 0 22px 54px rgba(26, 167, 255, 0.16);
  padding: 22px;
}

.zc-ai-location-home .ai-location-home-hero__location span,
.zc-ai-location-home .ai-location-home-hero__location small,
.zc-ai-location-home .ai-location-home-hero__stats span {
  display: block;
  color: #555555;
  font-size: 14px;
  line-height: 1.4;
}

.zc-ai-location-home .ai-location-home-hero__location strong {
  display: block;
  color: #1aa7ff;
  font-size: 32px;
  line-height: 1.2;
  margin: 4px 0;
}

.zc-ai-location-home .ai-location-home-hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
}

.zc-ai-location-home .ai-location-home-hero__stats div {
  background: rgba(26, 167, 255, 0.08);
  border: 1px solid rgba(26, 167, 255, 0.18);
  padding: 14px;
}

.zc-ai-location-home .ai-location-home-hero__stats strong {
  display: block;
  color: #1aa7ff;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 5px;
}

.zc-ai-location-home .zuri-services-section {
  background-color: #f1f7ff;
  padding: 80px 20px;
  text-align: center;
}

.zc-ai-location-home .zuri-services-container {
  margin: 0 auto;
  max-width: 1125px;
}

.zc-ai-location-home .zuri-services-title {
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin: 0 0 20px;
}

.zc-ai-location-home .zuri-services-subtitle {
  font-family: var(--zc-font-body, "Poppins", sans-serif);
  font-size: 22px;
  font-weight: 300;
  line-height: 1.8;
  color: #000;
  margin: 0 auto 60px;
  text-align: start;
  max-width: 920px;
}

.zc-ai-location-home .zuri-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  column-gap: 30px;
  row-gap: 48px;
  justify-items: center;
}

.zc-ai-location-home .zuri-service-card-link {
  display: block;
  width: 100%;
  max-width: 340px;
  text-decoration: none;
  color: inherit;
}

.zc-ai-location-home .zuri-service-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(26, 167, 255, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.2s ease;
}

.zc-ai-location-home .zuri-service-card:hover {
  transform: translateY(-4px);
}

.zc-ai-location-home .zuri-service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.zc-ai-location-home .zuri-card-content {
  padding: 18px 18px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.zc-ai-location-home .zuri-card-content h3 {
  margin: 0 0 10px;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: 1.15rem;
  color: #111;
}

.zc-ai-location-home .zuri-card-content p {
  margin: 0 0 14px;
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #444;
}

.zc-ai-location-home .zuri-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, #45b8ff, #1aa7ff);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}

.zc-ai-location-home .cleancard-faq-section {
  background: #fff;
  padding: 3rem 1.25rem 4rem;
}

.zc-ai-location-home .faqs-title {
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  color: #111;
}

.zc-ai-location-home .faq-column {
  max-width: 820px;
  margin: 0 auto;
}

.zc-ai-location-home .faq-item {
  border-bottom: 1px solid #e1edf4;
}

.zc-ai-location-home .faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--zc-font-heading, "Inter", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  cursor: pointer;
}

.zc-ai-location-home .faq-question .faq-icon {
  color: #1aa7ff;
  transition: transform 0.2s ease;
}

.zc-ai-location-home .faq-question.active .faq-icon {
  transform: rotate(45deg);
}

.zc-ai-location-home .faq-answer {
  display: none;
  padding: 0 0 1rem;
  color: #444;
  line-height: 1.6;
}

.zc-ai-location-home .faq-answer.is-open {
  display: block;
}

.zc-legacy-nearby,
.zc-canton-directory .zc-legacy-nearby__chips,
.zc-legacy-service-location .zc-legacy-nearby {
  padding: 2.5rem 0;
}

.zc-legacy-nearby__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.25rem 0;
}

.zc-legacy-nearby h2,
.zc-canton-directory-hero h1 {
  font-family: var(--zc-font-heading, "Inter", sans-serif);
}

.zc-canton-directory-hero,
.zc-legacy-hero {
  padding: 4rem 0 3rem;
  background: linear-gradient(135deg, #f7fbff 0%, #eaf6ff 100%);
}

@media (max-width: 991px) {
  .zc-ai-location-home .ai-location-home-hero {
    padding: 92px 0 58px;
  }

  .zc-ai-location-home .ai-location-home-hero__grid {
    grid-template-columns: 1fr;
  }

  .zc-ai-location-home .ai-inline-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .zc-ai-location-home .zuri-services-title {
    font-size: 32px;
  }

  .zc-ai-location-home .zuri-services-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .zc-ai-location-home .ai-location-home-hero {
    padding: 72px 0 44px;
  }

  .zc-ai-location-home .ai-location-home-hero__inner,
  .zc-ai-location-home .ai-location-section__inner {
    width: calc(100% - 24px);
  }

  .zc-ai-location-home .ai-location-home-hero h1 {
    font-size: 32px;
  }

  .zc-ai-location-home .ai-location-home-hero__lead {
    font-size: 16px;
  }

  .zc-ai-location-home .ai-location-home-hero__form {
    display: grid;
    gap: 10px;
  }

  .zc-ai-location-home .ai-location-home-hero__form .customyellowbtn {
    width: 100%;
    min-width: 0;
  }

  .zc-ai-location-home .ai-location-home-hero__location strong {
    font-size: 26px;
  }
}
