/*
Theme Name: G.O.A.T. Snow Plow Services
Theme URI: https://goatsnowplow.com/
Author: Antigravity
Author URI: http://antigravity-ai.com/
Description: Snow and ice management theme for G.O.A.T. Snow Plow Services in Akron, Ohio. Video hero, residential and commercial service tracks, storm alert bar, pricing structures, service-area coverage, FAQ schema, and an AJAX quote form with lead attribution and CSV export.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-colors, custom-logo, custom-menu, featured-images, responsive-layout, translation-ready, accessibility-ready, block-styles
Text Domain: goat-snow-plow
*/

/* ==========================================================================
   Design Tokens
   ========================================================================== */

.goat-theme-container {
    /* Pulled from the badge logo: deep olive green, cream, gold, plow red. */
    --forest:        #2E3A22;
    --forest-dark:   #1C2415;
    --forest-mid:    #3C4B2C;
    --forest-light:  #556840;
    --cream:         #EFE3B8;
    --cream-dim:     #D8CB9C;
    --gold:          #C9A227;
    --gold-light:    #E4C86A;
    --plow-red:      #A81E22;
    --plow-red-dark: #7E1518;
    --plow-red-lite: #C8393D;

    --ink:        #23281F;
    --ink-soft:   #5A6154;
    --ink-faint:  #8A9184;
    --line:       #E3E6DF;
    --surface:    #FFFFFF;
    --surface-2:  #F5F7F2;
    --surface-3:  #ECF0E7;
    --ice:        #DCE9F2;

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

    --shadow-sm: 0 2px 8px rgba(28, 36, 21, 0.06);
    --shadow:    0 10px 30px rgba(28, 36, 21, 0.09);
    --shadow-lg: 0 24px 60px rgba(28, 36, 21, 0.16);

    /* Taller than a typical header because the logo is a vertical badge rather
       than a horizontal wordmark, and it needs the height to stay legible. */
    --header-h: 106px;
    --maxw: 1240px;

    --font-display: 'Oswald', 'Arial Narrow', Impact, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    font-family: var(--font-body);
    color: var(--ink);
    background: var(--surface);
    line-height: 1.65;
    font-size: 17px;
    width: 100%;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.goat-theme-container *,
.goat-theme-container *::before,
.goat-theme-container *::after {
    box-sizing: border-box;
}

.goat-theme-container h1,
.goat-theme-container h2,
.goat-theme-container h3,
.goat-theme-container h4,
.goat-theme-container p,
.goat-theme-container ul,
.goat-theme-container ol,
.goat-theme-container figure,
.goat-theme-container blockquote {
    margin: 0;
    padding: 0;
}

.goat-theme-container ul,
.goat-theme-container ol {
    list-style: none;
}

.goat-theme-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

.goat-theme-container a {
    color: var(--forest);
    text-decoration: none;
    transition: color 0.18s ease;
}

.goat-theme-container a:hover {
    color: var(--plow-red);
}

.goat-theme-container h1,
.goat-theme-container h2,
.goat-theme-container h3,
.goat-theme-container h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    color: var(--forest-dark);
    text-transform: uppercase;
}

/* Keeps parent-theme and page-builder leftovers from boxing the layout in. */
.site-main, .site-content, .entry-content, .page-content,
#content, #primary, #main, .wp-site-blocks {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
}

#wpadminbar {
    z-index: 99999 !important;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: var(--forest);
    color: var(--cream);
    padding: 12px 20px;
    font-weight: 700;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
}

.goat-theme-container :focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 3px;
}

/* ==========================================================================
   Layout Primitives
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 880px;
}

.section {
    padding: 84px 0;
}

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

.section-dark {
    background: var(--forest-dark);
    color: var(--cream-dim);
    background-image:
        radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.10), transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(168, 30, 34, 0.14), transparent 45%);
}

.section-head {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(2rem, 4.2vw, 3rem);
    margin-bottom: 16px;
}

.section-head p {
    color: var(--ink-soft);
    font-size: 1.08rem;
}

.section-head-light h2 {
    color: var(--cream);
}

.section-head-light p {
    color: rgba(239, 227, 184, 0.78);
}

.section-foot {
    text-align: center;
    margin-top: 48px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--plow-red);
    margin-bottom: 14px;
    padding-bottom: 8px;
    position: relative;
}

.eyebrow::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 42px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.section-head .eyebrow::after,
.hero-eyebrow::after {
    left: 50%;
}

.area-body .eyebrow::after,
.split-body .eyebrow::after {
    left: 0;
    transform: none;
}

.eyebrow-light {
    color: var(--gold-light);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--plow-red);
    color: #fff;
    border-color: var(--plow-red);
    box-shadow: 0 6px 18px rgba(168, 30, 34, 0.32);
}

.btn-primary:hover {
    background: var(--plow-red-dark);
    border-color: var(--plow-red-dark);
    color: #fff;
    box-shadow: 0 12px 26px rgba(168, 30, 34, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--forest);
    border-color: var(--forest);
}

.btn-outline:hover {
    background: var(--forest);
    color: var(--cream);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: #fff;
    color: var(--forest-dark);
    border-color: #fff;
}

.btn-lg {
    padding: 17px 36px;
    font-size: 1.06rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

.section-head + .btn-row,
.btn-row.btn-row-center {
    justify-content: center;
}

.text-link {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--plow-red);
}

/* ==========================================================================
   Storm Alert + Top Bar
   ========================================================================== */

.storm-alert {
    background: var(--plow-red);
    color: #fff;
    font-size: 0.94rem;
    position: relative;
    z-index: 60;
}

.storm-alert-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 11px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    text-align: center;
}

.storm-alert-badge {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    background: #fff;
    color: var(--plow-red);
    padding: 4px 12px;
    border-radius: 999px;
    animation: alert-pulse 2.2s ease-in-out infinite;
}

@keyframes alert-pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.62; }
}

.storm-alert-text {
    font-weight: 500;
}

.storm-alert-link {
    color: #fff;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.storm-alert-link:hover {
    color: var(--cream);
}

.topbar {
    background: var(--forest-dark);
    color: var(--cream-dim);
    font-size: 0.88rem;
    position: relative;
    z-index: 55;
}

.topbar-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 9px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.topbar-phone {
    color: var(--cream);
    margin-left: auto;
}

.topbar-phone strong {
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

.topbar-phone:hover {
    color: #fff;
}

/* ==========================================================================
   Header + Navigation
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    min-height: var(--header-h);
    transition: min-height 0.2s ease, padding 0.2s ease;
}

.site-header.is-scrolled .header-inner {
    min-height: 80px;
    padding-top: 6px;
    padding-bottom: 6px;
}

.brand {
    flex-shrink: 0;
}

.brand-link {
    display: inline-block;
}

/* Qualified with the container so these beat the responsive `img { height: auto }`
   reset above, which would otherwise let the logo render at its natural size. */
.goat-theme-container .brand-logo,
.goat-theme-container .custom-logo {
    height: 92px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    transition: height 0.2s ease;
}

.goat-theme-container .site-header.is-scrolled .brand-logo,
.goat-theme-container .site-header.is-scrolled .custom-logo {
    height: 68px;
}

/* Text badge used until a logo image is supplied. */
.brand-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--forest);
    border: 2px solid var(--gold);
    border-radius: 6px;
    padding: 7px 18px 8px;
    line-height: 1;
    text-align: center;
}

.brand-badge-top {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.32em;
    color: var(--gold-light);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.brand-badge-main {
    font-family: var(--font-display);
    font-size: 1.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--cream);
}

.brand-badge-sub {
    font-family: var(--font-display);
    font-size: 0.6rem;
    letter-spacing: 0.16em;
    color: var(--cream-dim);
    text-transform: uppercase;
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid rgba(201, 162, 39, 0.5);
}

.brand-badge-footer {
    background: rgba(255, 255, 255, 0.05);
}

.desktop-nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    font-family: var(--font-display);
    font-size: 0.94rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--forest-dark);
    padding: 10px 13px;
    border-radius: 6px;
    /* Two-word items like "Service Area" must never break onto a second line. */
    white-space: nowrap;
}

.nav-list a:hover {
    color: var(--plow-red);
    background: var(--surface-2);
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
    color: var(--plow-red);
    box-shadow: inset 0 -3px 0 var(--gold);
}

/* Dropdowns */
.nav-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.18s ease;
    display: block;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.btn-header {
    padding: 12px 22px;
    font-size: 0.92rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    cursor: pointer;
    border-radius: 6px;
    background: var(--forest);
}

.hamburger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--cream);
    border-radius: 2px;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Mobile drawer */
.goat-menu-toggle {
    position: absolute;
    top: 0;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 86vw);
    height: 100%;
    background: var(--forest-dark);
    color: var(--cream);
    z-index: 200;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
}

.goat-menu-toggle:checked ~ .mobile-nav-panel {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid rgba(239, 227, 184, 0.16);
}

.mobile-nav-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
}

.mobile-close {
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--cream);
    padding: 0 6px;
}

.mobile-nav-list {
    padding: 10px 0;
}

.mobile-nav-list a {
    display: block;
    padding: 14px 22px;
    font-family: var(--font-display);
    font-size: 1.02rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream);
    border-bottom: 1px solid rgba(239, 227, 184, 0.08);
}

.mobile-nav-list a:hover {
    background: rgba(201, 162, 39, 0.14);
    color: var(--gold-light);
}

.mobile-nav-list .sub-menu a {
    padding-left: 40px;
    font-size: 0.92rem;
    opacity: 0.85;
}

.mobile-nav-footer {
    margin-top: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid rgba(239, 227, 184, 0.16);
}

.mobile-nav-footer .btn-outline {
    color: var(--cream);
    border-color: var(--cream);
}

.mobile-nav-footer .btn-outline:hover {
    background: var(--cream);
    color: var(--forest-dark);
}

.mobile-nav-note {
    text-align: center;
    font-size: 0.86rem;
    color: rgba(239, 227, 184, 0.7);
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 16, 9, 0.6);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    cursor: pointer;
}

.goat-menu-toggle:checked ~ .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
    position: relative;
    min-height: clamp(560px, 88vh, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: var(--forest-dark);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(18, 24, 14, 0.72) 0%, rgba(18, 24, 14, 0.5) 42%, rgba(18, 24, 14, 0.88) 100%),
        radial-gradient(ellipse at 50% 40%, rgba(46, 58, 34, 0.15), rgba(18, 24, 14, 0.7) 78%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 940px;
    padding: 90px 24px 130px;
}

.hero-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(28, 36, 21, 0.55);
    border: 1px solid rgba(201, 162, 39, 0.5);
    border-radius: 999px;
    padding: 7px 20px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    color: #fff;
    line-height: 1.02;
    text-shadow: 0 4px 26px rgba(0, 0, 0, 0.55);
    margin-bottom: 22px;
}

.hero h1 em {
    display: inline-block;
    font-style: normal;
    color: var(--gold-light);
}

.hero-sub {
    font-size: clamp(1.02rem, 1.9vw, 1.22rem);
    color: rgba(255, 255, 255, 0.92);
    max-width: 720px;
    margin: 0 auto;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.hero .btn-row {
    justify-content: center;
    margin-top: 34px;
}

.hero-note {
    margin-top: 22px;
    font-size: 0.95rem;
    color: var(--cream);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(28, 36, 21, 0.5);
    border-radius: 999px;
    padding: 8px 20px;
}

.hero-strip {
    position: relative;
    z-index: 3;
    width: 100%;
    background: rgba(28, 36, 21, 0.82);
    backdrop-filter: blur(6px);
    border-top: 2px solid var(--gold);
}

.hero-strip-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 16px 28px;
    text-align: center;
}

.hero-strip-inner span {
    font-family: var(--font-display);
    font-size: 0.92rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cream-dim);
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hero-strip-inner strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.02em;
}

/* Falling snow. Two gradient layers give density, the spans add foreground flakes. */
.snowfall {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.snowfall::before,
.snowfall::after {
    content: '';
    position: absolute;
    left: 0;
    top: -100%;
    width: 100%;
    height: 200%;
    background-image:
        radial-gradient(2px 2px at 12% 10%, rgba(255, 255, 255, 0.85), transparent),
        radial-gradient(1.6px 1.6px at 32% 34%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2.2px 2.2px at 58% 18%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.4px 1.4px at 74% 46%, rgba(255, 255, 255, 0.65), transparent),
        radial-gradient(2px 2px at 88% 26%, rgba(255, 255, 255, 0.75), transparent),
        radial-gradient(1.8px 1.8px at 22% 62%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(2.4px 2.4px at 46% 78%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1.5px 1.5px at 66% 88%, rgba(255, 255, 255, 0.6), transparent);
    background-size: 620px 620px;
    animation: snow-drift 16s linear infinite;
}

.snowfall::after {
    background-size: 420px 420px;
    opacity: 0.6;
    animation-duration: 26s;
    animation-delay: -8s;
}

@keyframes snow-drift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-40px, 50%, 0); }
}

.snowfall span {
    position: absolute;
    top: -14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    filter: blur(0.4px);
    animation: flake-fall linear infinite;
}

@keyframes flake-fall {
    0%   { transform: translate3d(0, -20px, 0) rotate(0deg); opacity: 0; }
    12%  { opacity: 0.95; }
    100% { transform: translate3d(48px, 105vh, 0) rotate(360deg); opacity: 0.15; }
}

.snowfall span:nth-child(1)  { left:  4%; animation-duration: 11s; animation-delay:  0s;   width: 6px;  height: 6px; }
.snowfall span:nth-child(2)  { left: 15%; animation-duration: 15s; animation-delay: -3s;   width: 9px;  height: 9px; }
.snowfall span:nth-child(3)  { left: 26%; animation-duration:  9s; animation-delay: -6s;   width: 5px;  height: 5px; }
.snowfall span:nth-child(4)  { left: 37%; animation-duration: 17s; animation-delay: -1.5s; width: 8px;  height: 8px; }
.snowfall span:nth-child(5)  { left: 48%; animation-duration: 12s; animation-delay: -8s;   width: 6px;  height: 6px; }
.snowfall span:nth-child(6)  { left: 59%; animation-duration: 14s; animation-delay: -4s;   width: 10px; height: 10px; }
.snowfall span:nth-child(7)  { left: 70%; animation-duration: 10s; animation-delay: -9s;   width: 5px;  height: 5px; }
.snowfall span:nth-child(8)  { left: 80%; animation-duration: 18s; animation-delay: -2s;   width: 8px;  height: 8px; }
.snowfall span:nth-child(9)  { left: 89%; animation-duration: 13s; animation-delay: -6.5s; width: 6px;  height: 6px; }
.snowfall span:nth-child(10) { left: 96%; animation-duration: 16s; animation-delay: -11s;  width: 7px;  height: 7px; }

/* ==========================================================================
   Inner Page Hero
   ========================================================================== */

.page-hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: var(--forest-dark);
}

.goat-theme-container .page-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(18, 24, 14, 0.78) 0%, rgba(18, 24, 14, 0.6) 50%, rgba(18, 24, 14, 0.85) 100%);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    padding: 96px 24px 76px;
}

.page-hero-content h1 {
    font-size: clamp(2.1rem, 5.4vw, 3.7rem);
    color: #fff;
    text-shadow: 0 4px 22px rgba(0, 0, 0, 0.5);
    margin-bottom: 16px;
}

.page-hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.page-hero-content .btn-row {
    justify-content: center;
}

/* ==========================================================================
   Residential / Commercial Split Cards
   ========================================================================== */

.split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.split-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.split-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.split-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.split-card:hover .split-media img {
    transform: scale(1.05);
}

.split-label {
    position: absolute;
    top: 18px;
    left: 18px;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: var(--forest);
    color: var(--cream);
    padding: 7px 16px;
    border-radius: 999px;
    border: 1px solid var(--gold);
}

.split-label-red {
    background: var(--plow-red);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.split-body {
    padding: 32px 30px 34px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.split-body h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
}

.split-body p {
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.split-body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* ==========================================================================
   Check Lists
   ========================================================================== */

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 11px;
    color: var(--ink-soft);
    line-height: 1.55;
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 16px;
    height: 9px;
    border-left: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    transform: rotate(-45deg);
    border-radius: 1px;
}

.check-list-lg li {
    margin-bottom: 15px;
    font-size: 1.03rem;
}

.check-list strong {
    color: var(--ink);
}

.section-dark .check-list li,
.contact-card-dark .check-list li {
    color: rgba(239, 227, 184, 0.85);
}

/* ==========================================================================
   Service Cards + Rows
   ========================================================================== */

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-media {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.service-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-media img {
    transform: scale(1.06);
}

.service-body {
    padding: 28px 26px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-icon {
    font-size: 1.9rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: 12px;
}

.service-body h3 {
    font-size: 1.34rem;
    margin-bottom: 8px;
}

.service-short {
    font-family: var(--font-display);
    font-size: 0.86rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--plow-red);
    margin-bottom: 14px;
}

.service-body > p {
    color: var(--ink-soft);
    margin-bottom: 18px;
    font-size: 0.98rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}

.service-row-reverse .service-row-media {
    order: 2;
}

.service-row-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.service-row-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-row-body h3 {
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    margin-bottom: 8px;
}

.service-row-body > p {
    color: var(--ink-soft);
    margin-bottom: 18px;
}

.service-row-body .btn {
    margin-top: 22px;
}

/* ==========================================================================
   Differentiators (dark grid)
   ========================================================================== */

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.diff-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(201, 162, 39, 0.26);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.diff-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold);
}

.diff-icon {
    font-size: 2rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: 14px;
}

.diff-card h3 {
    color: var(--cream);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.diff-card p {
    color: rgba(239, 227, 184, 0.76);
    font-size: 0.97rem;
}

/* ==========================================================================
   Steps
   ========================================================================== */

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 28px;
    counter-reset: step;
}

.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 38px 26px 28px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.step-num {
    position: absolute;
    top: -20px;
    left: 26px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.24rem;
    font-weight: 700;
    color: var(--cream);
    background: var(--plow-red);
    border: 3px solid var(--surface);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(168, 30, 34, 0.32);
}

/* The badge overhangs the card onto the section background, so its ring has to
   match whichever background it is sitting on. */
.section-alt .step-num {
    border-color: var(--surface-2);
}

.step h3 {
    font-size: 1.14rem;
    margin-bottom: 10px;
    margin-top: 6px;
}

.step p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

/* ==========================================================================
   Pricing Plans
   ========================================================================== */

.plan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.plan-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 30px 32px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.plan-card-featured {
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
}

.plan-tag {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--gold);
    color: var(--forest-dark);
    padding: 6px 18px;
    border-radius: 999px;
    white-space: nowrap;
}

.plan-name {
    font-family: var(--font-display);
    font-size: 1.44rem;
    text-transform: uppercase;
    color: var(--forest-dark);
    margin-bottom: 12px;
}

.plan-price {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.plan-price-main {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--plow-red);
    line-height: 1.1;
}

.plan-price-period {
    display: block;
    font-size: 0.9rem;
    color: var(--ink-faint);
    margin-top: 4px;
}

.plan-blurb {
    color: var(--ink-soft);
    font-size: 0.97rem;
    margin-bottom: 20px;
}

.plan-features {
    margin-bottom: 26px;
}

.plan-features li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 0.96rem;
    color: var(--ink-soft);
}

.plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--gold);
    border-bottom: 2.5px solid var(--gold);
    transform: rotate(-45deg);
}

.plan-card .btn {
    margin-top: auto;
}

.plan-footnote {
    max-width: 760px;
    margin: 40px auto 0;
    text-align: center;
    color: var(--ink-soft);
    font-size: 0.98rem;
}

/* ==========================================================================
   Two-Column Feature Layout
   ========================================================================== */

.area-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.area-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.area-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.area-body h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    margin-bottom: 16px;
}

.area-body > p {
    color: var(--ink-soft);
    margin-bottom: 16px;
}

.area-body .btn-row {
    margin-top: 24px;
}

.area-counties {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 24px 0 6px;
}

.area-county h3 {
    font-size: 1rem;
    color: var(--plow-red);
    margin-bottom: 6px;
    letter-spacing: 0.06em;
}

.area-county p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.area-cta {
    margin-top: 56px;
    text-align: center;
    background: var(--surface-2);
    border: 1px dashed var(--gold);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
}

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

.area-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.area-cta p {
    color: var(--ink-soft);
    max-width: 620px;
    margin: 0 auto;
}

.area-cta .btn-row {
    justify-content: center;
}

/* ==========================================================================
   Service Area Counties
   ========================================================================== */

.county-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 26px;
}

.county-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 4px solid var(--gold);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.county-card h3 {
    font-size: 1.24rem;
    margin-bottom: 16px;
    color: var(--forest);
}

.town-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.town-list li::before {
    content: '\2744';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--gold);
    font-size: 0.8rem;
}

/* ==========================================================================
   Property Types / Equipment / Notes
   ========================================================================== */

.type-grid,
.equip-grid,
.note-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 26px;
}

.note-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.type-card,
.note-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.type-card:hover,
.note-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.type-icon {
    font-size: 1.9rem;
    line-height: 1;
    display: inline-block;
    margin-bottom: 12px;
}

.type-card h3,
.note-card h3 {
    font-size: 1.18rem;
    margin-bottom: 10px;
}

.type-card p,
.note-card p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.note-card {
    border-left: 4px solid var(--plow-red);
}

.equip-card {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(201, 162, 39, 0.26);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform 0.22s ease, background 0.22s ease;
}

.equip-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.equip-card h3 {
    color: var(--gold-light);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.equip-card p {
    color: rgba(239, 227, 184, 0.78);
    font-size: 0.97rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 4px;
    right: 24px;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: var(--surface-3);
    pointer-events: none;
}

.testimonial-stars {
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.testimonial-card blockquote {
    color: var(--ink-soft);
    font-size: 1.01rem;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-card figcaption {
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.testimonial-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--forest-dark);
}

.testimonial-detail {
    display: block;
    font-size: 0.88rem;
    color: var(--ink-faint);
    margin-top: 3px;
}

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.07);
}

.gallery-note {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: var(--ink-faint);
    font-style: italic;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: var(--gold);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    font-family: var(--font-display);
    font-size: 1.06rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--forest-dark);
    text-transform: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    flex-shrink: 0;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--plow-red);
    transition: transform 0.22s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    color: var(--plow-red);
}

.faq-answer {
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--ink-soft);
    font-size: 0.99rem;
}

.faq-footer {
    text-align: center;
    margin-top: 32px;
    color: var(--ink-soft);
}

.faq-footer a {
    font-weight: 700;
    color: var(--plow-red);
}

/* ==========================================================================
   Forms
   ========================================================================== */

.quote-form-wrap {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px 36px;
    box-shadow: var(--shadow);
}

.section-alt .quote-form-wrap {
    background: var(--surface);
}

.quote-form-head {
    text-align: center;
    margin-bottom: 30px;
}

.quote-form-head h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.2rem);
    margin-bottom: 10px;
}

.quote-form-head p {
    color: var(--ink-soft);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.form-group-full {
    margin-top: 18px;
}

.form-group label {
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-dark);
}

.req {
    color: var(--plow-red);
}

.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form select,
.quote-form textarea,
.search-field {
    width: 100%;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--surface-2);
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 15px;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.quote-form textarea {
    resize: vertical;
    min-height: 110px;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus,
.search-field:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

.quote-form button[type="submit"] {
    margin-top: 26px;
}

/* Honeypot: present in the DOM, invisible and unreachable for people. */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-footnote {
    margin-top: 16px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--ink-faint);
}

.form-footnote a {
    color: var(--plow-red);
    font-weight: 600;
}

.form-note {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-align: center;
}

.form-note-success {
    background: #E4F3E6;
    border: 1px solid #3E8E4A;
    color: #1F5A29;
}

.form-note-error {
    background: #FBE6E6;
    border: 1px solid var(--plow-red);
    color: var(--plow-red-dark);
}

.search-form {
    display: flex;
    gap: 10px;
    max-width: 460px;
    margin: 20px auto;
}

.search-submit {
    flex-shrink: 0;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1.55fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow-sm);
}

.contact-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--forest);
}

.contact-card p {
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.contact-card-primary {
    background: var(--forest);
    border-color: var(--gold);
    text-align: center;
}

.contact-card-label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
}

.contact-phone {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.4vw, 2.1rem);
    font-weight: 700;
    color: var(--cream);
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.contact-phone:hover {
    color: var(--gold-light);
}

.contact-card-primary p {
    color: rgba(239, 227, 184, 0.82);
    font-size: 0.92rem;
}

.contact-card-note {
    margin-top: 10px;
    font-size: 0.88rem !important;
    color: var(--ink-faint) !important;
}

.contact-card-dark {
    background: var(--forest-dark);
    border-color: rgba(201, 162, 39, 0.3);
}

.contact-card-dark h3 {
    color: var(--gold-light);
    margin-bottom: 14px;
}

/* ==========================================================================
   Blog
   ========================================================================== */

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.post-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.post-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .post-card-media img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 26px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-date {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 10px;
}

.post-card h2,
.post-card h3 {
    font-size: 1.24rem;
    line-height: 1.24;
    margin-bottom: 12px;
}

.post-card h2 a,
.post-card h3 a {
    color: var(--forest-dark);
}

.post-card h2 a:hover,
.post-card h3 a:hover {
    color: var(--plow-red);
}

.post-card p {
    color: var(--ink-soft);
    font-size: 0.96rem;
    margin-bottom: 18px;
}

.post-card .text-link {
    margin-top: auto;
}

.post-hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 36px;
    box-shadow: var(--shadow);
}

.pagination {
    margin-top: 48px;
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 9px 15px;
    margin: 0 3px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    color: var(--forest-dark);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--forest);
    border-color: var(--forest);
    color: var(--cream);
}

.pagination .screen-reader-text {
    display: none;
}

.empty-state {
    text-align: center;
    color: var(--ink-soft);
    padding: 30px 0;
}

.empty-state .check-list {
    display: inline-block;
    text-align: left;
    margin: 20px 0;
}

.post-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    letter-spacing: 0.04em;
}

.post-nav-next {
    margin-left: auto;
    text-align: right;
}

/* Long-form content */
.prose {
    font-size: 1.06rem;
    color: var(--ink-soft);
}

.prose h2 {
    font-size: 1.75rem;
    margin: 40px 0 14px;
    color: var(--forest-dark);
}

.prose h3 {
    font-size: 1.34rem;
    margin: 30px 0 12px;
    color: var(--forest-dark);
}

.prose p {
    margin-bottom: 18px;
}

.prose ul,
.prose ol {
    margin: 0 0 22px 4px;
    padding-left: 22px;
    list-style: disc;
}

.prose ol {
    list-style: decimal;
}

.prose li {
    margin-bottom: 9px;
    padding-left: 4px;
}

.prose li::marker {
    color: var(--gold);
}

.prose a {
    color: var(--plow-red);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose strong {
    color: var(--ink);
}

.prose img,
.prose figure {
    border-radius: var(--radius);
    margin: 28px 0;
}

.prose blockquote {
    border-left: 4px solid var(--gold);
    background: var(--surface-2);
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
}

.prose th,
.prose td {
    border: 1px solid var(--line);
    padding: 11px 14px;
    text-align: left;
}

.prose th {
    background: var(--surface-2);
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ==========================================================================
   Final CTA
   ========================================================================== */

.final-cta {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #fff;
    background: var(--forest-dark);
}

.goat-theme-container .final-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 50%;
}

.final-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(18, 24, 14, 0.86), rgba(28, 36, 21, 0.92));
}

.final-cta-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
    padding: 88px 24px;
}

.final-cta-content h2 {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    color: #fff;
    margin-bottom: 16px;
}

.final-cta-content p {
    color: rgba(255, 255, 255, 0.87);
    font-size: 1.08rem;
}

.final-cta-content .btn-row {
    justify-content: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--forest-dark);
    color: rgba(239, 227, 184, 0.76);
    font-size: 0.96rem;
}

.footer-inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 66px 24px 44px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 42px;
}

.goat-theme-container .footer-logo {
    height: 168px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    margin-bottom: 18px;
}

.footer-tagline {
    margin-bottom: 18px;
    line-height: 1.65;
}

.footer-brand-col .brand-badge {
    margin-bottom: 18px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-badge {
    font-family: var(--font-display);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(201, 162, 39, 0.5);
    color: var(--gold-light);
    border-radius: 999px;
    padding: 4px 12px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--cream-dim);
    font-family: var(--font-display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.86rem;
}

.footer-social a:hover {
    color: var(--gold-light);
}

.footer-heading {
    font-size: 0.94rem;
    letter-spacing: 0.16em;
    color: var(--gold-light);
    margin-bottom: 18px;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: rgba(239, 227, 184, 0.76);
}

.footer-list a:hover {
    color: var(--gold-light);
}

.footer-plain {
    color: rgba(239, 227, 184, 0.62);
    line-height: 1.55;
}

.footer-phone {
    font-family: var(--font-display);
    font-size: 1.34rem;
    font-weight: 600;
    color: var(--cream) !important;
    letter-spacing: 0.02em;
}

.footer-phone:hover {
    color: var(--gold-light) !important;
}

.footer-areas {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 28px 24px;
    border-top: 1px solid rgba(239, 227, 184, 0.13);
    text-align: center;
}

.footer-areas .footer-heading {
    margin-bottom: 12px;
}

.footer-area-list {
    font-size: 0.86rem;
    color: rgba(239, 227, 184, 0.55);
    line-height: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 1px solid rgba(239, 227, 184, 0.13);
    padding: 22px 24px;
    text-align: center;
    font-size: 0.86rem;
    color: rgba(239, 227, 184, 0.5);
}

.footer-bottom p + p {
    margin-top: 5px;
}

/* ==========================================================================
   Mobile Sticky CTA Bar
   ========================================================================== */

.mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 120;
    background: var(--forest-dark);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.24);
}

.mobile-cta {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    font-family: var(--font-display);
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
}

.mobile-cta-quote {
    background: var(--plow-red);
    color: #fff;
}

.mobile-cta:hover {
    color: var(--gold-light);
}

.mobile-cta-quote:hover {
    color: #fff;
    background: var(--plow-red-dark);
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .service-row {
        gap: 36px;
    }
}

/* Eight menu items plus a CTA button need more room than the layout
   breakpoint below, so the drawer takes over earlier than the grid changes. */
@media (max-width: 1180px) {
    .desktop-nav,
    .btn-header {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}

@media (max-width: 980px) {
    .area-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .area-media {
        order: -1;
    }
    .service-row {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .service-row-reverse .service-row-media {
        order: 0;
    }
    .split-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .goat-theme-container {
        font-size: 16px;
        --header-h: 84px;
    }
    .goat-theme-container .brand-logo,
    .goat-theme-container .custom-logo {
        height: 72px;
    }
    .goat-theme-container .footer-logo {
        height: 150px;
    }
    .section {
        padding: 60px 0;
    }
    .section-head {
        margin-bottom: 38px;
    }
    .topbar-inner {
        justify-content: center;
        gap: 8px 16px;
        font-size: 0.8rem;
    }
    .topbar-hours,
    .topbar-area {
        display: none;
    }
    .topbar-phone {
        margin-left: 0;
    }
    .hero {
        min-height: 640px;
    }
    .hero-content {
        padding: 66px 20px 100px;
    }
    .hero-strip-inner {
        gap: 12px 18px;
        padding: 16px 20px;
    }
    .hero-strip-inner span {
        font-size: 0.76rem;
        flex-direction: column;
        gap: 2px;
        align-items: center;
        flex: 1 1 40%;
    }
    .hero-strip-inner strong {
        font-size: 1.2rem;
    }
    .page-hero {
        min-height: 340px;
    }
    .page-hero-content {
        padding: 70px 20px 56px;
    }
    .quote-form-wrap {
        padding: 28px 20px 26px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .btn-row {
        flex-direction: column;
        align-items: stretch;
    }
    .btn-row .btn {
        width: 100%;
    }
    .footer-inner {
        grid-template-columns: 1fr;
        padding-top: 48px;
        text-align: center;
    }
    .footer-badges,
    .footer-social {
        justify-content: center;
    }
    .footer-brand-col .brand-badge,
    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
    .mobile-cta-bar {
        display: flex;
    }
    /* Room for the sticky bar so it never covers the last line of content. */
    .site-footer {
        padding-bottom: 62px;
    }
    .steps {
        gap: 34px;
    }
    .final-cta-content {
        padding: 62px 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    .goat-theme-container .brand-logo,
    .goat-theme-container .custom-logo {
        height: 62px;
    }
    .brand-badge-main {
        font-size: 1.34rem;
    }
    .hero h1 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }
    .service-body,
    .split-body {
        padding: 24px 20px 26px;
    }
}

/* ==========================================================================
   Motion & Print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .goat-theme-container *,
    .goat-theme-container *::before,
    .goat-theme-container *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .snowfall {
        display: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    .topbar,
    .site-header,
    .mobile-nav-panel,
    .nav-overlay,
    .mobile-cta-bar,
    .hero-video,
    .snowfall,
    .final-cta {
        display: none !important;
    }
    .goat-theme-container {
        color: #000;
    }
}
