/* Finishing details shared by both domain packages. */
/* Keep translated navigation inside its container, not just inside the screen. */
@media (min-width: 1021px) {
  .nav-inner { display: grid; grid-template-columns: minmax(200px, 1fr) auto auto; gap: 14px; padding-block: 10px; }
  .brand img { width: 88px; flex: 0 0 88px; }
  .brand b { font-size: 1.12rem; white-space: normal; line-height: 1.05; }
  .brand small { max-width: 220px; white-space: normal; line-height: 1.15; }
  .main-nav a, .main-nav button { padding-inline: 10px; }
  .large-text .nav-inner { display: flex; }
}
@font-face {
  font-family: "Master Sans";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Master Condensed";
  src: url("/fonts/roboto-condensed-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.lead-privacy-note {
  grid-column: 1 / -1;
  width: 100%;
  margin: 10px 0 0 !important;
  color: #554b42 !important;
  font-size: 0.76rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  text-align: left;
}
.lead-privacy-note a,
.information-copy a {
  color: #8c390c;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.lead-fallback-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  grid-column: 1 / -1;
  margin: 10px 0;
}
.lead-fallback-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 14px;
  color: #181818;
  background: #fff5ea;
  border: 1px solid #b86b35;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}
.lead-fallback-panel { grid-column: 1 / -1; width: 100%; min-width: 0; padding: 22px; margin: 4px 0 12px; border: 1px solid #c6956e; border-left: 4px solid #a74c12; border-radius: 8px; background: #fbf5ed; color: #33291f; }
.lead-fallback-panel:focus { outline: 2px solid #9c440e; outline-offset: 3px; }
.lead-fallback-panel .fallback-title { margin: 0 0 10px; color: #30251c; font-size: 1.35rem; line-height: 1.2; }
.lead-fallback-panel p { margin: 8px 0 !important; color: #514437 !important; font-size: .84rem !important; line-height: 1.6 !important; font-weight: 400 !important; }
.lead-fallback-panel .lead-fallback-actions { margin: 16px 0; }
.lead-fallback-panel .lead-fallback-actions a { flex: 1 1 150px; text-align: center; line-height: 1.3; }
.lead-fallback-panel .fallback-addresses { overflow-wrap: anywhere; font-size: .76rem !important; }
.fallback-details { margin-top: 18px; border-top: 1px solid #dac6b4; padding-top: 8px; }
.fallback-details summary { cursor: pointer; padding: 12px 0; min-height: 44px; color: #783309; font-size: .82rem; font-weight: 700; line-height: 1.5; }
.lead-fallback-panel .fallback-request-copy { display: block; width: 100%; min-height: 170px; margin: 12px 0; padding: 12px; border: 1px solid #aa9584; border-radius: 5px; background: #fff; color: #2f2821; font: 16px/1.5 "Master Sans", sans-serif; resize: vertical; }
.fallback-copy-button { min-height: 44px; padding: 10px 16px; border: 1px solid #b07545; border-radius: 6px; background: #fff; color: #6e2d08; font: 700 .82rem/1.4 "Master Sans", sans-serif; cursor: pointer; }
@media (max-width: 600px) { .lead-fallback-panel { padding: 18px 14px; } }
.footer-bottom .footer-privacy {
  display: inline-block;
  margin-left: 18px;
  color: #ffe1c4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.information-page {
  background: radial-gradient(ellipse at top left, #f8e7d5, transparent 50%), #faf7f0;
  color: #25221e;
}
.information-intro { padding-block: clamp(48px, 6vw, 88px); }
.information-page h1 {
  max-width: 900px;
  margin: 16px 0 28px;
  color: #141414;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.information-copy { max-width: 780px; }
.information-copy h2 { margin: 32px 0 12px; font-size: 1.55rem; line-height: 1.2; }
.information-copy p,
.information-page > section > p { margin: 0 0 16px; line-height: 1.75; }
.information-lead { font-size: 1.15rem; }
.information-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.not-found-page .information-intro { min-height: 58vh; }
html:not([lang="es"]) [data-language-copy="es"],
html[lang="es"] [data-language-copy="en"] { display: none; }
@media (max-width: 600px) {
  .footer-bottom .footer-privacy { display: block; margin: 12px 0 0; }
  .information-page h1 { overflow-wrap: break-word; }
  .information-copy h2 { font-size: 1.4rem; }
}

/* Labels remain readable at large text sizes and in either language. */
.lead-field-group > .lead-field-label {
  position: static;
  display: block;
  max-width: none;
  margin: 0 0 6px;
  overflow: visible;
  color: #51483f;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  pointer-events: auto;
  text-transform: none;
  white-space: normal;
}
.lead-field-group > :is(input, select, textarea) {
  min-height: 48px;
  padding-top: 11px;
  padding-bottom: 11px;
  font-size: max(16px, 0.94rem);
  line-height: 1.5;
}
.lead-field-group > textarea { min-height: 104px; }
.services-menu {
  max-height: calc(100vh - var(--header-height, 140px));
  max-height: calc(100dvh - var(--header-height, 140px));
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mobile-card {
  max-height: 100vh;
  max-height: 100dvh;
  overscroll-behavior: contain;
}
[id] { scroll-margin-top: calc(var(--header-height, 140px) + 16px); }
.review-track { display: grid; }
.review-track .review-slide {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  display: flex;
  min-width: 0;
  visibility: hidden;
}
.review-track .review-slide.active { visibility: visible; }
.review-controls { display: flex; justify-content: center; margin: 14px 0 24px; }
.review-pause {
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid #a89c8e;
  border-radius: 6px;
  background: transparent;
  color: #483b30;
  font: 600 0.8rem "Master Sans", sans-serif;
  cursor: pointer;
}
@media (min-width: 900px) {
  .review-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-height: 500px) and (orientation: landscape) {
  .topbar { position: relative; }
  [id] { scroll-margin-top: 16px; }
}
@media (max-width: 1020px) {
  /* The dark backdrop grows with the headline, including enlarged text. */
  .homepage-hero .hero-heading { position: relative; z-index: 1; }
  .homepage-hero .hero-heading::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 calc(50% - 50vw);
    background: linear-gradient(180deg,
      transparent calc(var(--mobile-commercial-height, var(--tablet-commercial-height, 420px)) - 100px),
      #090909 calc(var(--mobile-commercial-height, var(--tablet-commercial-height, 420px)) - 20px));
  }
}
.large-text .nav-inner { height: auto; flex-wrap: wrap; padding-block: 12px; }
.large-text .brand { flex: 1 1 240px; }
.large-text .brand span { max-width: none; min-width: 0; }
.large-text .brand b { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.large-text .nav-actions { margin-left: auto; flex-wrap: wrap; }
.large-text .mobile-promise { grid-template-columns: 1fr 1fr; }
.large-text .mobile-promise > span { grid-column: 1 / -1; padding: 8px 0; text-align: center; }
.large-text .topbar { position: relative; }
.large-text [id] { scroll-margin-top: 16px; }

/* Final detail review: quieter body copy and unambiguous form/navigation controls. */
.about-origin-copy p,
.about-origin-details p,
.commercial-command-copy > p,
.subhero p,
.subhero.image-hero p,
.contact-hero p,
.homepage-hero .hero-support > p {
  font-weight: 500;
}
.about-origin-copy p + p { margin-top: 18px; }
.homepage-hero #homepage-request-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, #5a5149 50%),
    linear-gradient(135deg, #5a5149 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 40px;
}
.main-nav .services-toggle.active { color: #8f3100; background: #fff1e4; }
.services-menu a[aria-current="page"] { outline: 2px solid #f5a365; outline-offset: -2px; }
.mobile-card a[aria-current="page"] { background: #fff1e4; color: #8f3100; }
@media (forced-colors: active) {
  .homepage-hero #homepage-request-form select { appearance: auto; background-image: none; }
}
@media (min-width: 701px) and (max-width: 1020px) {
  .homepage-hero { --tablet-commercial-height: clamp(280px, 40vw, 400px); }
}
/* Clearly distinguish the office from the text / urgent pest-service line. */
.special-contact {font-size:.84rem;line-height:1.7;overflow-wrap:anywhere}
.special-contact span {font-weight:600}
.special-contact a {display:inline-block;min-height:32px;text-underline-offset:3px}
.contact-call-card a.urgent-inline {display:inline;font:inherit;text-decoration:underline;color:inherit;white-space:nowrap}
.contact-call-card small {line-height:1.6}
.submitted-offer-link {grid-column:1/-1;display:inline-flex;min-height:44px;align-items:center;color:#8c390c;font-weight:700;font-size:.85rem;text-decoration:underline;text-underline-offset:3px}
.lead-security { grid-column: 1 / -1; min-width: 0; }
.lead-security > p { margin: 4px 0 10px; font-size: 14px; line-height: 1.5; color: #4d4d4d; }
.lead-security .h-captcha { min-height: 144px; }
/* Provider response tokens are machine fields, never customer-facing inputs. */
textarea[name="h-captcha-response"], textarea[name="g-recaptcha-response"], input[type="hidden"] { display: none !important; }
.lead-form .lead-manual-help, #miniForm .lead-manual-help, #initialServiceOfferForm .lead-manual-help { grid-column: 1 / -1; background: transparent; color: #743800; border: 0; padding: 10px 4px; min-height: 44px; text-decoration: underline; font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer; }
.lead-form .lead-manual-help:focus-visible, #miniForm .lead-manual-help:focus-visible, #initialServiceOfferForm .lead-manual-help:focus-visible { outline: 3px solid #b95c00; outline-offset: 2px; }
/* Original transparent PDF artwork. White presentation on dark sections keeps
   the exact silhouette readable without adding a rectangular background. */
.brand img { display: block; width: 200px; max-width: 100%; height: auto; aspect-ratio: auto; flex: 0 1 200px; padding: 6px; background: transparent; border-radius: 0; object-fit: contain; filter: none; }
.brand span { display: none; }
.footer-logo { display: block; padding: 0; background: transparent; border-radius: 0; object-fit: contain; filter: brightness(0) invert(1); }
.system-artwork { position: relative; width: min(100%, 650px); }
.generated-system .system-artwork > img:first-child {
  display: block; width: 100%; height: auto;
  /* Clear only the old embedded center mark, leaving all surrounding pests.
     Four opaque strips leave a truly transparent center, not a painted box. */
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 42%, 100% 42%, 35% 16%, 35% 16%;
  mask-size: 100% 42%, 100% 42%, 35% 16%, 35% 16%;
  -webkit-mask-position: center top, center bottom, left center, right center;
  mask-position: center top, center bottom, left center, right center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.generated-system .system-approved-logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 32%; max-width: none; height: auto; padding: 0; background: transparent; border-radius: 0; object-fit: contain; filter: brightness(0) invert(1); }
@media (max-width: 1020px) {
  .brand img { width: 160px; flex-basis: 160px; }
}
@media (max-width: 400px) {
  .brand img { width: 136px; flex-basis: 136px; padding: 5px; }
}
@media (max-width: 360px) {
  .brand img { width: 120px; flex-basis: 120px; }
}
