/* Homepage UI/UX redesign — scoped to body.home so inner pages stay unchanged. */

.home .wrap {
  width: min(calc(100% - 2rem), 1240px);
}

.home .section {
  padding: 3rem 0;
}

.home .section h2 {
  font-size: clamp(1.85rem, 4vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.home .lead {
  max-width: 42rem;
  font-size: 1.08rem;
}

/* ---------- Hero ---------- */
.home .hero {
  padding: 2.4rem 0 1.4rem;
  background:
    radial-gradient(circle at 86% 8%, rgba(0, 107, 94, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.home .home-hero-grid {
  display: grid;
  gap: 1.6rem;
}

.home .home-hero-copy h1 {
  font-size: clamp(2.2rem, 6vw, 3.7rem);
  line-height: 1.05;
  max-width: 16ch;
  margin: 0.4rem 0 1rem;
}

.home .home-hero-copy p {
  font-size: 1.05rem;
  max-width: 38.5rem;
  margin: 0 0 0.75rem;
}

.home .hero-phone {
  font-size: 1.28rem;
  padding: 0.15rem 0;
}

.home .hero-phone::before {
  content: "";
  width: 22px;
  height: 22px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.3 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home .home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.home .home-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.62rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  box-shadow: 0 6px 18px rgba(31, 39, 45, 0.05);
}

.home .home-chips .chip-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--color-teal-tint);
  color: var(--color-primary);
  flex: 0 0 28px;
}

.home .home-chips li:nth-child(2) .chip-icon {
  background: #fff4ec;
  color: var(--color-orange-cta);
}

.home .home-chips li:nth-child(3) .chip-icon {
  background: #eaf6ea;
  color: var(--color-green);
}

.home .home-hero-aside {
  display: grid;
  gap: 0;
}

.home .hero-visual {
  position: relative;
  aspect-ratio: 3 / 2;
  height: auto;
  min-height: 220px;
  border-radius: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0, 107, 94, 0.06), transparent 40%),
    #ffffff;
  box-shadow: 0 18px 40px rgba(31, 39, 45, 0.12);
  border: 1px solid var(--border);
}

.home .hero-visual picture,
.home .visual-card .visual-media picture,
.home .heavy-visual picture {
  position: absolute;
  inset: 0;
  display: block;
}

.home .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 46%;
}

.home .form-compact {
  position: relative;
  z-index: 2;
  margin-top: 0.85rem;
  padding: 1rem 1.15rem 1.1rem;
  border-radius: 20px;
  gap: 0.48rem;
}

.home .form-compact h2 {
  font-size: 1.22rem;
  margin: 0;
}

.home .form-compact > p {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.home .form-compact label {
  font-size: 0.8rem;
  gap: 0.22rem;
}

.home .form-compact input,
.home .form-compact textarea {
  padding: 0.62rem 0.75rem;
  border-radius: 12px;
}

.home .form-compact textarea {
  min-height: 72px;
}

.home .form-compact button[type="submit"] {
  width: 100%;
  margin-top: 0.15rem;
}

.home .photo-disabled {
  opacity: 0.72;
}

.home .form-compact input[type="file"]:disabled {
  background: var(--color-light);
  cursor: not-allowed;
}

/* ---------- Trust strip ---------- */
.home .trust {
  background: #ffffff;
  padding: 0.4rem 0 1.6rem;
}

.home .home-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  padding: 0;
  margin-block: 0;
  margin-inline: auto;
  list-style: none;
}

.home .home-trust li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--color-light);
  border: 1px solid transparent;
  border-radius: 16px;
  padding: 0.85rem 0.9rem;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--navy);
  box-shadow: none;
}

.home .home-trust li::before {
  display: none;
}

.home .trust-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  background: var(--color-teal-tint);
  color: var(--color-primary);
}

.home .home-trust li:nth-child(2) .trust-icon,
.home .home-trust li:nth-child(5) .trust-icon {
  background: #eaf6ea;
  color: var(--color-green);
}

.home .home-trust li:nth-child(3) .trust-icon,
.home .home-trust li:nth-child(6) .trust-icon {
  background: #fff4ec;
  color: var(--color-orange-cta);
}

/* ---------- Services discovery ---------- */
.home .section-services {
  background: #f7f7f7;
}

.home .service-tiles {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.home .service-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.9rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 22px rgba(31, 39, 45, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home .service-tile:hover,
.home .service-tile:focus-visible {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.home .service-tile h3 {
  margin: 0 0 0.2rem;
  font-size: 1.12rem;
}

.home .service-tile p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.home .service-tile .card-icon {
  margin-bottom: 0;
}

.home .service-tile .tile-arrow {
  color: var(--color-orange-cta);
  font-size: 1.2rem;
  font-weight: 800;
}

.home .seo-keep {
  max-width: none;
  margin: 1.4rem 0 1.1rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
}

.home .seo-keep-title {
  margin: 0 0 0.75rem;
  font-size: 1.12rem;
}

.home .seo-keep p {
  margin: 0 0 0.7rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.home .seo-keep p:last-child {
  margin-bottom: 0;
}

@media (min-width: 980px) {
  .home .seo-keep {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1.6rem;
  }

  .home .seo-keep-title {
    grid-column: 1 / -1;
  }
}

.home .featured-split {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.home .visual-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(31, 39, 45, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .visual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.home .visual-card .visual-media {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 200px;
  background: var(--color-teal-tint);
  overflow: hidden;
}

.home .visual-card .visual-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.home .visual-media--home img {
  object-position: 50% 42%;
}

.home .visual-media--office img {
  object-position: 50% 38%;
}

.home .visual-card:hover .visual-media img {
  transform: scale(1.02);
}

.home .visual-card .visual-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.2rem 1.25rem 1.3rem;
  flex: 1;
}

.home .visual-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

.home .visual-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.home .compact-list {
  margin: 0.2rem 0 0.7rem;
  padding: 0;
  list-style: none;
}

.home .compact-list li {
  position: relative;
  padding: 0.18rem 0 0.18rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.home .compact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--color-primary);
}

.home .also-line {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 0.85rem;
}

/* ---------- How it works ---------- */
.home .section-process {
  background: #ffffff;
}

.home .steps {
  gap: 1rem;
}

.home .step {
  border-radius: 16px;
  border: 1px solid var(--border);
  border-left: 4px solid var(--color-orange);
}

/* ---------- Pricing ---------- */
.home .section-pricing {
  background: var(--color-teal-tint);
}

.home .pricing-top {
  display: grid;
  gap: 1.4rem;
  align-items: stretch;
}

.home .quote-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 106, 0, 0.22), transparent 32%),
    linear-gradient(160deg, #005248 0%, #1f272d 72%);
  color: #ffffff;
  border: 0;
  border-radius: 24px;
  padding: 1.55rem 1.45rem 1.6rem;
  box-shadow: 0 18px 36px rgba(31, 39, 45, 0.22);
}

.home .quote-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.home .quote-panel h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  color: #ffffff;
}

.home .quote-panel p {
  margin: 0 0 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}

.home .quote-panel .btn {
  width: 100%;
  justify-content: center;
}

.home .quote-call {
  margin-top: 0.85rem;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.home .quote-call:hover,
.home .quote-call:focus-visible {
  color: #ffd7b8;
}

.home .factor-grid {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.home .factor-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 107, 94, 0.1);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.3rem;
  box-shadow: 0 8px 20px rgba(31, 39, 45, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .factor-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.home .factor-mark {
  position: absolute;
  right: -8%;
  bottom: -20%;
  width: 52%;
  height: 68%;
  object-fit: cover;
  opacity: 0.1;
  filter: grayscale(0.2) saturate(0.7);
  pointer-events: none;
  z-index: 0;
}

.home .factor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, #ffffff 0 46%, rgba(255, 255, 255, 0.82) 64%, rgba(255, 255, 255, 0.28) 100%);
  pointer-events: none;
  z-index: 0;
}

.home .factor-card > *:not(.factor-mark) {
  position: relative;
  z-index: 1;
}

.home .factor-card h3 {
  margin: 0.55rem 0 0.35rem;
  font-size: 1.12rem;
}

.home .factor-card p {
  margin: 0;
  font-size: 0.95rem;
  max-width: 28ch;
}

.home .pricing-banner {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.6rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 107, 94, 0.12);
  border-radius: 18px;
  padding: 1.2rem 1.25rem;
}

.home .pricing-banner strong {
  display: block;
  font-size: 1.2rem;
  color: var(--navy);
}

/* ---------- What we remove ---------- */
.home .section-remove {
  background: #ffffff;
}

.home .category-grid {
  display: grid;
  gap: 1rem;
  margin: 1.4rem 0 1.2rem;
}

.home .category-card {
  background: #f7f7f7;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem 1.2rem 1.15rem;
  box-shadow: 0 8px 20px rgba(31, 39, 45, 0.04);
}

.home .category-card h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.7rem;
  font-size: 1.18rem;
}

.home .category-card ul {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.home .category-card li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.18rem 0;
  color: var(--text);
  font-weight: 600;
}

.home .category-card li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  background: var(--color-green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home .view-all-link {
  font-weight: 800;
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.92rem;
}

.home .view-all-link:hover {
  color: var(--color-orange-cta);
}

/* ---------- Locations ---------- */
.home .section-locations {
  background: var(--color-charcoal);
}

.home .section-locations h2,
.home .section-locations .lead {
  color: #ffffff;
}

.home .section-locations .lead {
  color: var(--color-footer-muted);
}

.home .section-locations h2::after {
  background: var(--color-orange);
}

.home .place-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.home .place-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 188px;
  overflow: hidden;
  border-radius: 18px;
  padding: 1rem 1.05rem 1.05rem;
  text-decoration: none;
  color: #ffffff;
  isolation: isolate;
}

.home .place-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(160deg, #1f272d, #005248);
  transition: transform 0.3s ease;
}

.home .place-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(31, 39, 45, 0.12), rgba(15, 20, 24, 0.72));
  transition: background 0.3s ease;
}

.home .place-card:hover,
.home .place-card:focus-visible {
  transform: translateY(-4px);
}

.home .place-card:hover::before,
.home .place-card:focus-visible::before {
  transform: scale(1.05);
}

.home .place-card:hover::after {
  background: linear-gradient(180deg, rgba(31, 39, 45, 0.08), rgba(0, 82, 72, 0.7));
}

.home .place-card strong {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.home .place-card small {
  display: block;
  margin-top: 0.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.82);
}

.home .place-card .place-arrow {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: var(--color-orange);
  font-size: 1.2rem;
  font-weight: 800;
}

.home .place-card.has-photo::after {
  background: linear-gradient(180deg, rgba(15, 20, 24, 0.18), rgba(15, 20, 24, 0.78));
}

.home .place-card.has-photo:hover::after {
  background: linear-gradient(180deg, rgba(15, 20, 24, 0.08), rgba(0, 82, 72, 0.62));
}

/* Photo cities use landmark images. East York and North York stay on gradients until matching photos exist. */
.home .place-toronto {
  --place-img: url("../images/locations/toronto.jpg");
  --place-img-webp: url("../images/locations/toronto.webp");
}
.home .place-scarborough {
  --place-img: url("../images/locations/scarborough.jpg");
  --place-img-webp: url("../images/locations/scarborough.webp");
}
.home .place-etobicoke {
  --place-img: url("../images/locations/etobicoke.jpg");
  --place-img-webp: url("../images/locations/etobicoke.webp");
}
.home .place-markham {
  --place-img: url("../images/locations/markham.jpg");
  --place-img-webp: url("../images/locations/markham.webp");
}
.home .place-mississauga {
  --place-img: url("../images/locations/mississauga.jpg");
  --place-img-webp: url("../images/locations/mississauga.webp");
}
.home .place-vaughan {
  --place-img: url("../images/locations/vaughan.jpg");
  --place-img-webp: url("../images/locations/vaughan.webp");
}
.home .place-brampton {
  --place-img: url("../images/locations/brampton.jpg");
  --place-img-webp: url("../images/locations/brampton.webp");
}
.home .place-richmond-hill {
  --place-img: url("../images/locations/richmond-hill.jpg");
  --place-img-webp: url("../images/locations/richmond-hill.webp");
}

.home .place-card.has-photo::before {
  background-color: #1f272d;
  background-image: var(--place-img);
  background-image: image-set(var(--place-img-webp) type("image/webp"), var(--place-img) type("image/jpeg"));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* replace with images/locations/east-york.jpg when available */
.home .place-east-york::before {
  background-color: var(--color-charcoal);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"),
    linear-gradient(165deg, var(--color-primary) 0%, var(--color-charcoal) 100%);
  background-position: right 14px top 12px, center;
  background-size: 72px 72px, cover;
  background-repeat: no-repeat;
}

/* replace with images/locations/north-york.jpg when available */
.home .place-north-york::before {
  background-color: var(--color-charcoal);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"),
    linear-gradient(165deg, #16332f 0%, var(--color-primary) 48%, var(--color-charcoal) 100%);
  background-position: right 14px top 12px, center;
  background-size: 72px 72px, cover;
  background-repeat: no-repeat;
}

.home .locations-link {
  display: inline-block;
  margin-top: 1.1rem;
  color: #ffffff;
  font-weight: 800;
}

.home .locations-link:hover {
  color: var(--color-orange);
}

/* ---------- City comparison ---------- */
.home .section-compare {
  background: #f7f7f7;
}

.home .compare-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.3rem;
}

.home .compare-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.3rem 1.25rem 1.35rem;
}

.home .compare-panel h3 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
}

.home .compare-panel.is-featured {
  background: #e7f3f0;
  border: 1.5px solid rgba(0, 107, 94, 0.35);
  box-shadow: 0 16px 34px rgba(31, 39, 45, 0.1);
  transform: translateY(-2px);
}

.home .compare-note {
  margin-top: 1.1rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Heavy items ---------- */
.home .section-heavy {
  background: #ffffff;
}

.home .heavy-split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.home .heavy-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-teal-tint);
  box-shadow: var(--shadow);
}

.home .heavy-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 48%;
}

.home .item-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.1rem;
  padding: 0;
  list-style: none;
}

.home .item-pills li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f7f7f7;
  border-radius: 14px;
  padding: 0.7rem 0.8rem;
  font-weight: 800;
  font-size: 0.92rem;
}

.home .trust-note {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Situations ---------- */
.home .section-space {
  background: var(--color-teal-tint);
}

.home .story-grid {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.4rem;
}

.home .story-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0, 107, 94, 0.1);
  border-radius: 22px;
  padding: 1.3rem 1.2rem 1.35rem;
  box-shadow: 0 10px 24px rgba(31, 39, 45, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home .story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.home .story-mark {
  position: absolute;
  right: -8%;
  bottom: -24%;
  width: 48%;
  height: 64%;
  object-fit: cover;
  opacity: 0.1;
  filter: grayscale(0.15) saturate(0.75);
  pointer-events: none;
  z-index: 0;
}

.home .story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #ffffff 0 50%, rgba(255, 255, 255, 0.8) 68%, rgba(255, 255, 255, 0.25) 100%);
  pointer-events: none;
  z-index: 0;
}

.home .story-card > *:not(.story-mark) {
  position: relative;
  z-index: 1;
}

.home .story-card.is-featured {
  background:
    linear-gradient(180deg, rgba(0, 107, 94, 0.12), transparent 46%),
    #ffffff;
  border-color: rgba(0, 107, 94, 0.2);
}

.home .story-num {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-orange-cta);
}

.home .story-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  box-shadow: 0 8px 18px rgba(0, 107, 94, 0.12);
}

.home .story-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.28rem;
}

.home .story-card p {
  margin: 0;
  max-width: 28ch;
}

/* ---------- Same-day urgency ---------- */
.home .section-today {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 106, 0, 0.16), transparent 26%),
    linear-gradient(135deg, #005248 0%, #1f272d 58%, #16332f 100%);
  color: #ffffff;
}

.home .section-today::before {
  content: "";
  position: absolute;
  right: -40px;
  top: 20px;
  width: 220px;
  height: 220px;
  border: 18px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.home .section-today h2,
.home .section-today p,
.home .section-today li {
  color: #ffffff;
}

.home .section-today .lead,
.home .section-today p {
  color: rgba(255, 255, 255, 0.86);
}

.home .today-actions {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0 1rem;
}

.home .today-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.home .today-actions a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.home .today-badge {
  display: inline-flex;
  margin-top: 0.6rem;
  background: rgba(60, 158, 58, 0.18);
  border: 1px solid rgba(60, 158, 58, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home .today-list {
  columns: 1;
  margin: 0.8rem 0 1.1rem;
}

/* ---------- Why choose / new service ---------- */
.home .section-why {
  background: #ffffff;
}

.home .why-grid {
  display: grid;
  gap: 0.85rem;
}

.home .why-card {
  background: #f7f7f7;
  border: 0;
  border-radius: 18px;
  padding: 1.1rem 1.1rem 1.15rem;
}

.home .why-card:hover {
  border-color: transparent;
}

.home .section-simple {
  background:
    radial-gradient(circle at 12% 18%, rgba(0, 107, 94, 0.1), transparent 28%),
    linear-gradient(180deg, #f4faf8 0%, #ffffff 100%);
}

.home .simple-panel {
  display: grid;
  gap: 1.4rem;
  max-width: none;
  padding: 1.6rem 1.4rem;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(0, 107, 94, 0.1);
  box-shadow: 0 18px 40px rgba(31, 39, 45, 0.06);
}

.home .simple-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-orange-cta);
}

.home .simple-copy h2 {
  margin-top: 0;
}

.home .simple-idea {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 0 0 0.9rem;
}

.home .simple-points {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home .simple-points li {
  display: flex;
  align-items: center;
  min-height: 4.4rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: var(--color-teal-tint);
  font-size: 1.02rem;
  color: var(--navy);
}

.home .simple-points strong {
  font-weight: 800;
}

.home .brand-lockup {
  display: block;
  width: min(100%, 520px);
  height: auto;
  margin: 0 0 1.4rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(31, 39, 45, 0.06);
}

/* ---------- FAQ ---------- */
.home .section-faq {
  background: #ffffff;
}

.home .faq-wrap {
  max-width: 900px;
}

.home .faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 0.75rem;
  overflow: hidden;
}

.home .faq-item.is-open {
  background: var(--color-teal-tint);
  box-shadow: inset 4px 0 0 var(--color-orange);
}

.home .faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: transparent;
  border: 0;
  padding: 1.05rem 1.1rem;
  min-height: 44px;
  text-align: left;
  font: inherit;
  font-weight: 800;
  color: var(--navy);
  cursor: pointer;
}

.home .faq-trigger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.home .faq-chevron {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  color: var(--color-primary);
  transition: transform 0.22s ease;
}

.home .faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.home .faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.home .faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.home .faq-panel-inner {
  overflow: hidden;
}

.home .faq-panel p {
  margin: 0;
  padding: 0 1.1rem 1.05rem;
  color: var(--text-muted);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.home .faq-item.is-open .faq-panel p {
  opacity: 1;
}

.home .faq-item h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.home .category-card .card-icon,
.home .compare-panel h3 .card-icon {
  width: 34px;
  height: 34px;
  margin: 0;
}

.home .place-card {
  transition: transform 0.2s ease;
}

.home .section-today .btn-line.ink {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
}

.home .section-today .btn-line.ink:hover,
.home .section-today .btn-line.ink:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.home .section-today .hero-actions,
.home .section-today p .btn {
  margin-right: 0.5rem;
}

/* ---------- Final CTA ---------- */
.home .final-cta {
  background:
    radial-gradient(circle at 12% 80%, rgba(0, 107, 94, 0.35), transparent 28%),
    var(--color-charcoal);
}

@media (min-width: 700px) {
  .home .home-trust {
    grid-template-columns: repeat(3, 1fr);
  }

  .home .service-tiles {
    grid-template-columns: 1fr 1fr;
  }

  .home .featured-split,
  .home .pricing-top,
  .home .compare-grid,
  .home .heavy-split {
    grid-template-columns: 1fr 1fr;
  }

  .home .factor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .home .category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home .place-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home .story-card.is-featured {
    grid-column: span 1;
  }

  .home .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home .today-actions {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .home .today-list {
    columns: 2;
  }

  .home .simple-panel {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 2rem 2.1rem;
  }
}

@media (min-width: 980px) {
  .home .section {
    padding: 5.25rem 0;
  }

  .home .hero {
    padding: 2.6rem 0 1.8rem;
  }

  .home .home-hero-grid {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.9fr);
    align-items: start;
    gap: 2.2rem;
  }

  .home .pricing-top {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.78fr);
  }

  .home .home-trust {
    grid-template-columns: repeat(6, 1fr);
  }

  .home .service-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .home .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .home .factor-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .home .factor-grid .factor-card {
    grid-column: span 2;
  }

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

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

  .home .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home .place-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .home .story-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .home .story-card {
    grid-column: span 4;
  }

  .home .story-card.is-featured {
    grid-column: span 6;
  }

  .home .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .home .pricing-banner {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

@media (min-width: 700px) and (max-width: 979px) {
  .home .factor-grid .factor-card:nth-child(4),
  .home .factor-grid .factor-card:nth-child(5) {
    grid-column: auto;
  }

  .home .factor-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479px) {
  .home .home-trust,
  .home .item-pills,
  .home .place-grid {
    grid-template-columns: 1fr;
  }

  .home .form-compact {
    margin-top: 0.9rem;
  }

  .home .today-actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 480px) and (max-width: 699px) {
  .home .place-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home .service-tile,
  .home .visual-card,
  .home .factor-card,
  .home .place-card,
  .home .story-card,
  .home .faq-panel,
  .home .faq-panel p,
  .home .faq-chevron,
  .home .visual-card .visual-media img {
    transition: none;
  }
}

/* ---------- Hero photo as a soft watermark behind the quote form ---------- */
.home .home-hero-aside {
  position: relative;
  isolation: isolate;
  align-self: start;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(31, 39, 45, 0.12);
  border: 1px solid var(--border);
}

.home .hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  aspect-ratio: auto;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
  pointer-events: none;
}

.home .hero-visual picture {
  position: absolute;
  inset: 0;
}

.home .hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  opacity: 0.55;
}

.home .home-hero-aside .form-compact {
  position: relative;
  z-index: 1;
  margin-top: 0;
  border: 0;
  box-shadow: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.78) 100%);
}

.home .home-hero-aside .form-compact input,
.home .home-hero-aside .form-compact textarea {
  background: #ffffff;
}

.home .home-hero-aside .form-compact h2,
.home .home-hero-aside .form-compact label {
  color: var(--navy);
}

.home .home-hero-aside .form-compact > p,
.home .home-hero-aside .form-compact .form-hint,
.home .home-hero-aside .form-compact .form-consent {
  color: #2b3a40;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Hero grid: both columns may shrink; form never cut on small laptops */
@media (min-width: 980px) {
  .home .home-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}

@media (min-width: 980px) and (max-width: 1099px) {
  .home .home-hero-grid .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}
