/* ==========================================================================
   Wildlife Removal Service Inc. — static prototype
   Design system extracted from the live Elementor build.
   Replaces: frontend.min.css, style.css, all.min.css, elementor-icons,
             widget-*.min.css, post-6/62/64/192/204/233/284/287/354-364.css,
             roboto.css, robotoslab.css, b12stksauce.css, foogallery css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --red:        #ae0e15;   /* deep brand red — header bar, footer band, h2 */
  --red-bright: #ed1b24;   /* CTA red, hover accents */
  --navy:       #002e63;   /* page-title bands, headings, phone */
  --grey:       #d6d9dc;   /* alternating section background */
  --ink:        #000;
  --white:      #fff;

  /* Type */
  --font: 'Farro', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --body-size: 16px;
  --body-line: 36px;

  /* Layout */
  --wrap: 1140px;         /* standard container */
  --wrap-narrow: 1000px;  /* page-title band container */
  --gutter: 20px;
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: #404040;            /* theme baseline; body copy is #000 via .prose */
  font-family: var(--font);
  font-size: var(--body-size);
  line-height: 1.5;          /* NOT 36px - that is a per-widget value only */
  font-weight: 400;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--ink); text-decoration: none; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1; }

p { margin: 0 0 20px; }

ul, ol { margin: 0; padding: 0; list-style-position: inside; }

:focus-visible { outline: 3px solid var(--red-bright); outline-offset: 2px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: -100px; left: 8px; z-index: 100;
  background: var(--white); color: var(--red);
  padding: 10px 16px; font-weight: 700;
}
.skip-link:focus { top: 8px; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 10px;   /* mirrors Elementor column padding, not a container gutter */
}
.wrap--narrow { max-width: var(--wrap-narrow); }
/* Content sitting directly in a container still lives in a column upstream,
   and Elementor columns carry padding:10px on all four sides. */
.wrap--solo { padding: 10px; }

.section { padding: 4% 0; }
.section--p22 { padding: 2% 0; }
.section--p42 { padding: 4% 0 2%; }
.section--p24 { padding: 2% 0 4%; }
.section--grey { background: var(--grey); }
.section--navy { background: var(--navy); color: var(--white); }

/* Two-up / three-up grids. Column ratios mirror the source build.
   Note: the width overrides below are written as `.grid > .col-*` so they match
   the specificity of `.grid > .col` and win on source order inside the query. */
.grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.grid > .col { padding: 10px; width: 100%; }
.grid--flush { margin: 0 -10px; }
.grid--flush > .col { padding: 0; }
.grid--middle { align-items: center; }

@media (min-width: 768px) {
  .grid > .col-50    { width: 50%; }
  .grid > .col-60    { width: 60%; }
  .grid > .col-40    { width: 40%; }
  .grid > .col-70    { width: 70%; }
  .grid > .col-30    { width: 30%; }
  .grid > .col-49    { width: 49.035%; }
  .grid > .col-51    { width: 50.965%; }
  .grid > .col-63    { width: 62.982%; }
  .grid > .col-37    { width: 37.018%; }
  .grid > .col-third { width: 33.333%; }
}

/* --------------------------------------------------------------------------
   4. Headings & rich text
   -------------------------------------------------------------------------- */
/* line-height:1.2em (not unitless) - it inherits as a fixed px value, which the
   source relies on. margin-bottom mirrors .elementor-widget:not(:last-child). */
.h-red   { font-size: 30px; color: var(--red);  line-height: 1.2em; margin-bottom: 20px; }
.h-navy  { font-size: 30px; color: var(--navy); line-height: 1.2em; margin-bottom: 20px; }
.h-sub   { font-size: 24px; color: var(--navy); line-height: 1; margin-bottom: 20px; }

.prose { font-size: 16px; line-height: 36px; color: var(--ink); }
.prose:not(:last-child) { margin-bottom: 20px; }   /* = .elementor-widget:not(:last-child) */
.prose a { font-weight: 700; color: var(--ink); }
.prose a:hover, .prose a:focus { color: var(--red-bright); }
.list-services {
  columns: 3;
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  color: var(--navy);
}
.list-services a { color: var(--ink); font-weight: 700; }
.list-services a:hover, .list-services a:focus { color: var(--red-bright); }

.center { text-align: center; }

@media (max-width: 1024px) {
  .h-red, .h-navy { font-size: 22px; }
  .h-sub { font-size: 18px; }
}
@media (max-width: 767px) {
  .h-red, .h-navy { font-size: 21px; text-align: center; }
  .prose { text-align: left; }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
  border-radius: 3px;
  padding: 16px 16px 13px;
  border: 0;
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn--primary { background: var(--red-bright); color: var(--white); }
.btn--primary:hover, .btn--primary:focus { background: var(--red); color: var(--white); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 5px;
  font-size: 16px;
  padding: 16px;
}
.btn--outline:hover, .btn--outline:focus { background: rgba(255, 255, 255, .15); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.site-header { background: var(--white); }

.nav-bar { background: var(--red); }
.nav-bar .wrap { padding: 0; }

.nav { display: flex; justify-content: flex-start; align-items: center; }

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  padding: 12px 0;
  margin: 0 auto;
  cursor: pointer;
}

.nav__list { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }

.nav__item { position: relative; display: flex; margin: 0 10px; }

/* Source uses Elementor's e--pointer-background + e--animation-fade: the whole
   item fills with #ed1b24. It is not an underline. */
.nav__link {
  display: flex;
  align-items: center;
  padding: 13px 20px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
  position: relative;
  background-color: transparent;
  transition: background-color .3s;
}
.nav__link:hover,
.nav__link:focus,
.nav__item--current > .nav__link { background-color: var(--red-bright); color: var(--white); }

.nav__caret { font-size: 11px; margin-left: 5px; }

/* Desktop dropdown */
.nav__sub {
  position: absolute;
  top: 100%; left: 0;
  min-width: 200px;
  margin: 0; padding: 0;
  list-style: none;
  background: var(--ink);
  z-index: 20;
  display: none;
}
.nav__item--has-sub:hover > .nav__sub,
.nav__item--has-sub:focus-within > .nav__sub { display: block; }

.nav__sub a {
  display: block;
  padding: 12px 16px;
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
}
.nav__sub a:hover, .nav__sub a:focus { background: var(--red); }

/* Logo + phone row */
.header-main { padding: 1% 0; }
.header-main .grid { align-items: center; }
.header-logo img { width: 465px; max-width: 100%; }

.header-phone { text-align: right; }
.header-phone a { display: block; }
.header-phone__number { font-size: 30px; font-weight: 700; color: var(--navy); line-height: 1; }
.header-phone__cta    { font-size: 22px; font-weight: 700; color: var(--red);  line-height: 1; }

/* Mobile nav */
@media (max-width: 767px) {
  .nav { display: block; }
  .nav__toggle { display: block; }
  .nav__list {
    display: none;
    flex-direction: column;
    background: var(--ink);
    margin: 0 calc(var(--gutter) * -1);
  }
  .nav[data-open="true"] .nav__list { display: flex; }
  .nav__link { padding: 14px 20px; }
  .nav__link::after { display: none; }
  .nav__sub { position: static; display: none; background: rgba(255, 255, 255, .08); }
  .nav__item--open > .nav__sub { display: block; }
  .nav__sub a { padding-left: 36px; }

  .header-logo img { margin: 0 auto; }
  .header-phone { text-align: center; }
}

/* --------------------------------------------------------------------------
   7. Home hero
   -------------------------------------------------------------------------- */
.hero {
  background-image: url("../img/cute-bat.png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  min-height: 600px;
}
.hero__title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.2em;   /* = 69.6px, inherited as-is by .small below */
  color: var(--white);
  text-shadow: 5px 4px 10px var(--ink);
  margin: 0 0 20px;
}
.hero__title .small { font-size: 24px; font-weight: 700; }

@media (max-width: 1024px) {
  .hero { min-height: 400px; }
  .hero__title { font-size: 40px; }
}
@media (max-width: 767px) {
  .hero { min-height: 300px; }
  .hero__title { font-size: 29px; text-align: center; }
  .hero .btn { display: block; text-align: center; }
}

/* --------------------------------------------------------------------------
   8. Estimate strip (navy CTA band)
   -------------------------------------------------------------------------- */
.estimate { background: var(--navy); padding: 2% 0 1%; }
.estimate__title { font-size: 40px; font-weight: 400; color: var(--white); line-height: 1; margin-bottom: 20px; }
.estimate__text  { font-size: 18px; color: var(--white); line-height: 1.5; margin: 0; }
.estimate__action { text-align: right; }

@media (max-width: 1024px) { .estimate__title { font-size: 33px; } }
@media (max-width: 767px) {
  .estimate { padding: 25px 0; text-align: center; }
  .estimate__title { font-size: 30px; }
  .estimate__action { text-align: center; margin-top: 20px; }
}

/* --------------------------------------------------------------------------
   9. Page title band (interior pages)
   -------------------------------------------------------------------------- */
.page-title {
  background: var(--navy);
  padding: 1% 0;
  display: flex;
  align-items: center;
}
.page-title h1 {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--white);
  text-align: center;
}
.page-title--55 h1   { font-size: 55px; }
.page-title--52 h1   { font-size: 52px; }
.page-title--flat h1 { line-height: 1; }
.page-title__kicker {
  color: var(--white);
  text-align: center;
  font-size: 18px;
  margin: 8px 0 0;
  font-style: italic;
}

@media (max-width: 1024px) {
  .page-title { padding: 1% 5%; }
  .page-title h1, .page-title--55 h1, .page-title--52 h1 { font-size: 40px; }
}
@media (max-width: 767px) {
  .page-title h1, .page-title--55 h1, .page-title--52 h1 { font-size: 29px; }
}

/* --------------------------------------------------------------------------
   10. Quick-link cards (bat / rodent / snake band)
   -------------------------------------------------------------------------- */
.cards {
  background-image: url("../img/no-sign-background.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  margin: 2% 0;
  padding: 0 4% 0 11%;
}
.cards__inner { width: 100%; max-width: var(--wrap); margin: 0 auto; min-height: 334px;
  display: flex; align-items: center; }
.cards .grid { width: 100%; }

.card { display: flex; align-items: center; gap: 15px; }
.card__icon { width: 35%; text-align: right; }
.card__icon img { margin-left: auto; }
.card__body { width: 65%; }
.card__title { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1; margin: 0; }
.card__title a { color: var(--navy); }
.card__more { font-size: 12px; font-weight: 700; color: var(--navy); line-height: 1; display: inline-block; margin-top: 20px; }
.card__more:hover, .card__more:focus { color: var(--red-bright); }
.card__title a:hover, .card__title a:focus { color: var(--red-bright); }

@media (max-width: 1024px) {
  .cards { background-image: none; background-color: var(--grey); padding: 24px 0; min-height: 0; }
  .card__title { font-size: 18px; }
}
@media (max-width: 767px) {
  .card { flex-direction: column; text-align: center; padding: 16px 0; }
  .card__icon, .card__body { width: 100%; text-align: center; }
  .card__icon img { margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   11. Animal photo strip
   -------------------------------------------------------------------------- */
.animal-strip { display: flex; flex-wrap: wrap; }
.animal-strip img {
  width: 20%;
  flex: 0 0 20%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 767px) {
  .animal-strip img { width: 50%; flex-basis: 50%; }
}

/* --------------------------------------------------------------------------
   12. Service-area lists
   -------------------------------------------------------------------------- */
.areas { font-size: 16px; font-weight: 700; line-height: 30px; color: var(--navy); }
.areas p { margin: 0 0 20px; }
.areas a { color: var(--navy); text-decoration: underline; }
.areas a:hover, .areas a:focus { color: var(--red-bright); }

/* Closing block: copy on the left, a vertical rule, area lists on the right */
.areas-split { display: flex; flex-wrap: wrap; align-items: stretch; margin: 0 -10px; }
.areas-split__main, .areas-split__aside { width: 100%; padding: 10px; }
.areas-split__rule { display: none; }
.areas-cols { display: flex; flex-wrap: wrap; }
.areas-cols > * { width: 50%; padding: 10px; }

@media (min-width: 768px) {
  .areas-split__main  { width: 45.965%; }
  .areas-split__aside { width: 46.049%; }
}
@media (max-width: 767px) {
  .areas-cols > * { width: 100%; }
  .areas-split__aside { margin-top: 24px; }
}

@media (min-width: 1025px) {
  .areas-split__rule {
    display: block;
    width: 7.332%;
    position: relative;
  }
  .areas-split__rule::before {
    content: "";
    position: absolute;
    top: 15px; bottom: 15px; left: 50%;
    border-left: 1px solid var(--navy);
  }
}

.areas-grid { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.areas-grid > * { width: 20%; padding: 10px; }

@media (max-width: 1024px) {
  .areas { font-size: 12px; }
  .areas-grid > * { width: 50%; }
}
@media (max-width: 767px) {
  .areas { font-size: 16px; text-align: center; }
  .areas-grid > * { width: 100%; }
}

/* Horizontal rule used above the two-column area lists */
.areas-divider { border: 0; border-top: 1px solid var(--navy); margin: 15px 0; }

/* --------------------------------------------------------------------------
   13. Photo gallery (About)
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.gallery a { display: block; overflow: hidden; border: 1px solid rgba(0, 0, 0, .15); }
.gallery img { width: 100%; transition: transform .4s; }
.gallery a:hover img, .gallery a:focus img { transform: scale(1.05); }

@media (max-width: 767px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------------------------------------------------------
   14. Contact details block
   -------------------------------------------------------------------------- */
.contact-card__name  { font-size: 24px; font-weight: 700; color: var(--navy); line-height: 1; }
.contact-card__phone { font-size: 20px; font-weight: 700; color: var(--red); line-height: 1; }
.contact-card__phone a { color: var(--red); }
.contact-card__email { font-size: 16px; font-weight: 700; }
.contact-card__hours strong { color: var(--red); }
.contact-card__hours { line-height: 36px; margin: 20px 0; }
.contact-card__note  { font-size: 16px; font-weight: 700; display: block; margin-bottom: 12px; }

@media (max-width: 767px) { .contact-card { text-align: center; } .contact-card img { margin: 0 auto; } }

/* --------------------------------------------------------------------------
   15. Legal pages
   -------------------------------------------------------------------------- */
/* text->heading boundary is 40px in the source (20px paragraph margin + 20px
   widget gap, which cannot collapse across Elementor's widget divs). */
.legal h2 { font-size: 30px; color: var(--red); line-height: 1; margin: 40px 0 20px; }
.legal ol, .legal ul { line-height: 36px; margin: 0 0 20px; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 2px solid var(--red); }

.footer-tagline { padding: 12px 0 3px; text-align: center; }
.footer-tagline h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
}

.footer-main { background: var(--red); color: var(--white); padding: 2% 0 1%; }
.footer-main a { color: var(--white); }

.footer-logo img { width: 465px; max-width: 100%; }
.footer-phone { font-size: 18px; font-weight: 700; color: var(--white); line-height: 1; display: block; margin-top: 20px; }
.footer-email { font-size: 16px; font-weight: 400; color: var(--white); line-height: 1; display: block; margin-top: 14px; }

.footer-links__title { font-size: 18px; font-weight: 700; color: var(--white); line-height: 1; margin: 0 0 20px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; font-size: 16px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a:hover, .footer-links a:focus { text-decoration: underline; }

.footer-legal { font-size: 14px; line-height: 1.5; margin-top: 10px; }
.footer-legal a { text-decoration: underline; }
.footer-credit { margin-top: 14px; }
.footer-credit img { width: 131px; }

@media (min-width: 768px) {
  .grid > .footer-col-1 { width: 50%; }
  .grid > .footer-col-2 { width: 20%; }
  .grid > .footer-col-3 { width: 30%; }
}
@media (max-width: 1024px) {
  .footer-tagline h2 { font-size: 30px; }
  .footer-col-1 { text-align: center; }
  .footer-logo img { margin: 0 auto; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .grid > .footer-col-1 { width: 100%; }
  .grid > .footer-col-2 { width: 50%; }
  .grid > .footer-col-3 { width: 50%; }
}
@media (max-width: 767px) {
  .footer-main { padding: 25px 0; text-align: center; }
  .footer-credit img { margin: 0 auto; }
}

/* --------------------------------------------------------------------------
   17. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 1024px) {
  .list-services { columns: 2; }
  .legal h2 { font-size: 22px; }
}
@media (max-width: 767px) {
  .list-services { columns: 1; }
  .legal h2 { text-align: center; }
}
