/*
Theme Name: Dump Trailer Rentals
Theme URI: https://example.com
Author: Utah County Dump Trailer Rental
Description: Clean, mobile-first block theme for Utah County Dump Trailer Rental
Version: 2.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dump-trailer-rentals
*/

/* =============================================================================
   SPACING SYSTEM — 8px grid (industry standard)
   Base: 8px = 0.5rem
   Scale: 4 · 8 · 12 · 16 · 24 · 32 · 40 · 48 · 56 · 64 · 80 · 96 · 120
   Rem:   .25 .5  .75  1    1.5  2    2.5  3    3.5  4    5    6    7.5
   ============================================================================= */

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;                          /* Industry: 1.5–1.75 for body */
}

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

/* Sections sit flush (gaps handled by section padding) */
.wp-site-blocks > * + * {
    margin-block-start: 0;
}

.wp-site-blocks > footer {
    margin-block-start: 0;
}

/* =============================================
   VERTICAL RHYTHM — Industry-standard element spacing

   Reference (px / rem):
     Paragraph to paragraph:   24px / 1.5rem
     Heading above (H2):       48px / 3rem
     Heading above (H3):       40px / 2.5rem
     Heading above (H4):       32px / 2rem
     Heading to body below:    16px / 1rem
     List after paragraph:     16px / 1rem
     Button group after body:  32px / 2rem
     Image after/before body:  32px / 2rem
     Separator:                40px / 2.5rem each side
     Section internal padding: 80–96px / 5–6rem  (desktop)
                               48–64px / 3–4rem  (mobile)
     Card internal padding:    32px / 2rem
     Card element gap:         16px / 1rem
     Column gap:               32px / 2rem
     Form field gap:            24px / 1.5rem
   ============================================= */

/* Reset all block margins inside containers */
.wp-block-group > *,
.wp-block-column > *,
.wp-block-post-content > *,
.entry-content > * {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* --- Paragraph-to-paragraph: 24px --- */
.wp-block-group > * + *,
.wp-block-column > * + *,
.wp-block-post-content > * + *,
.entry-content > * + * {
    margin-block-start: 1.5rem;            /* 24px */
}

/* --- H2 above: 48px --- */
.wp-block-group > * + h2,
.wp-block-column > * + h2,
.wp-block-post-content > * + h2,
.entry-content > * + h2,
.wp-block-group > * + .wp-block-heading:where(h2),
.wp-block-post-content > * + .wp-block-heading:where(h2) {
    margin-block-start: 3rem;              /* 48px */
}

/* --- H3 above: 40px --- */
.wp-block-group > * + h3,
.wp-block-column > * + h3,
.wp-block-post-content > * + h3,
.entry-content > * + h3 {
    margin-block-start: 2.5rem;            /* 40px */
}

/* --- H4 above: 32px --- */
.wp-block-group > * + h4,
.wp-block-column > * + h4,
.wp-block-post-content > * + h4,
.entry-content > * + h4 {
    margin-block-start: 2rem;              /* 32px */
}

/* --- Heading to first child below: 16px (tight coupling) --- */
h1 + *,
h2 + *,
h3 + *,
h4 + *,
.wp-block-heading + * {
    margin-block-start: 1rem !important;   /* 16px */
}

/* --- Lists after paragraphs: 16px --- */
p + ul,
p + ol,
.wp-block-paragraph + .wp-block-list {
    margin-block-start: 1rem;              /* 16px */
}

/* List internal items */
.wp-block-list li + li {
    margin-block-start: 0.5rem;            /* 8px */
}

/* --- Button groups after content: 32px --- */
* + .wp-block-buttons,
* + .wp-block-button {
    margin-block-start: 2rem;              /* 32px */
}

/* Space between multiple buttons in a row: 12px */
.wp-block-buttons {
    gap: 0.75rem;                          /* 12px */
}

/* --- Separators: 40px each side --- */
.wp-block-separator {
    margin-block-start: 2.5rem !important; /* 40px */
    margin-block-end: 2.5rem !important;   /* 40px */
}

/* --- Column gap: 32px --- */
.wp-block-columns {
    gap: 2rem;                             /* 32px */
}

/* --- Image blocks: 32px --- */
* + .wp-block-image,
.wp-block-image + * {
    margin-block-start: 2rem;              /* 32px */
}

* + .image-placeholder,
.image-placeholder + * {
    margin-block-start: 2rem;              /* 32px */
}

/* --- Spacer (no extra margin, it IS the space) --- */
.wp-block-spacer {
    margin: 0 !important;
}

/* --- Shortcodes (forms, embeds): 24px --- */
* + .wp-block-shortcode,
.wp-block-shortcode + * {
    margin-block-start: 1.5rem;            /* 24px */
}

/* --- Blockquotes: 32px --- */
* + .wp-block-quote,
.wp-block-quote + * {
    margin-block-start: 2rem;              /* 32px */
}

.wp-block-quote {
    padding: 1.5rem 2rem;                  /* 24px 32px */
    border-left: 4px solid var(--wp--preset--color--primary);
}

/* --- Tables: 32px --- */
* + .wp-block-table,
.wp-block-table + * {
    margin-block-start: 2rem;              /* 32px */
}

/* --- Page content wrapper spacing (FAQ groups etc.) --- */
.wp-block-post-content > .wp-block-group + .wp-block-group {
    margin-block-start: 0.5rem;            /* 8px — they have internal padding */
}

/* =============================================
   SKIP LINK (Accessibility)
   ============================================= */
.skip-to-content {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.75rem 1.5rem;              /* 12px 24px */
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--secondary);
    font-family: \'Barlow Condensed\', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: top 0.2s;
}

.skip-to-content:focus {
    top: 1rem;
}

/* =============================================
   SITE HEADER — 16px vertical padding (industry: 12–20px)
   ============================================= */
.site-header {
    border-bottom: 3px solid var(--wp--preset--color--primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding-top: 1rem;                     /* 16px */
    padding-bottom: 1rem;                  /* 16px */
}

.site-header .wp-block-site-title {
    flex-shrink: 0;
}

.site-header .wp-block-site-title a {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    text-decoration: none !important;
}

/* Nav links: 12px vertical, 0 horizontal (flex gap handles horizontal) */
.site-header .wp-block-navigation a {
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.75rem 0;                    /* 12px vertical — 44px+ touch target */
}

/* Nav item spacing: 32px between items */
.site-header .wp-block-navigation .wp-block-navigation-item + .wp-block-navigation-item {
    margin-left: 2rem;                     /* 32px */
}

/* Mobile nav overlay */
.site-header .wp-block-navigation__responsive-container.is-menu-open {
    background: var(--wp--preset--color--secondary) !important;
    padding-top: 2rem;                     /* 32px */
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item a {
    font-size: 1.25rem !important;
    padding: 1rem 1.5rem;                  /* 16px 24px — large touch targets */
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item + .wp-block-navigation-item {
    margin-left: 0;
    margin-top: 0.25rem;                   /* 4px */
}

/* Hamburger button */
.wp-block-navigation__responsive-container-open {
    color: var(--wp--preset--color--light) !important;
}

/* =============================================
   NAV SUBMENU DROPDOWN (Service Area > cities)
   ============================================= */
.site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    background: var(--wp--preset--color--secondary) !important;
    border: 1px solid #2a2a2a;
    border-top: 3px solid var(--wp--preset--color--primary);
    border-radius: 0 0 6px 6px;
    padding: 0.5rem 0 !important;
    min-width: 220px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    margin-top: 0 !important;
}

.site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item {
    width: 100%;
}

.site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container a {
    padding: 0.6rem 1.25rem !important;       /* 10px 20px */
    font-size: 0.85rem !important;
    color: #cccccc !important;
    white-space: nowrap;
    display: block;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container a:hover {
    background: #111111;
    color: var(--wp--preset--color--primary) !important;
}

/* First item (All Service Areas) — visual emphasis */
.site-header .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation-item:first-child a {
    color: var(--wp--preset--color--primary) !important;
    border-bottom: 1px solid #2a2a2a;
    margin-bottom: 0.25rem;
    padding-bottom: 0.75rem !important;
    font-weight: 800;
}

/* Dropdown arrow indicator */
.site-header .wp-block-navigation .has-child > .wp-block-navigation-item__content {
    gap: 0.25rem;
}

.site-header .wp-block-navigation .wp-block-navigation__submenu-icon {
    padding: 0 !important;
}

/* Mobile: expand submenu inline when menu is open */
@media (max-width: 767px) {
    .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
        position: static !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding-left: 1rem !important;
        min-width: 0;
    }

    .site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a {
        font-size: 0.95rem !important;
        padding: 0.5rem 1rem !important;
    }
}

/* =============================================
   HERO WRAPPER — dark background behind the box
   ============================================= */
.hero-wrapper {
    padding: 3rem 1.5rem !important;         /* 48px top/bottom, 24px sides */
}

/* =============================================
   HERO SECTION — Boxed centered vertical stack
   ============================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5rem 3rem 3rem !important;      /* 80px top, 48px bottom, 48px sides */
    border: 1px solid #2a2a2a;
}

/* Subtle radial glow behind content */
.hero-section::before {
    content: \'\';
    position: absolute;
    top: 40%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(245, 196, 0, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-section > * {
    position: relative;
    z-index: 1;
}

/* Eyebrow: 16px below */
.hero-eyebrow {
    margin-bottom: 1rem !important;          /* 16px */
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Headline: 24px below */
.hero-headline {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.08 !important;
    margin-bottom: 1.5rem !important;        /* 24px */
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

/* Subtitle: 32px below */
.hero-subtitle {
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2rem !important;          /* 32px */
    line-height: 1.6;
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* CTA buttons: 20px below */
.hero-cta {
    margin-bottom: 1.25rem !important;       /* 20px */
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

/* Phone line */
.hero-phone {
    animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* =============================================
   HERO TRUST BAR — value props inside the box
   ============================================= */
.hero-trust-bar {
    padding-top: 2rem !important;            /* 32px */
    margin-top: 2.5rem !important;           /* 40px above */
    border-top: 1px solid #333;
}

.hero-trust-bar > .wp-block-group {
    gap: 3rem;                               /* 48px between items */
}

.trust-item {
    gap: 0.5rem !important;                  /* 8px between value + label */
    align-items: baseline !important;
}

.trust-item > * + * {
    margin-block-start: 0 !important;
}

.trust-value {
    margin: 0 !important;
    line-height: 1 !important;
}

.trust-label {
    margin: 0 !important;
    line-height: 1 !important;
}

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

/* =============================================
   SECTION BANDS — 96px vertical padding (industry: 80–120px)
   ============================================= */
.wp-block-group.alignfull.animate-on-scroll,
.wp-block-group.alignfull.has-secondary-background-color,
.wp-block-group.alignfull.cta-band,
.wp-block-group.alignfull[style*=\"background-color:#111\"] {
    padding-top: 6rem !important;          /* 96px */
    padding-bottom: 6rem !important;       /* 96px */
}

/* Section label: 8px below */
.section-label {
    font-family: \'Barlow Condensed\', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: var(--wp--preset--color--primary) !important;
    margin-bottom: 0.5rem !important;      /* 8px */
}

/* Section title: 40px below (to cards/content) */
.section-title {
    font-size: clamp(1.6rem, 3vw, 2.5rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 2.5rem !important;      /* 40px */
}

/* CTA buttons below section content: 40px above */
.animate-on-scroll > .wp-block-buttons,
.has-secondary-background-color > .wp-block-buttons {
    margin-block-start: 2.5rem !important; /* 40px */
}

/* =============================================
   STEP CARDS — 32px internal padding (industry: 24–32px)
   ============================================= */
.step-card {
    border: 1px solid #333;
    padding: 2rem !important;              /* 32px */
    position: relative;
    transition: border-color 0.2s ease, transform 0.2s ease;
    height: 100%;
}

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

/* Card internal spacing: 12px between elements */
.step-card > * + * {
    margin-block-start: 0.75rem;           /* 12px */
}

.step-number {
    font-family: \'Barlow Condensed\', sans-serif !important;
    font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: var(--wp--preset--color--primary) !important;
    display: block;
    margin-bottom: 0.5rem !important;      /* 8px */
}

/* =============================================
   BENEFIT CARDS — 32px internal padding
   ============================================= */
.benefit-card {
    background: var(--wp--preset--color--surface);
    padding: 2rem !important;              /* 32px */
    border-top: 3px solid var(--wp--preset--color--accent);
    transition: transform 0.2s ease;
    height: 100%;
}

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

/* Card internal spacing: 12px */
.benefit-card > * + * {
    margin-block-start: 0.75rem;           /* 12px */
}

.benefit-title {
    font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
    font-weight: 900 !important;
    letter-spacing: 0.02em !important;
    color: var(--wp--preset--color--light) !important;
    margin-bottom: 0.5rem !important;      /* 8px */
}

/* =============================================
   SERVICE AREA TAGS — 8px gap (industry: 8–12px)
   ============================================= */
.city-tag {
    display: inline-block;
    background: var(--wp--preset--color--surface);
    border: 1px solid #333;
    padding: 0.5rem 1rem;                  /* 8px 16px */
    font-family: \'Barlow Condensed\', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin: 0 !important;
}

.city-tag:hover {
    background: #333;
    border-color: var(--wp--preset--color--primary);
}

/* =============================================
   FAQ SECTION — 24px item padding (industry: 20–28px)
   ============================================= */
.faq-item {
    border-bottom: 1px solid #333;
    padding: 1.5rem 0 !important;          /* 24px top/bottom */
}

.faq-item:first-child {
    padding-top: 0 !important;
}

/* FAQ internal spacing: 8px */
.faq-item > * + * {
    margin-block-start: 0.5rem;            /* 8px */
}

.faq-question {
    font-size: clamp(1rem, 1.5vw, 1.1rem) !important;
    font-weight: 700 !important;
    color: var(--wp--preset--color--primary) !important;
    margin-bottom: 0.25rem !important;     /* 4px */
}

/* =============================================
   CTA BAND — 96px vertical padding
   ============================================= */
.cta-band {
    background: linear-gradient(135deg, var(--wp--preset--color--secondary) 60%, #2A1A00 100%);
    border-top: 4px solid var(--wp--preset--color--primary);
}

.cta-band .wp-block-heading {
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    font-weight: 900 !important;
    margin-bottom: 1rem !important;        /* 16px */
}

/* CTA subtitle paragraphs: 8px gap between them */
.cta-band > p + p {
    margin-block-start: 0.5rem !important; /* 8px */
}

/* CTA buttons: 32px above */
.cta-band > .wp-block-buttons {
    margin-block-start: 2rem !important;   /* 32px */
}

/* =============================================
   PAGE TITLE BANNER — 80px top, 64px bottom (industry: 64–96px)
   ============================================= */
.page-title-banner {
    border-bottom: 3px solid var(--wp--preset--color--primary);
    padding-top: 5rem !important;          /* 80px */
    padding-bottom: 4rem !important;       /* 64px */
}

.page-title-banner .wp-block-post-title {
    font-size: clamp(1.75rem, 4vw, 3rem) !important;
    font-weight: 900 !important;
    color: var(--wp--preset--color--light) !important;
    text-transform: uppercase !important;
    margin-bottom: 0 !important;
}

/* Subtitle after page title: 12px */
.page-title-banner .wp-block-post-title + *,
.page-title-banner .wp-block-heading + * {
    margin-block-start: 0.75rem !important; /* 12px */
}

.page-title-accent {
    display: block;
    width: 60px;
    height: 4px;
    background: var(--wp--preset--color--accent);
    margin-top: 1rem;                      /* 16px */
}

/* =============================================
   PAGE CONTENT AREA — 80px padding (industry: 64–96px)
   ============================================= */
.wp-block-group.alignfull.has-secondary-background-color > .wp-block-post-content,
.wp-block-group.alignfull > .wp-block-post-content {
    padding-top: 0;
    padding-bottom: 0;
}

/* The wrapping group around post-content on inner pages */
.wp-block-group.alignfull.has-secondary-background-color:not(.animate-on-scroll):not(.page-title-banner):not(.cta-band) {
    padding-top: 5rem !important;          /* 80px */
    padding-bottom: 5rem !important;       /* 80px */
}

/* =============================================
   PRICING CARDS — 40px internal padding (industry: 32–48px)
   ============================================= */
.pricing-card {
    background: var(--wp--preset--color--surface);
    border: 1px solid #333;
    padding: 2.5rem 2rem !important;       /* 40px 32px */
    text-align: center;
    transition: border-color 0.2s ease, transform 0.2s ease;
    height: 100%;
}

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

.pricing-card.featured {
    border-color: var(--wp--preset--color--primary);
    border-width: 2px;
    position: relative;
}

/* Pricing card internal spacing: 12px */
.pricing-card > * + * {
    margin-block-start: 0.75rem;           /* 12px */
}

/* Price amount to period: 4px */
.price-amount + .price-period {
    margin-block-start: 0.25rem !important; /* 4px */
}

/* Separator in pricing card: 16px */
.pricing-card .wp-block-separator {
    margin-block-start: 1rem !important;   /* 16px */
    margin-block-end: 1rem !important;     /* 16px */
}

/* Button in pricing card: 24px above */
.pricing-card .wp-block-buttons {
    margin-block-start: 1.5rem !important; /* 24px */
}

.price-amount {
    font-family: \'Barlow Condensed\', sans-serif !important;
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 900 !important;
    color: var(--wp--preset--color--primary) !important;
    line-height: 1 !important;
}

.price-period {
    font-size: 0.9rem !important;
    color: #999 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   CONTENT IMAGES (inside post_content)
   ============================================= */
.content-image,
.content-image figure,
figure.content-image {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.content-image img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.contact-sidebar-image img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* =============================================
   HOMEPAGE IMAGE BANNERS
   ============================================= */
.hero-image-banner .wp-block-image,
.hero-image-banner figure {
    margin: 0 !important;
}

.hero-image-banner img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mountain-banner .wp-block-image,
.mountain-banner figure {
    margin: 0 !important;
}

.mountain-banner img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    display: block;
}

/* Benefit card with image */
.benefit-card.with-image {
    padding: 0 !important;
    overflow: hidden;
}

.benefit-card.with-image .card-image,
.benefit-card.with-image figure {
    margin: 0 !important;
}

.benefit-card.with-image .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.benefit-card.with-image > .benefit-title,
.benefit-card.with-image > p {
    padding-left: 2rem;
    padding-right: 2rem;
}

.benefit-card.with-image > .benefit-title {
    padding-top: 1.75rem;
}

.benefit-card.with-image > p:last-child {
    padding-bottom: 2rem;
}

.benefit-card.with-image > * + * {
    margin-block-start: 0.75rem !important;
}

/* Fade-in for card images */
.benefit-card.with-image .card-image img {
    transition: transform 0.4s ease;
}

.benefit-card.with-image:hover .card-image img {
    transform: scale(1.03);
}

/* =============================================
   LOCATION PAGES
   ============================================= */

/* Nearby cities grid */
.nearby-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;                          /* 12px */
}

.nearby-cities a {
    display: inline-block;
    background: var(--wp--preset--color--surface);
    border: 1px solid #333;
    padding: 0.5rem 1.25rem;               /* 8px 20px */
    font-family: \'Barlow Condensed\', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--wp--preset--color--light) !important;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
}

.nearby-cities a:hover {
    background: #333;
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary) !important;
}

/* Location intro with left accent border */
.location-intro {
    border-left: 4px solid var(--wp--preset--color--primary);
    padding-left: 1.5rem !important;       /* 24px */
}

/* Haul list with check-style bullets */
.location-haul-list li {
    padding-left: 0.25rem;
    margin-bottom: 0.5rem;
}

/* Location pricing highlight box */
.location-pricing-box {
    background: var(--wp--preset--color--surface) !important;
    border: 1px solid #333;
    border-left: 4px solid var(--wp--preset--color--primary);
    padding: 2rem !important;              /* 32px */
    border-radius: 4px;
}

/* =============================================
   EQUAL-HEIGHT CARD COLUMNS
   ============================================= */
.equal-cards > .wp-block-column {
    display: flex;
    flex-direction: column;
}

.equal-cards > .wp-block-column > .wp-block-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* =============================================
   FOOTER — 80px top, 48px bottom (industry: 64–96px / 32–48px)
   ============================================= */
.site-footer {
    border-top: 3px solid var(--wp--preset--color--primary);
    padding-top: 5rem !important;          /* 80px */
    padding-bottom: 3rem !important;       /* 48px */
}

.site-footer .wp-block-site-title a {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    text-decoration: none !important;
}

/* Footer column gap: 48px */
.site-footer .wp-block-columns {
    gap: 3rem;                             /* 48px */
}

/* Footer heading: 16px below */
.footer-heading {
    font-size: 0.8rem !important;
    letter-spacing: 0.15em !important;
    color: var(--wp--preset--color--primary) !important;
    margin-bottom: 1rem !important;        /* 16px */
}

/* Footer links: 8px between items */
.footer-links > * + * {
    margin-block-start: 0.25rem;           /* 4px — links have their own padding */
}

.footer-links a {
    display: block;
    color: #cccccc !important;
    text-decoration: none !important;
    padding: 0.25rem 0;                    /* 4px top/bottom — total ~12px spacing */
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--wp--preset--color--primary) !important;
}

/* Footer separator: 32px each side */
.site-footer .wp-block-separator {
    margin-block-start: 2.5rem !important; /* 40px */
    margin-block-end: 1.5rem !important;   /* 24px */
}

/* Footer copyright: 0 top (separator handles it) */
.site-footer .has-text-align-center:last-child {
    margin-block-start: 0 !important;
}

/* =============================================
   BUTTONS — 14px 32px padding (industry: 12–16px / 24–32px)
   ============================================= */
.wp-block-button__link {
    padding: 0.875rem 2rem;                /* 14px 32px */
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.wp-block-button__link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Phone CTA button */
.phone-cta .wp-block-button__link {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   IMAGE PLACEHOLDERS
   ============================================= */
.image-placeholder {
    background: linear-gradient(135deg, #2A2A2A 0%, #333 100%);
    border: 2px dashed #444;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    border-radius: 4px;
}

.image-placeholder p {
    color: #666 !important;
    font-family: \'Barlow Condensed\', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================
   CONTACT FORM 7 — 24px field gap (industry: 20–24px)
   ============================================= */
.cf7-field-group {
    margin-bottom: 1.5rem;                 /* 24px */
}

.wpcf7 label {
    display: block;
    font-family: \'Barlow Condensed\', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #aaaaaa;
    margin-bottom: 0.5rem;                 /* 8px */
}

.wpcf7 label abbr {
    color: var(--wp--preset--color--accent);
    text-decoration: none;
    margin-left: 2px;
}

/* Form inputs: 12px 16px padding (industry: 10–14px / 12–16px) */
.wpcf7 input[type=\"text\"],
.wpcf7 input[type=\"tel\"],
.wpcf7 input[type=\"email\"],
.wpcf7 input[type=\"date\"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    background: var(--wp--preset--color--surface);
    border: 1px solid #444;
    border-top: 2px solid #555;
    color: #ffffff;
    font-family: \'Barlow\', sans-serif;
    font-size: 1rem;
    padding: 0.75rem 1rem;                 /* 12px 16px */
    border-radius: 4px;
    transition: border-color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

/* Space between form rows: 24px */
.wpcf7 p + p,
.wpcf7 .cf7-field-group + .cf7-field-group {
    margin-top: 1.5rem;                    /* 24px */
}

.wpcf7 input[type=\"date\"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--primary);
    border-top-color: var(--wp--preset--color--primary);
}

/* Submit button: 14px 40px padding, 32px above */
.wpcf7 input[type=\"submit\"] {
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--light);
    font-family: \'Barlow Condensed\', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.875rem 2.5rem;              /* 14px 40px */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-top: 2rem;                      /* 32px above */
    width: 100%;
}

.wpcf7 input[type=\"submit\"]:hover {
    background: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--secondary);
    transform: translateY(-1px);
}

.wpcf7 .wpcf7-response-output {
    margin-top: 1.5rem;                    /* 24px */
    padding: 1rem 1.5rem;                  /* 16px 24px */
    border: 2px solid var(--wp--preset--color--primary);
    font-family: \'Barlow Condensed\', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.95rem;
    border-radius: 4px;
}

.wpcf7 .wpcf7-not-valid-tip {
    color: var(--wp--preset--color--accent);
    font-size: 0.85rem;
    margin-top: 0.25rem;                   /* 4px */
}

/* =============================================
   CONTACT PAGE — sidebar card spacing
   ============================================= */
.page-title-banner + .wp-block-group .wp-block-columns {
    gap: 3rem;                             /* 48px */
}

/* Quick contact sidebar card: 32px padding */
.page-title-banner + .wp-block-group .wp-block-columns .wp-block-column:last-child .wp-block-group:first-child {
    padding: 2rem !important;              /* 32px */
}

/* Sidebar card internal: 20px between items */
.page-title-banner + .wp-block-group .wp-block-columns .wp-block-column:last-child .wp-block-group:first-child > * + * {
    margin-block-start: 1.25rem;           /* 20px */
}

/* =============================================
   RESPONSIVE — DESKTOP (1024px+)
   ============================================= */
@media (min-width: 1024px) {
    .hero-wrapper {
        padding: 4rem 2rem !important;     /* 64px top/bottom */
    }

    .hero-section {
        padding: 6rem 4rem 4rem !important; /* 96px top, 64px bottom, 64px sides */
    }

    /* Larger section padding on desktop */
    .wp-block-group.alignfull.animate-on-scroll,
    .wp-block-group.alignfull.has-secondary-background-color:not(.page-title-banner),
    .wp-block-group.alignfull.cta-band,
    .wp-block-group.alignfull[style*=\"background-color:#111\"] {
        padding-top: 7.5rem !important;    /* 120px */
        padding-bottom: 7.5rem !important; /* 120px */
    }
}

/* =============================================
   RESPONSIVE — TABLET (768px+)
   ============================================= */
@media (min-width: 768px) {
    .hero-section {
        min-height: 55vh;
    }

    .wpcf7 input[type=\"submit\"] {
        width: auto;
    }
}

/* =============================================
   RESPONSIVE — MOBILE (< 768px)
   Section padding shrinks to 48–64px (industry mobile standard)
   ============================================= */
@media (max-width: 767px) {
    /* Stack columns on mobile */
    .wp-block-columns {
        flex-direction: column !important;
        gap: 1.5rem;                       /* 24px between stacked cards */
    }

    .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
    }

    /* Section padding: 48px (industry mobile: 40–64px) */
    .wp-block-group.alignfull.animate-on-scroll,
    .wp-block-group.alignfull.has-secondary-background-color:not(.page-title-banner),
    .wp-block-group.alignfull.cta-band,
    .wp-block-group.alignfull[style*=\"background-color:#111\"] {
        padding-top: 3rem !important;      /* 48px */
        padding-bottom: 3rem !important;   /* 48px */
    }

    /* Content side padding: 20px (industry: 16–24px) */
    .wp-block-group.alignfull > .wp-block-group__inner-container,
    .wp-block-group.alignfull {
        padding-left: 1.25rem !important;  /* 20px */
        padding-right: 1.25rem !important; /* 20px */
    }

    /* Stack buttons vertically */
    .wp-block-buttons {
        flex-direction: column;
        gap: 0.75rem;                      /* 12px */
    }

    .wp-block-button {
        width: 100%;
    }

    .wp-block-button__link {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero wrapper: less padding on mobile */
    .hero-wrapper {
        padding: 1.5rem 1rem !important;   /* 24px top/bottom, 16px sides */
    }

    /* Hero box: tighter on mobile */
    .hero-section {
        padding: 3rem 1.5rem 2rem !important; /* 48px top, 32px bottom, 24px sides */
        border-radius: 6px !important;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    /* Trust bar: tighter on mobile */
    .hero-trust-bar {
        padding-top: 1.5rem !important;    /* 24px */
        margin-top: 1.5rem !important;     /* 24px */
        gap: 1.5rem 2rem;                  /* 24px row, 32px col */
    }

    /* Page title banner: 48px top, 32px bottom */
    .page-title-banner {
        padding-top: 3rem !important;      /* 48px */
        padding-bottom: 2rem !important;   /* 32px */
    }

    /* Service area tags */
    .city-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;           /* 6px 12px */
    }

    /* Cards: 24px padding on mobile */
    .step-card,
    .benefit-card {
        padding: 1.5rem !important;        /* 24px */
    }

    .pricing-card {
        padding: 2rem 1.5rem !important;   /* 32px 24px */
    }

    /* Section title: 24px below on mobile */
    .section-title {
        margin-bottom: 1.5rem !important;  /* 24px */
    }

    /* Footer: 48px top, 32px bottom */
    .site-footer {
        padding-top: 3rem !important;      /* 48px */
        padding-bottom: 2rem !important;   /* 32px */
    }

    .site-footer .wp-block-columns {
        gap: 2rem !important;              /* 32px between stacked footer cols */
    }

    /* Content area pages: 48px padding */
    .wp-block-group.alignfull.has-secondary-background-color:not(.animate-on-scroll):not(.page-title-banner):not(.cta-band) {
        padding-top: 3rem !important;      /* 48px */
        padding-bottom: 3rem !important;   /* 48px */
    }

    /* Prevent horizontal scroll */
    .alignfull {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Reduce heading margins on mobile */
    .wp-block-group > * + h2,
    .wp-block-column > * + h2,
    .wp-block-post-content > * + h2,
    .entry-content > * + h2 {
        margin-block-start: 2.5rem;        /* 40px (vs 48px desktop) */
    }

    .wp-block-group > * + h3,
    .wp-block-column > * + h3,
    .wp-block-post-content > * + h3,
    .entry-content > * + h3 {
        margin-block-start: 2rem;          /* 32px (vs 40px desktop) */
    }
}

/* =============================================
   TOUCH-FRIENDLY TARGETS — min 44px (Apple HIG / WCAG)
   ============================================= */
@media (pointer: coarse) {
    .wp-block-button__link,
    .wp-block-navigation-item__content,
    .city-tag {
        min-height: 44px;                  /* Apple HIG minimum */
        display: inline-flex;
        align-items: center;
    }
}

/* =============================================
   EDITOR VISIBILITY
   ============================================= */
.editor-styles-wrapper .animate-on-scroll,
.editor-styles-wrapper .hero-headline,
.editor-styles-wrapper .hero-subtitle,
.editor-styles-wrapper .hero-cta,
.editor-styles-wrapper .hero-section::before {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* =============================================
   REDUCED MOTION
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll,
    .hero-headline,
    .hero-subtitle,
    .hero-cta {
        opacity: 1 !important;
        transform: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .site-header,
    .site-footer,
    .wp-block-button,
    .cta-band {
        display: none !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }
}
