/* Epping Easy Movers - landing page.
   Selectors are prefixed .eeml so nothing leaks into the theme. The one
   exception is the block below, which strips theme chrome -- safe because
   this stylesheet is only enqueued on the landing template. */

/* Theme page-title banner, breadcrumb and share bar pushed the hero 726px
   down the page and produced a second H1. A landing page wants the offer
   above the fold, not a breadcrumb. */
.header-title,
.entry-header .entry-title,
.site-breadcrumb,
.breadcrumb,
.breadcrumbs,
.rank-math-breadcrumb,
.entry-share,
.post-share,
.share-wrapper,
.single-share,
.page-header {
    display: none !important;
}

/* The child theme appends a banner CTA (div.continer > button.brm-mobile-quote)
   whose image renders 1440px tall here, leaving ~1950px of dead space before
   the footer. The landing page has its own CTAs, so drop it. */
.continer,
button.brm-mobile-quote {
    display: none !important;
}

/* The theme wraps page content in padding that would gap the full-bleed hero. */
.site-content,
.content-area,
#primary,
#content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.eeml {
    --navy: #12374f;
    --navy-deep: #0c2537;
    --orange: #f97316;
    --orange-dark: #ea6a0c;
    --green: #16a34a;
    --gold: #fc0;
    --ink: #1e293b;
    --muted: #64748b;
    --line: #e2e8f0;
    --bg-alt: #f8fafc;

    font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    color: var(--ink);
    line-height: 1.6;
}

.eeml *, .eeml *::before, .eeml *::after { box-sizing: border-box; }

/* Break every section out of the theme's fixed-width container so coloured
   backgrounds run edge to edge. The theme wraps page content in a max-width
   container, which left white gutters either side of the hero at 1920px.
   Inner content stays constrained by .eeml-wrap. */
.eeml-hero,
.eeml-stats,
.eeml-section,
.eeml-how {
    /* 50% resolves against the parent container, 50vw against the viewport,
       so this offset pulls each section out to the full window width.
       html/body already carry overflow-x:hidden, which absorbs the scrollbar
       difference that 100vw would otherwise introduce. */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.eeml-wrap {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 767px) {
    .eeml-wrap { padding: 0 18px; }
}

/* ---------------- Buttons ---------------- */
.eeml-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease, background-color .15s ease;
}

.eeml-btn--primary { background: var(--orange); color: #fff; }
.eeml-btn--primary:hover, .eeml-btn--primary:focus { background: var(--orange-dark); color: #fff; }

.eeml-btn--call { background: var(--green); color: #fff; flex-direction: column; gap: 0; line-height: 1.2; }
.eeml-btn--call span { font-size: 12.5px; font-weight: 600; opacity: .9; }
.eeml-btn--call strong { font-size: 16px; }
.eeml-btn--call:hover, .eeml-btn--call:focus { filter: brightness(1.08); color: #fff; }

.eeml-btn--outline { background: #fff; color: var(--navy); border-color: var(--line); }
.eeml-btn--outline:hover, .eeml-btn--outline:focus { border-color: var(--orange); color: var(--orange); }

.eeml-btn--full { width: 100%; }

.eeml-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }

/* ---------------- Hero ---------------- */
.eeml-hero {
    position: relative;
    background: var(--navy-deep);
    padding: 56px 0 64px;
    overflow: hidden;
    isolation: isolate;
}

.eeml-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .18;
    z-index: -2;
}

.eeml-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(12,37,55,.95) 0%, rgba(12,37,55,.80) 55%, rgba(12,37,55,.92) 100%);
    z-index: -1;
}

.eeml-hero__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 44px;
    align-items: start;
}

.eeml-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 14px;
    border-left: 3px solid var(--orange);
    background: rgba(249,115,22,.14);
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.eeml-h1 {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.6px;
}

.eeml-h1__accent { display: block; color: var(--orange); }

.eeml-lede {
    margin: 0 0 26px;
    max-width: 33em;
    color: rgba(255,255,255,.86);
    font-size: 17px;
}

.eeml-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.eeml-badges {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eeml-badges li {
    display: flex;
    flex-direction: column;
    padding: 11px 13px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 9px;
    background: rgba(255,255,255,.07);
}

.eeml-badges strong { color: #fff; font-size: 14px; line-height: 1.25; }
.eeml-badges span { color: rgba(255,255,255,.68); font-size: 11.5px; }

/* ---------------- Quote form ---------------- */
.eeml-quote {
    padding: 26px 24px 28px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0,0,0,.30);
}

.eeml-quote__title {
    margin: 0 0 4px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
}

.eeml-quote__sub {
    margin: 0 0 18px;
    color: var(--muted);
    font-size: 13.5px;
    text-align: center;
}

.eeml-field { margin-bottom: 13px; }

.eeml-field label {
    display: block;
    margin-bottom: 5px;
    color: var(--navy);
    font-size: 12.5px;
    font-weight: 700;
}

.eeml-field input,
.eeml-field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 15px;
}

.eeml-field input:focus,
.eeml-field select:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249,115,22,.18);
}

.eeml-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.eeml-quote__note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

/* ---------------- Stats ---------------- */
.eeml-stats { background: #fff; padding: 26px 0; border-bottom: 1px solid var(--line); }

.eeml-stats__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    text-align: center;
}

.eeml-stats__grid strong {
    display: block;
    color: var(--navy);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 800;
    line-height: 1.1;
}

.eeml-stats__grid span { color: var(--muted); font-size: 13px; }

/* ---------------- Sections ---------------- */
.eeml-section { padding: 58px 0; }
.eeml-section--alt { background: var(--bg-alt); }

.eeml-h2 {
    margin: 0 0 34px;
    color: var(--navy);
    font-size: clamp(24px, 3.1vw, 34px);
    font-weight: 800;
    text-align: center;
    position: relative;
}

.eeml-h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    margin: 12px auto 0;
    background: var(--orange);
    border-radius: 2px;
}

.eeml-h2--light { color: #fff; }
.eeml-h2--left { text-align: left; }
.eeml-h2--left::after { margin-left: 0; }

.eeml-grid { display: grid; gap: 18px; }
.eeml-grid--6 { grid-template-columns: repeat(6, 1fr); }
.eeml-grid--3 { grid-template-columns: repeat(3, 1fr); }

.eeml-card {
    padding: 22px 18px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: #fff;
    text-align: center;
    transition: box-shadow .18s ease, transform .18s ease;
}

.eeml-card:hover { box-shadow: 0 10px 26px rgba(18,55,79,.11); transform: translateY(-2px); }
.eeml-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 15.5px; font-weight: 700; }
.eeml-card p { margin: 0; color: var(--muted); font-size: 13.5px; }

.eeml-link {
    /* Full 44px tap target -- measured at 34px before. */
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin-top: 6px;
    padding: 6px 2px;
    color: var(--orange);
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.eeml-link:hover { text-decoration: underline; color: var(--orange-dark); }

/* ---------------- How it works ---------------- */
.eeml-how { padding: 58px 0; background: var(--navy-deep); }

.eeml-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

.eeml-steps li { text-align: center; color: #fff; }

.eeml-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    font-size: 19px;
    font-weight: 800;
}

.eeml-steps h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #fff; }
.eeml-steps p { margin: 0; color: rgba(255,255,255,.72); font-size: 13.5px; }

/* ---------------- Pricing ---------------- */
.eeml-placeholder-warning {
    max-width: 720px;
    margin: 0 auto 28px;
    padding: 13px 16px;
    border: 1px solid #fcd34d;
    border-left: 4px solid #f59e0b;
    border-radius: 7px;
    background: #fffbeb;
    color: #78350f;
    font-size: 13.5px;
    text-align: center;
}

.eeml-price {
    display: flex;
    flex-direction: column;
    padding: 26px 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.eeml-price--featured {
    border: 2px solid var(--orange);
    box-shadow: 0 12px 30px rgba(249,115,22,.15);
    position: relative;
}

.eeml-price__flag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
    white-space: nowrap;
}

.eeml-price h3 { margin: 6px 0 10px; color: var(--navy); font-size: 17px; font-weight: 700; }

.eeml-price__amount {
    margin: 0 0 16px;
    color: var(--orange);
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
}

.eeml-price__amount span { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.eeml-price__amount small { font-size: 15px; font-weight: 600; }
.eeml-price__amount--custom { font-size: 24px; color: var(--navy); }

.eeml-price ul {
    flex: 1 1 auto;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    text-align: left;
}

.eeml-price li {
    position: relative;
    padding: 5px 0 5px 24px;
    color: var(--ink);
    font-size: 14px;
}

.eeml-price li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ---------------- Areas ---------------- */
.eeml-areas {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eeml-areas li {
    padding: 18px 12px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

/* ---------------- FAQ ---------------- */
.eeml-faq__grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 36px;
    align-items: start;
}

.eeml-faq details {
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    margin-bottom: 10px;
}

.eeml-faq summary {
    padding: 15px 44px 15px 17px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    min-height: 50px;
    display: flex;
    align-items: center;
}

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

.eeml-faq summary::after {
    content: "+";
    position: absolute;
    right: 17px;
    color: var(--orange);
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

.eeml-faq details[open] summary::after { content: "\2212"; }

.eeml-faq summary:focus-visible { outline: 3px solid var(--navy); outline-offset: -3px; }

.eeml-faq p {
    margin: 0;
    padding: 0 17px 17px;
    color: var(--muted);
    font-size: 14px;
}

.eeml-ready {
    padding: 30px 26px;
    border-radius: 13px;
    background: var(--navy-deep);
    color: #fff;
}

.eeml-ready h2 { margin: 0 0 10px; font-size: 24px; font-weight: 800; color: #fff; }
.eeml-ready > p { margin: 0 0 16px; color: rgba(255,255,255,.82); font-size: 14.5px; }

.eeml-ready ul { margin: 0 0 20px; padding: 0; list-style: none; }

.eeml-ready li {
    position: relative;
    padding: 4px 0 4px 22px;
    font-size: 14px;
}

.eeml-ready li::before { content: "\2713"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.eeml-ready__tel {
    display: block;
    margin-top: 12px;
    padding: 8px 0;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    text-align: center;
    text-decoration: none;
}

.eeml-ready__tel strong { color: var(--gold); }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
    .eeml-hero__grid { grid-template-columns: 1fr; gap: 32px; }
    .eeml-grid--6 { grid-template-columns: repeat(3, 1fr); }
    .eeml-areas { grid-template-columns: repeat(3, 1fr); }
    .eeml-faq__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .eeml-hero { padding: 36px 0 44px; }
    .eeml-badges { grid-template-columns: repeat(2, 1fr); }
    .eeml-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 14px; }
    .eeml-grid--6 { grid-template-columns: repeat(2, 1fr); }
    .eeml-grid--3 { grid-template-columns: 1fr; }
    .eeml-steps { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
    .eeml-areas { grid-template-columns: repeat(2, 1fr); }
    .eeml-section, .eeml-how { padding: 42px 0; }
    .eeml-hero__actions { flex-direction: column; }
    .eeml-hero__actions .eeml-btn { width: 100%; }

    /* 16px minimum stops iOS Safari zooming on focus. */
    .eeml-field input, .eeml-field select { font-size: 16px; }

    /* Clear the theme's sticky mobile CTA bar. */
    .eeml { padding-bottom: 8px; }
}

@media (max-width: 420px) {
    .eeml-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .eeml-grid--6 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .eeml-card, .eeml-btn { transition: none; }
    .eeml-card:hover { transform: none; }
}
