:root {
  --color-bg: #f7f6f1;
  --color-surface: #ffffff;
  --color-surface-alt: #eef3ee;

  --color-primary: #1f5d46;
  --color-primary-dark: #174737;
  --color-primary-soft: #dfeae3;

  --color-accent: #d69a45;

  --color-text: #1e2723;
  --color-muted: #66716b;
  --color-border: #d9dfdb;

  --color-error: #a53b32;
  --color-success: #256143;

  --shadow-soft: 0 14px 35px rgba(24, 49, 38, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(31, 93, 70, 0.25);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--color-surface-alt);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.section-heading p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;

  border: 1px solid transparent;
  border-radius: 999px;

  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--color-primary);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--color-primary-dark);
}

.button-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button-secondary {
  border-color: var(--color-primary);
  background: transparent;
  color: var(--color-primary);
}

.button-secondary:hover {
  background: var(--color-primary-soft);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;

  border-bottom: 1px solid rgba(217, 223, 219, 0.9);
  background: rgba(247, 246, 241, 0.95);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  max-width: 280px;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-primary);
}

/* Hero */

.hero {
  padding: 92px 0 76px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 64px;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-media {
  min-height: 500px;
  display: flex;
  align-items: end;

  padding: 28px;

  border-radius: var(--radius-lg);
  background:
    linear-gradient(
      160deg,
      rgba(31, 93, 70, 0.1),
      rgba(31, 93, 70, 0.35)
    ),
    var(--color-primary-soft);

  box-shadow: var(--shadow-soft);
}

.hero-media p {
  margin: 0;
  max-width: 280px;
  padding: 14px 16px;

  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);

  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Trust */

.trust-strip {
  padding: 28px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

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

.trust-grid > div {
  padding: 8px 24px;
  border-right: 1px solid var(--color-border);
}

.trust-grid > div:first-child {
  padding-left: 0;
}

.trust-grid > div:last-child {
  border-right: 0;
}

.trust-grid strong,
.trust-grid span {
  display: block;
}

.trust-grid strong {
  margin-bottom: 4px;
  color: var(--color-primary-dark);
}

.trust-grid span {
  color: var(--color-muted);
  font-size: 0.88rem;
}

/* Pest selector */

.pest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pest-card {
  min-height: 92px;
  padding: 20px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);

  color: var(--color-text);
  font-size: 1rem;
  font-weight: 750;
  text-align: left;

  cursor: pointer;
  transition:
    border-color 150ms ease,
    background-color 150ms ease,
    transform 150ms ease;
}

.pest-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

.pest-card.is-selected {
  border-color: var(--color-primary);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.season-grid article,
.steps-grid article,
.review-card {
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.service-card h3,
.season-grid h3,
.steps-grid h3 {
  margin: 0 0 10px;
}

.service-card p,
.season-grid p,
.steps-grid p,
.review-card p {
  margin: 0;
  color: var(--color-muted);
}

/* Melbourne */

.two-column {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.two-column h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.two-column > div:first-child > p:not(.eyebrow) {
  color: var(--color-muted);
}

.local-context-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--color-primary);
  color: #ffffff;
}

.local-context-card h3 {
  margin-top: 0;
}

.local-context-card ul {
  margin: 20px 0 0;
  padding-left: 22px;
}

.local-context-card li + li {
  margin-top: 8px;
}

/* Seasons */

.season-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.season-grid article {
  min-height: 210px;
}

.season-grid h3 {
  color: var(--color-primary-dark);
}

/* Steps */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 22px;

  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
}

/* Booking */

.booking-section {
  background: var(--color-primary-dark);
  color: #ffffff;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 54px;
  align-items: start;
}

.booking-intro {
  position: sticky;
  top: 112px;
}

.booking-intro .eyebrow {
  color: #bcd6c7;
}

.booking-intro h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.booking-intro > p {
  color: #dce7e0;
}

.demo-notice {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.demo-notice p {
  margin: 6px 0 0;
  color: #dce7e0;
  font-size: 0.92rem;
}

.booking-form {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 48px;

  padding: 11px 13px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);

  background: #ffffff;
  color: var(--color-text);
}

.form-field textarea {
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
}

.form-field select:disabled {
  background: #f2f3f2;
  cursor: not-allowed;
}

.form-message {
  min-height: 24px;
  margin: 20px 0 10px;
  color: var(--color-error);
  font-size: 0.9rem;
}

.booking-confirmation {
  grid-column: 2;
  padding: 30px;

  border-radius: var(--radius-lg);
  background: #ffffff;
  color: var(--color-text);
}

.booking-confirmation h3 {
  margin-top: 0;
  color: var(--color-success);
}

/* Areas */

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.area-grid div {
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  font-weight: 700;
}

/* Reviews */

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card strong {
  display: block;
  margin-top: 22px;
  color: var(--color-primary);
}

/* FAQ */

.faq-container {
  max-width: 900px;
}

.faq-container details {
  border-top: 1px solid var(--color-border);
}

.faq-container details:last-child {
  border-bottom: 1px solid var(--color-border);
}

.faq-container summary {
  padding: 22px 4px;
  font-weight: 750;
  cursor: pointer;
}

.faq-container details p {
  margin: 0;
  padding: 0 4px 24px;
  color: var(--color-muted);
}

/* Contact */

.contact-section {
  background: var(--color-surface);
}

.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.contact-inner h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-inner p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--color-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer */

.site-footer {
  padding: 34px 0;
  background: #17221d;
  color: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner p {
  margin: 5px 0 0;
  color: #bcc6c1;
}

.case-study-notice {
  max-width: 520px;
  text-align: right;
  font-size: 0.86rem;
}

/* Responsive */

@media (max-width: 960px) {
  .site-nav {
    gap: 14px;
  }

  .hero-inner,
  .booking-layout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 380px;
  }

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

  .trust-grid > div {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 16px;
  }

  .service-grid,
  .pest-grid,
  .area-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-intro {
    position: static;
  }

  .booking-confirmation {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .section {
    padding: 64px 0;
  }

  .header-inner {
    min-height: 64px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 64px 0 52px;
  }

  .hero-inner {
    gap: 36px;
  }

  .hero-content h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-actions .button {
    width: 100%;
  }

  .hero-media {
    min-height: 300px;
  }

  .trust-grid,
  .pest-grid,
  .service-grid,
  .season-grid,
  .steps-grid,
  .area-grid,
  .review-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .booking-form {
    padding: 22px;
  }

  .contact-inner,
  .footer-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .case-study-notice {
    max-width: none;
    text-align: left;
  }
}

/* HERO LAYOUT FIX v0.3.0 */
.hero-media {
  position: relative;
  display: block;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
  box-shadow: var(--shadow-soft);
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-badge {
  position: absolute;
  left: 22px;
  right: auto;
  bottom: 22px;
  z-index: 2;
  width: auto;
  max-width: calc(100% - 44px);
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
}

@media (max-width: 720px) {
  .hero-media {
    min-height: 320px;
  }
}

/* PEST ICON GRID v0.3.0 */
.pest-grid-enhanced {
  gap: 18px;
}

.pest-grid-enhanced .pest-card {
  position: relative;
  min-height: 180px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-md);
  background: #c91f35;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.pest-grid-enhanced .pest-card:hover,
.pest-grid-enhanced .pest-card:focus-visible,
.pest-grid-enhanced .pest-card.is-selected {
  transform: translateY(-2px);
  background: #b81b30;
}

.pest-grid-enhanced .pest-card.is-selected {
  box-shadow:
    var(--shadow-soft),
    0 0 0 3px rgba(214, 154, 69, 0.7);
}

.pest-grid-enhanced .pest-card-front,
.pest-grid-enhanced .pest-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.pest-grid-enhanced .pest-card-front {
  align-items: center;
  gap: 16px;
  text-align: center;
}

.pest-grid-enhanced .pest-card-back {
  opacity: 0;
  transform: translateY(8px);
  justify-content: space-between;
}

.pest-grid-enhanced .pest-card:hover .pest-card-front,
.pest-grid-enhanced .pest-card:focus-visible .pest-card-front,
.pest-grid-enhanced .pest-card.is-active .pest-card-front {
  opacity: 0;
  transform: translateY(-8px);
}

.pest-grid-enhanced .pest-card:hover .pest-card-back,
.pest-grid-enhanced .pest-card:focus-visible .pest-card-back,
.pest-grid-enhanced .pest-card.is-active .pest-card-back {
  opacity: 1;
  transform: translateY(0);
}

.pest-grid-enhanced .pest-icon {
  width: 70px;
  height: 70px;
  display: block;
}

.pest-grid-enhanced .pest-name {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
}

.pest-grid-enhanced .pest-message {
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
}

.pest-grid-enhanced .pest-hint {
  font-size: 0.9rem;
  font-weight: 700;
  opacity: 0.92;
}

@media (max-width: 720px) {
  .pest-grid-enhanced .pest-card {
    min-height: 160px;
  }

  .pest-grid-enhanced .pest-icon {
    width: 60px;
    height: 60px;
  }

  .pest-grid-enhanced .pest-name {
    font-size: 1.25rem;
  }

  .pest-grid-enhanced .pest-message {
    font-size: 0.95rem;
  }
}

/* PEST SELECTOR TONE FIX v0.3.0 */
.pest-grid-enhanced .pest-card {
  background: var(--color-primary);
  color: #ffffff;
}

.pest-grid-enhanced .pest-card:hover,
.pest-grid-enhanced .pest-card:focus-visible,
.pest-grid-enhanced .pest-card.is-selected {
  background: var(--color-primary-dark);
}

.pest-grid-enhanced .pest-card.is-selected {
  box-shadow:
    var(--shadow-soft),
    0 0 0 3px rgba(214, 154, 69, 0.65);
}

.pest-grid-enhanced .pest-card-back {
  justify-content: center;
}

.pest-grid-enhanced .pest-message {
  max-width: 28ch;
  margin: 0 auto;
  text-align: center;
}

.pest-grid-enhanced .pest-hint {
  display: none;
}

/* PEST CLICK BOOKING v0.3.0 */
.booking-context {
  margin-top: 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.95rem;
}

.booking-context strong {
  color: #ffffff;
}

/* PEST CLICK CUE v0.3.0 START */
.pest-grid-enhanced .pest-card-back::after {
  content: "Click to book";
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
}

.pest-grid-enhanced .pest-card.is-selected {
  background: var(--color-primary-dark);
  box-shadow:
    var(--shadow-soft),
    0 0 0 3px rgba(214, 154, 69, 0.72);
}

@media (hover: none), (pointer: coarse) {
  .pest-grid-enhanced .pest-card-back::after {
    content: "Tap to book";
  }
}
/* PEST CLICK CUE v0.3.0 END */

/* SMOOTH BOOKING ARRIVAL v0.3.0 START */
#booking {
  scroll-margin-top: 88px;
}

.booking-form {
  transition:
    box-shadow 300ms ease,
    transform 300ms ease;
}

#booking.booking-arrival .booking-form {
  box-shadow:
    var(--shadow-soft),
    0 0 0 4px rgba(214, 154, 69, 0.35);
  transform: translateY(-2px);
}
/* SMOOTH BOOKING ARRIVAL v0.3.0 END */

/* MELBOURNE COVERAGE REDESIGN v0.3.0 START */
.coverage-section {
  background: var(--color-bg);
}

.coverage-heading {
  max-width: 820px;
}

.coverage-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: stretch;
}

.coverage-media {
  position: relative;
  min-height: 660px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
  box-shadow: var(--shadow-soft);
}

.coverage-media img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.coverage-media-note {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-md);
  background: rgba(23, 71, 55, 0.9);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.coverage-media-note strong,
.coverage-media-note span {
  display: block;
}

.coverage-media-note strong {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.coverage-media-note span {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
}

.coverage-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coverage-item {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.coverage-item[open] {
  border-color: rgba(31, 93, 70, 0.7);
  box-shadow: 0 10px 28px rgba(24, 49, 38, 0.07);
}

.coverage-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 18px;
  list-style: none;
  cursor: pointer;
}

.coverage-item summary::-webkit-details-marker {
  display: none;
}

.coverage-summary-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.coverage-summary-main > span:last-child {
  min-width: 0;
}

.coverage-summary-main strong,
.coverage-summary-main small {
  display: block;
}

.coverage-summary-main strong {
  margin-bottom: 3px;
  font-size: 1.02rem;
}

.coverage-summary-main small {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.35;
}

.coverage-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  font-weight: 850;
}

.coverage-chevron {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border-right: 2px solid var(--color-text);
  border-bottom: 2px solid var(--color-text);
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

.coverage-item[open] .coverage-chevron {
  transform: rotate(225deg);
}

.coverage-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 0.72fr);
  gap: 24px;
  padding: 2px 20px 22px 78px;
  border-top: 1px solid var(--color-border);
}

.coverage-panel > p {
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.coverage-suburbs {
  margin-top: 18px;
  padding-left: 22px;
  border-left: 1px solid var(--color-border);
}

.coverage-suburbs strong {
  color: var(--color-primary);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.coverage-suburbs p {
  margin: 6px 0 14px;
  color: var(--color-text);
  font-size: 0.9rem;
}

.coverage-book {
  grid-column: 2;
  justify-self: start;
}

.coverage-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.coverage-benefits > div {
  padding: 20px 22px;
  border-right: 1px solid var(--color-border);
}

.coverage-benefits > div:last-child {
  border-right: 0;
}

.coverage-benefits strong,
.coverage-benefits span {
  display: block;
}

.coverage-benefits strong {
  margin-bottom: 5px;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}

.coverage-benefits span {
  color: var(--color-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .coverage-layout {
    grid-template-columns: 1fr;
  }

  .coverage-media,
  .coverage-media img {
    min-height: 500px;
  }

  .coverage-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .coverage-media,
  .coverage-media img {
    min-height: 420px;
  }

  .coverage-media-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }

  .coverage-item summary {
    padding: 15px;
  }

  .coverage-panel {
    grid-template-columns: 1fr;
    padding: 0 16px 18px;
  }

  .coverage-suburbs {
    padding-left: 0;
    border-left: 0;
  }

  .coverage-book {
    grid-column: 1;
  }

  .coverage-benefits {
    grid-template-columns: 1fr;
  }

  .coverage-benefits > div {
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .coverage-benefits > div:last-child {
    border-bottom: 0;
  }
}
/* MELBOURNE COVERAGE REDESIGN v0.3.0 END */

/* COVERAGE ANCHOR FIX v0.3.0 */
#areas {
  scroll-margin-top: 92px;
}

/* HOW IT WORKS REDESIGN v0.3.0 START */
.process-heading {
  max-width: 760px;
}

.steps-grid-enhanced {
  position: relative;
  gap: 22px;
}

.steps-grid-enhanced::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(
    to right,
    rgba(31, 93, 70, 0.16),
    rgba(31, 93, 70, 0.34),
    rgba(31, 93, 70, 0.16)
  );
  z-index: 0;
}

.process-card {
  position: relative;
  z-index: 1;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  padding: 28px;

  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.process-card:hover,
.process-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(31, 93, 70, 0.45);
  box-shadow: 0 14px 30px rgba(24, 49, 38, 0.08);
}

.process-card .step-number {
  position: relative;
  z-index: 2;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  box-shadow: 0 0 0 8px var(--color-surface);
}

.process-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.process-card h3 {
  margin: 0 0 12px;
  color: var(--color-text);
}

.process-summary {
  margin: 0;
  color: var(--color-muted);
}

.process-detail {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);

  color: var(--color-primary-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (hover: hover) and (pointer: fine) {
  .process-detail {
    opacity: 0;
    transform: translateY(8px);

    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .process-card:hover .process-detail,
  .process-card:focus-within .process-detail {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .steps-grid-enhanced::before {
    display: none;
  }

  .process-card {
    min-height: 0;
  }

  .process-detail {
    opacity: 1;
    transform: none;
  }
}
/* HOW IT WORKS REDESIGN v0.3.0 END */

/* QUOTE WIZARD v0.3.0 START */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.quote-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(223, 234, 227, 0.38), transparent 360px),
    var(--color-bg);
}

.quote-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--color-border);
  background: rgba(247, 246, 241, 0.94);
  backdrop-filter: blur(12px);
}

.quote-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
}

.quote-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.quote-brand strong,
.quote-brand small {
  display: block;
}

.quote-brand small {
  margin-top: 2px;
  color: var(--color-muted);
  font-size: 0.78rem;
}

.quote-hero {
  padding: 72px 0 88px;
}

.quote-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: start;
}

.quote-intro {
  position: sticky;
  top: 118px;
}

.quote-intro h1 {
  max-width: 640px;
  margin-bottom: 18px;
}

.quote-intro > p:not(.eyebrow) {
  max-width: 580px;
  color: var(--color-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.quote-intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.quote-intro-points span {
  padding: 9px 12px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--color-primary-dark);
  font-size: 0.83rem;
  font-weight: 700;
}

.quote-demo-note {
  margin-top: 28px;
  padding: 18px;
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: rgba(255, 255, 255, 0.62);
}

.quote-demo-note strong,
.quote-demo-note span {
  display: block;
}

.quote-demo-note span {
  margin-top: 5px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.quote-wizard {
  scroll-margin-top: 104px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.quote-progress-wrap {
  padding: 24px 28px 0;
}

.quote-progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.quote-progress-copy span:last-child {
  color: var(--color-primary-dark);
}

.quote-progress {
  height: 6px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--color-primary-soft);
}

.quote-progress span {
  display: block;
  width: 16.666%;
  height: 100%;
  border-radius: inherit;
  background: var(--color-primary);
  transition: width 220ms ease;
}

#quote-form {
  padding: 30px 28px 28px;
}

.quote-step {
  display: none;
}

.quote-step.is-active {
  display: block;
  animation: quoteStepIn 180ms ease-out;
}

@keyframes quoteStepIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quote-step-kicker {
  margin: 0 0 7px;
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-step h2 {
  margin: 0;
}

.quote-step-help {
  margin: 9px 0 26px;
  color: var(--color-muted);
  line-height: 1.6;
}

.quote-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quote-choice-grid-pests {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quote-choice {
  position: relative;
  cursor: pointer;
}

.quote-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quote-choice span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--color-text);
  font-weight: 700;
  text-align: center;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.quote-choice:hover span {
  border-color: rgba(31, 93, 70, 0.48);
  transform: translateY(-2px);
}

.quote-choice input:checked + span {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.quote-choice input:focus-visible + span {
  outline: 3px solid rgba(214, 154, 69, 0.32);
  outline-offset: 2px;
}

.quote-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.quote-step .form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.quote-step .form-field > span {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-step .form-field small {
  color: var(--color-muted);
  font-weight: 500;
}

.quote-step input,
.quote-step select,
.quote-step textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  color: var(--color-text);
}

.quote-step input,
.quote-step select {
  min-height: 50px;
  padding: 0 13px;
}

.quote-step textarea {
  min-height: 126px;
  padding: 13px;
  resize: vertical;
}

.quote-step input:focus,
.quote-step select:focus,
.quote-step textarea:focus {
  outline: 3px solid rgba(31, 93, 70, 0.13);
  border-color: var(--color-primary);
}

.quote-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--color-border);
}

.quote-actions #quote-back {
  margin-right: auto;
}

.quote-review {
  display: grid;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.quote-review dt,
.quote-review dd {
  margin: 0;
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
}

.quote-review dt {
  background: var(--color-surface-alt);
  color: var(--color-primary-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.quote-review dd {
  color: var(--color-text);
  overflow-wrap: anywhere;
}

.quote-review dt:last-of-type,
.quote-review dd:last-of-type {
  border-bottom: 0;
}

.quote-submit-note {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--color-surface-alt);
}

.quote-submit-note strong,
.quote-submit-note span {
  display: block;
}

.quote-submit-note span {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.quote-confirmation {
  padding: 36px 32px;
}

.quote-confirmation h2 {
  margin-top: 4px;
}

.quote-confirmation > p:not(.eyebrow) {
  max-width: 620px;
  color: var(--color-muted);
  line-height: 1.65;
}

.quote-reference {
  display: inline-grid;
  gap: 4px;
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--color-primary);
  color: #fff;
}

.quote-reference span {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.82;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.quote-reference strong {
  font-size: 1.12rem;
  letter-spacing: 0.04em;
}

.quote-demo-warning {
  margin-top: 12px;
  padding: 18px;
  border: 1px solid rgba(214, 154, 69, 0.35);
  border-radius: var(--radius-md);
  background: rgba(214, 154, 69, 0.08);
}

.quote-demo-warning strong,
.quote-demo-warning span {
  display: block;
}

.quote-demo-warning span {
  margin-top: 5px;
  color: var(--color-muted);
}

.quote-confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quote-footer {
  padding: 22px 0 34px;
  color: var(--color-muted);
  font-size: 0.84rem;
  text-align: center;
}

@media (max-width: 900px) {
  .quote-shell {
    grid-template-columns: 1fr;
  }

  .quote-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .quote-header-inner {
    min-height: 68px;
  }

  .quote-brand small {
    display: none;
  }

  .quote-back-link {
    padding-inline: 13px;
  }

  .quote-hero {
    padding: 42px 0 58px;
  }

  .quote-progress-wrap,
  #quote-form,
  .quote-confirmation {
    padding-left: 20px;
    padding-right: 20px;
  }

  .quote-choice-grid,
  .quote-choice-grid-pests,
  .quote-field-grid {
    grid-template-columns: 1fr;
  }

  .quote-choice-grid-pests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-actions {
    flex-wrap: wrap;
  }

  .quote-actions .button {
    flex: 1 1 auto;
  }

  .quote-review {
    grid-template-columns: 1fr;
  }

  .quote-review dt {
    border-bottom: 0;
  }
}
/* QUOTE WIZARD v0.3.0 END */

/* HERO ANT EFFECT v0.3.0 START */
.hero-crawling-ant {
  position: absolute;
  left: 0;
  bottom: 18px;
  width: 22px;
  height: 14px;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background:
    url("../assets/icons/crawling-ant.svg")
    center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(24, 49, 38, 0.10));
  animation: heroAntCrawl 16s linear 1.6s 1 forwards;
}

@keyframes heroAntCrawl {
  0% {
    opacity: 0;
    transform: translateX(-32px) translateY(0) rotate(-2deg);
  }

  4% {
    opacity: 0.76;
    transform: translateX(-20px) translateY(0) rotate(0deg);
  }

  /* Curious walk */
  12% {
    transform: translateX(10vw) translateY(-1px) rotate(2deg);
  }

  19% {
    transform: translateX(21vw) translateY(1px) rotate(-2deg);
  }

  /* Stop and inspect */
  23% {
    transform: translateX(22vw) translateY(0) rotate(-5deg);
  }

  26% {
    transform: translateX(22vw) translateY(-1px) rotate(8deg);
  }

  29% {
    transform: translateX(22vw) translateY(0) rotate(-4deg);
  }

  /* Quick dash */
  35% {
    transform: translateX(43vw) translateY(-2px) rotate(1deg);
  }

  /* Sudden stop */
  40% {
    transform: translateX(46vw) translateY(0) rotate(0deg);
  }

  44% {
    transform: translateX(46vw) translateY(0) rotate(-9deg);
  }

  47% {
    transform: translateX(46vw) translateY(-1px) rotate(7deg);
  }

  50% {
    transform: translateX(46vw) translateY(0) rotate(0deg);
  }

  /* Wanders again */
  59% {
    transform: translateX(59vw) translateY(1px) rotate(-2deg);
  }

  65% {
    transform: translateX(68vw) translateY(-1px) rotate(2deg);
  }

  /* Another burst */
  70% {
    transform: translateX(82vw) translateY(-2px) rotate(1deg);
  }

  /* One last pause */
  75% {
    transform: translateX(84vw) translateY(0) rotate(-7deg);
  }

  79% {
    transform: translateX(84vw) translateY(-1px) rotate(6deg);
  }

  82% {
    transform: translateX(84vw) translateY(0) rotate(0deg);
  }

  /* Walks off */
  92% {
    opacity: 0.76;
    transform: translateX(96vw) translateY(1px) rotate(-1deg);
  }

  100% {
    opacity: 0;
    transform: translateX(calc(100vw + 34px)) translateY(0) rotate(1deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-crawling-ant {
    display: none !important;
    animation: none !important;
  }
}
/* HERO ANT EFFECT v0.3.0 END */

/* SEASONAL PEST ICONS v0.3.0 START */
.season-pests {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.season-pests-label {
  display: block;
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.season-pest-icons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.season-pest-icon {
  width: 27px;
  height: 27px;
  display: inline-block;
  background: var(--color-primary);
  opacity: 0.88;

  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;

  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
}

.season-pest-icon.icon-ant {
  -webkit-mask-image: url("../assets/icons/ant.svg");
  mask-image: url("../assets/icons/ant.svg");
}

.season-pest-icon.icon-spider {
  -webkit-mask-image: url("../assets/icons/spider.svg");
  mask-image: url("../assets/icons/spider.svg");
}

.season-pest-icon.icon-cockroach {
  -webkit-mask-image: url("../assets/icons/cockroach.svg");
  mask-image: url("../assets/icons/cockroach.svg");
}

.season-pest-icon.icon-wasp {
  -webkit-mask-image: url("../assets/icons/wasp.svg");
  mask-image: url("../assets/icons/wasp.svg");
}

.season-pest-icon.icon-termite {
  -webkit-mask-image: url("../assets/icons/termite.svg");
  mask-image: url("../assets/icons/termite.svg");
}

.season-pest-icon.icon-rodent {
  -webkit-mask-image: url("../assets/icons/rodent.svg");
  mask-image: url("../assets/icons/rodent.svg");
}

@media (max-width: 640px) {
  .season-pest-icon {
    width: 25px;
    height: 25px;
  }
}
/* SEASONAL PEST ICONS v0.3.0 END */

/* SEASONAL TOOLTIP ALIGNMENT v0.3.0 START */

/* Keep the divider / Common Pests row aligned across equal-height cards. */
:where(article, div):has(> .season-pests) {
  display: flex;
  flex-direction: column;
}

.season-pests {
  margin-top: auto;
}

/* Tooltip host sits outside the masked icon so the tooltip is not clipped. */
.season-pest-tip {
  position: relative;
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  cursor: help;
  outline: none;
}

.season-pest-tip::before,
.season-pest-tip::after {
  position: absolute;
  left: 50%;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 140ms ease,
    transform 140ms ease,
    visibility 140ms ease;
}

/* Tooltip bubble */
.season-pest-tip::before {
  content: attr(data-tooltip);
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  z-index: 20;

  padding: 7px 9px;
  border-radius: 7px;
  background: var(--color-primary-dark);
  color: #fff;

  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;

  box-shadow: 0 6px 18px rgba(24, 49, 38, 0.16);
}

/* Tooltip arrow */
.season-pest-tip::after {
  content: "";
  bottom: calc(100% + 5px);
  transform: translate(-50%, 4px);
  z-index: 19;

  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-primary-dark);
}

.season-pest-tip:hover::before,
.season-pest-tip:hover::after,
.season-pest-tip:focus-visible::before,
.season-pest-tip:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.season-pest-tip:focus-visible {
  box-shadow: 0 0 0 3px rgba(31, 93, 70, 0.16);
}

/* Tiny visual response only - no animation gimmick. */
.season-pest-tip:hover .season-pest-icon,
.season-pest-tip:focus-visible .season-pest-icon {
  opacity: 1;
}

@media (max-width: 640px) {
  .season-pest-tip {
    width: 25px;
    height: 25px;
  }
}
/* SEASONAL TOOLTIP ALIGNMENT v0.3.0 END */

/* SEASONAL SPACING POLISH v0.3.0 START */
/*
  Keep the seasonal cards visually uniform:
  - reserve roughly one extra text line before the divider
  - use a consistent paragraph height
  - keep the icon strip aligned cleanly
*/
:where(article, div):has(> h3 + p + .season-pests) > p:first-of-type {
  min-height: 5.9em;
  margin-bottom: 18px;
}

:where(article, div):has(> h3 + p + .season-pests) > .season-pests {
  margin-top: 0;
}

@media (max-width: 640px) {
  :where(article, div):has(> h3 + p + .season-pests) > p:first-of-type {
    min-height: 0;
  }
}
/* SEASONAL SPACING POLISH v0.3.0 END */

/* SEASONAL DIVIDER ALIGN v0.3.0 START */
/*
  Stronger alignment override for the Melbourne Seasons cards.
  This targets any season-style card that contains a .season-pests block.
*/
:where(article, div, li):has(.season-pests) {
  display: grid !important;
  grid-template-rows: auto minmax(116px, auto) auto !important;
  align-content: start;
}

:where(article, div, li):has(.season-pests) > h3 {
  margin-bottom: 16px;
}

:where(article, div, li):has(.season-pests) > p:first-of-type {
  min-height: 116px !important;
  margin: 0 0 18px 0 !important;
}

:where(article, div, li):has(.season-pests) > .season-pests {
  align-self: stretch;
  margin-top: 0 !important;
}

@media (max-width: 640px) {
  :where(article, div, li):has(.season-pests) {
    grid-template-rows: auto auto auto !important;
  }

  :where(article, div, li):has(.season-pests) > p:first-of-type {
    min-height: 0 !important;
  }
}
/* SEASONAL DIVIDER ALIGN v0.3.0 END */

/* FLOATING BACK TO TOP v0.3.0 START */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;

  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(24, 49, 38, 0.18);

  font: inherit;
  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition:
    opacity 160ms ease,
    visibility 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--color-primary-dark);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(214, 154, 69, 0.34);
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition: none;
  }
}
/* FLOATING BACK TO TOP v0.3.0 END */

/* BACK TO TOP WHITE ARROW FIX v0.3.0 START */
.back-to-top {
  position: fixed;
}

/* Arrow stem */
.back-to-top::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 17px;
  width: 2px;
  height: 15px;
  border-radius: 2px;
  background: #fff;
  transform: translateX(-50%);
}

/* Arrow head */
.back-to-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 14px;
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-top: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
  transform-origin: center;
}

@media (max-width: 640px) {
  .back-to-top::after {
    top: 16px;
    height: 14px;
  }

  .back-to-top::before {
    top: 13px;
  }
}
/* BACK TO TOP WHITE ARROW FIX v0.3.0 END */
