/*
Theme Name: EasyAccurate Service Theme
Theme URI: https://easyaccurate.com
Author: Tom Landry
Description: SEO-focused local service business theme based on a proven painting layout, cleaned and generalized for any service company.
Version: 9.2.14
Text Domain: easyaccurate-service
*/


/* ==========================
   DESIGN TOKENS
   ========================== */

:root {
    --tlp-navy: #0b2239;
    --tlp-navy-deep: #050b16;
    --tlp-gold: #d4a017;
    --tlp-light: #ffffff;
    --tlp-bg: #f5f7fa;
    --tlp-gray: #eef1f4;
    --tlp-text: #1f2933;
    --tlp-max-width: 1120px;

    --tlp-radius-card: 12px;
    --tlp-shadow-soft: 0 4px 14px rgba(15, 23, 42, 0.08);
}

/* ==========================
   BASE ELEMENTS
   ========================== */

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

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--tlp-text);
    background-color: var(--tlp-bg);
    line-height: 1.5;
}

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

a:hover {
    text-decoration: underline;
}

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

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

/* ==========================
   HEADER / SITE CHROME
   ========================== */

.tlp-site-header {
    background: linear-gradient(90deg, var(--tlp-navy-deep) 0%, var(--tlp-navy) 40%, #123457 100%);
    color: var(--tlp-light);
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.tlp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Left side: logo + site title/tagline */

.tlp-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tlp-branding .custom-logo {
    max-height: 72px;
    width: auto;
    height: auto;
}

.tlp-brand-text {
    display: flex;
    flex-direction: column;
}

.tlp-site-title a {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--tlp-light);
}

.tlp-site-tagline {
    font-size: 0.9rem;
    color: #c7d0e3;
}

/* Middle: navigation */

.tlp-main-nav {
    flex: 1;
}

.tlp-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tlp-menu a {
    color: var(--tlp-light);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Right: header CTA */

.tlp-header-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.tlp-header-phone {
    color: var(--tlp-gold);
    font-weight: 700;
}

.tlp-header-estimate {
    background: var(--tlp-gold);
    color: var(--tlp-navy);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
}

/* ==========================
   FRONT PAGE BRANDING TOGGLE
   (optional logo / title / both in hero)
   ========================== */

.tlp-front-branding {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tlp-front-logo .custom-logo {
    max-height: 72px;
    width: auto;
    height: auto;
}

.tlp-front-text {
    display: flex;
    flex-direction: column;
}

.tlp-front-site-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.tlp-front-tagline {
    font-size: 0.9rem;
    color: #555;
}

/* ==========================
   MAIN & HERO
   ========================== */

.tlp-main {
    padding-bottom: 40px;
}

.tlp-hero {
    position: relative;
    padding: 40px 0 28px;
    background: radial-gradient(circle at top center, #1a3c66 0%, #0b2239 45%, #050b16 100%);
    color: var(--tlp-light);
    overflow: hidden;
}

.tlp-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 65%);
    opacity: var(--ea-hero-spotlight-opacity, 0.55);
    pointer-events: none;
}

.tlp-hero-inner {
    position: relative;
    z-index: 1;
}



.tlp-hero-copy h1 {
    font-size: 2.3rem;
    margin: 0 0 12px;
    line-height: 1.15;
}

.tlp-hero-copy p {
    margin: 0 0 14px;
    font-size: 1.02rem;
    max-width: 640px;
}

.tlp-hero-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
    font-size: 0.95rem;
}

.tlp-hero-benefits li {
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.tlp-hero-benefits li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tlp-gold);
}

.tlp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.tlp-hero-meta {
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Hero logo/text block if used inside hero */

.tlp-hero-logo img {
    max-height: 80px;
    width: auto;
    display: block;
    margin-bottom: 8px;
}

.tlp-hero-site-title {
    margin: 0 0 2px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}

.tlp-hero-tagline {
    margin: 0 0 10px;
    font-size: 0.9rem;
}

/* Buttons */

.tlp-btn,
.tlp-bottom-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    font-size: 0.98rem;
    white-space: normal;
    background: linear-gradient(135deg, #f4d26b 0%, #d4a017 40%, #b1830f 100%);
    color: #1f2933;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
}
.tlp-btn::before,
.tlp-bottom-btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 60%;
    height: 260%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.75) 0%,
        rgba(255,255,255,0.15) 40%,
        transparent 70%
    );
    transform: translateX(-100%);
    pointer-events: none;
}

.tlp-btn:hover::before,
.tlp-bottom-btn:hover::before {
    transform: translateX(220%);
    transition: transform 0.6s ease-out;
}

.tlp-btn:hover,
.tlp-bottom-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.tlp-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: none;
}


/* ==========================
   SLIDER
   ========================== */

.tlp-slider-wrap {
    padding: 12px 0 32px;
    background: var(--tlp-bg);
}

.tlp-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    box-shadow: var(--tlp-shadow-soft);
}

/* Aspect ratio container */

.tlp-slider-track {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 fallback */
}

@supports (aspect-ratio: 16 / 9) {
    .tlp-slider-track {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 16 / 9;
    }
}

/* Slides */

.tlp-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    display: none;
    transition: opacity 0.6s ease;
}

.tlp-slide.is-active {
    opacity: 1;
    display: block;
}

/* Slide images */

.tlp-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #000;
}

/* Clickable overlay wrapper */

.tlp-slide-link {
    display: block;
    width: 100%;
    height: 100%;
}

/* Caption overlay */

.tlp-slide-caption {
    position: absolute;
    left: 16px;
    bottom: 16px;
    right: 16px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.9rem;
    border-radius: 6px;
}

/* Arrows */

.tlp-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 21, 43, 0.7);
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.tlp-slider-prev {
    left: 10px;
}

.tlp-slider-next {
    right: 10px;
}

/* ==========================
   SECTIONS / CONTENT BLOCKS
   ========================== */

.tlp-section {
    padding: 48px 0;
    background: var(--tlp-light);
}

.tlp-section-alt {
    background: var(--tlp-gray);
}

.tlp-section h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.tlp-section-sub {
    max-width: 640px;
    margin: 0 0 24px;
    font-size: 0.98rem;
    color: #4b5563;
}

/* Service cards */

.tlp-cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tlp-card {
    background: linear-gradient(145deg, #ffffff 0%, #f6f7fb 40%, #eef1f7 100%);
    border-radius: 14px;
    padding: 18px 18px 20px;
    box-shadow: 0 10px 28px rgba(15,23,42,0.18);
    border: 1px solid rgba(148,163,184,0.25);
}


.tlp-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.tlp-card p {
    margin: 0 0 10px;
    font-size: 0.95rem;
}

.tlp-card-link {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Areas we serve */

.tlp-areas {
    background: var(--tlp-gray);
}

.tlp-areas-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.tlp-areas-columns h3 {
    margin-top: 0;
    margin-bottom: 6px;
    font-size: 1rem;
}

.tlp-areas-columns ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 0.9rem;
}

.tlp-areas-columns li + li {
    margin-top: 3px;
}

/* Trust section */

.tlp-trust {
    background: var(--tlp-light);
}

.tlp-trust-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.tlp-trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.tlp-trust-logos img {
    max-height: 52px;
    width: auto;
}

/* CTA section */

.tlp-cta {
    background: var(--tlp-navy-deep);
    color: var(--tlp-light);
    text-align: center;
}

.tlp-cta h2 {
    color: var(--tlp-light);
}

.tlp-cta p {
    max-width: 560px;
    margin: 0 auto 16px;
}

/* Reviews section */

.tlp-reviews {
    background: var(--tlp-gray);
}

.tlp-reviews-widget {
    margin-top: 16px;
}

/* ==========================
   FOOTER
   ========================== */

.site-footer,
.tlp-site-footer {
    background: var(--tlp-navy-deep);
    color: #c7d0e3;
    padding: 24px 0;
    font-size: 0.9rem;
}

.site-footer a,
.tlp-site-footer a {
    color: var(--tlp-gold);
}

.site-footer-inner,
.tlp-site-footer-inner {
    max-width: var(--tlp-max-width);
    margin: 0 auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.footer-col h4 {
    margin-top: 0;
    margin-bottom: 6px;
    color: #ffffff;
}

.footer-contact-list,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li,
.footer-menu li {
    margin: 6px 0;
}

.footer-menu a {
    display: inline-block;
}

.tlp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 18px;
    padding-top: 14px;
}

.tlp-footer-bottom small {
    opacity: var(--ea-hero-spotlight-opacity, 0.55);
}

/* ==========================
   STANDARD PAGE WRAPPER
   (About, Contact, etc.)
   ========================== */

.tlp-page-wrapper {
    max-width: var(--tlp-max-width);
    margin: 0 auto;
    padding: 40px 16px;
}

.tlp-page-wrapper .entry-content {
    max-width: 800px;
    margin: 0 auto;
}

.tlp-page-wrapper .entry-header h1 {
    text-align: center;
    margin-bottom: 24px;
}

/* ==========================
   CONTACT PAGE
   ========================== */

.tlp-contact-quick-wrapper {
    max-width: 720px;
    margin-bottom: 24px;
}

#tlp-question-topic {
    margin-top: 6px;
    margin-bottom: 12px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    width: 100%;
    max-width: 360px;
}

.tlp-quick-answer {
    padding: 14px 16px;
    border-radius: 6px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.tlp-quick-answer--hidden {
    display: none;
}

.tlp-contact-form {
    max-width: 720px;
    margin-bottom: 24px;
}

.tlp-field {
    margin-bottom: 16px;
}

.tlp-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.tlp-field label span {
    color: #d9534f;
}

.tlp-contact-form input,
.tlp-contact-form select,
.tlp-contact-form textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
    font-family: inherit;
    font-size: 0.95rem;
}

.tlp-checkbox-group,
.tlp-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 0.9rem;
}

.tlp-contact-direct {
    margin-top: 24px;
    font-size: 0.95rem;
}

/* ==========================
   SCHEDULE PAGE
   ========================== */

.tlp-schedule-main {
    padding: 40px 16px;
}

.tlp-schedule-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.tlp-schedule-wrap h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.tlp-schedule-wrap p {
    margin-bottom: 20px;
}

.tlp-schedule-form {
    background: #0f172a;
    color: #fff;
    padding: 24px;
    border-radius: 8px;
}

.tlp-schedule-form .tlp-field {
    margin-bottom: 16px;
}

.tlp-schedule-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.tlp-schedule-form label span {
    color: #fbbf24;
}

.tlp-schedule-form input,
.tlp-schedule-form select,
.tlp-schedule-form textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 4px;
    border: 1px solid #1f2937;
    background: #111827;
    color: #e5e7eb;
}

.tlp-schedule-form input:focus,
.tlp-schedule-form select:focus,
.tlp-schedule-form textarea:focus {
    outline: 1px solid #fbbf24;
    border-color: #fbbf24;
}

.tlp-notice {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 0.95rem;
}

.tlp-notice-success {
    background: #065f46;
    color: #ecfdf5;
}

.tlp-notice-error {
    background: #7f1d1d;
    color: #fee2e2;
}

.tlp-notice-error ul {
    margin: 0;
    padding-left: 18px;
}

/* ==========================
   OPTIONAL APP SHELL STYLES
   (Estimator app page)
   ========================== */

.tlp-app-body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #072447 0%, #03152b 45%, #000000 100%);
    color: var(--tlp-light);
}

.tlp-app-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.tlp-app-header {
    padding: 12px 16px;
    background: linear-gradient(90deg, #03152b 0%, #05274b 50%, #0b314f 100%);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 10;
}

.tlp-logo-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #f0f0f0 40%, #b58b12 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
}

.tlp-logo-circle img {
    width: 130%;
    height: auto;
}

.tlp-header-text {
    display: flex;
    flex-direction: column;
}

.tlp-brand-name {
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.tlp-subtitle {
    font-size: 0.8rem;
    opacity: 0.85;
}

.tlp-app-main {
    flex: 1;
    padding: 12px 12px 70px;
    display: flex;
    justify-content: center;
}

.tlp-estimator-card {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    color: var(--tlp-text);
    border-radius: 18px;
    padding: 18px 16px 20px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    margin-top: 10px;
}

.tlp-estimator-title {
    margin: 0 0 4px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #03152b;
}

.tlp-estimator-sub {
    margin: 0 0 14px;
    font-size: 0.85rem;
    color: #555;
}

.tlp-estimator-embed {
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    padding: 10px;
    background: #fafafa;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
}

.tlp-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #03152b;
    padding: 8px 10px;
    display: flex;
    gap: 8px;
    justify-content: center;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.8);
    z-index: 20;
}

.tlp-btn,
.tlp-bottom-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.6rem;
    font-size: 0.98rem;
    white-space: normal;
    background: linear-gradient(135deg, #f4d26b 0%, #d4a017 40%, #b1830f 100%);
    color: #1f2933;
    border: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
}

.tlp-btn::before,
.tlp-bottom-btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -30%;
    width: 60%;
    height: 260%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.75) 0%,
        rgba(255,255,255,0.15) 40%,
        transparent 70%
    );
    transform: translateX(-100%);
    pointer-events: none;
}

.tlp-btn:hover::before,
.tlp-bottom-btn:hover::before {
    transform: translateX(220%);
    transition: transform 0.6s ease-out;
}

.tlp-btn:hover,
.tlp-bottom-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.35);
}

.tlp-btn-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    box-shadow: none;
}


/* ==========================
   RESPONSIVE
   ========================== */

@media (max-width: 900px) {

    .tlp-header-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .tlp-header-cta {
        align-items: center;
        text-align: center;
    }

    .tlp-cards {
        grid-template-columns: 1fr 1fr;
    }

    .tlp-areas-columns {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer-inner,
    .tlp-site-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    .tlp-hero-inner {
        display: flex;
        flex-direction: column;
        gap: 24px;
        text-align: center;
        padding: 0 16px;
    }

    .tlp-front-branding {
        justify-content: center;
        text-align: center;
    }

    .tlp-hero {
        padding-top: 26px;
    }

    .tlp-hero-copy h1 {
        font-size: 1.8rem;
    }

    .tlp-hero-actions {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .tlp-btn,
    .tlp-btn-outline {
        width: 100%;
        text-align: center;
    }

    .tlp-section {
        padding: 32px 0;
    }

    .tlp-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tlp-areas-columns {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .tlp-main p,
    .tlp-section-sub {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .tlp-field-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {

    .tlp-header-inner {
        align-items: flex-start;
    }

    .site-footer-inner,
    .tlp-site-footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .site-header-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

/* HERO – lighter navy with subtle spotlight */

.tlp-hero {
    position: relative;
    padding: 40px 0 28px;
    background: radial-gradient(circle at top center, #1a3c66 0%, #0b2239 45%, #050b16 100%);
    color: var(--tlp-light);
    overflow: hidden;
}

.tlp-hero::before {
    content: "";
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0) 65%);
    opacity: var(--ea-hero-spotlight-opacity, 0.55);
    pointer-events: none;
}

.tlp-hero-inner {
    position: relative;
    z-index: 1;
}

.tlp-reviews-slider {
    position: relative;
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem 2.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.tlp-reviews-track {
    position: relative;
}

.tlp-review-card {
    display: none;
    transition: opacity 0.3s ease;
}

.tlp-review-card.is-active {
    display: block;
}

.tlp-review-rating {
    color: #f4b000;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.tlp-review-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.tlp-review-date {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    color: #777;
}

.tlp-review-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tlp-reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: #03152b;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tlp-reviews-prev { left: 8px; }
.tlp-reviews-next { right: 8px; }

.tlp-reviews-arrow:hover {
    opacity: var(--ea-hero-spotlight-opacity, 0.55);
}



/* CTA strip */
.tlp-cta-strip{
    background: rgba(3,21,43,0.92);
    padding: 28px 0;
    margin: 10px 0 0;
}
.tlp-cta-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
}
.tlp-cta-copy h2{margin:0 0 6px;}
.tlp-cta-copy p{margin:0; opacity:0.92;}
.tlp-cta-actions{display:flex; gap:12px; flex-wrap:wrap;}
@media (max-width: 820px){
    .tlp-cta-inner{align-items:flex-start;}
}

/* Areas rich content */
.tlp-areas-rich a{ text-decoration: underline; }



/* --------------------------------------------
   EA Hero Builder layers + CTA styling
--------------------------------------------- */
.tlp-hero .ea-hero-bg-image,
.tlp-hero .ea-hero-bg-video,
.tlp-hero .ea-hero-overlay {
    z-index: 3;
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tlp-hero .ea-hero-bg-image {
    z-index: 1;
    background-image: var(--ea-hero-bg-image, none);
    background-size: cover;
    background-position: center;
    opacity: var(--ea-hero-bg-opacity, 0.22);
    filter: saturate(1.08) contrast(1.05);
    mix-blend-mode: overlay;
}

.tlp-hero .ea-hero-bg-video {
    z-index: 2;
    pointer-events: none;
    opacity: var(--ea-hero-bg-opacity, 0.22);
    filter: saturate(1.08) contrast(1.05);
}
.tlp-hero .ea-hero-bg-video iframe,
.tlp-hero .ea-hero-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
    display: block;
}

.tlp-hero .ea-hero-overlay {
    z-index: 3;
    background-image: var(--ea-hero-overlay-url, none);
    background-repeat: no-repeat;
    background-size: min(760px, 48vw) auto;
    opacity: var(--ea-hero-overlay-opacity, 0.16);
    filter: drop-shadow(0 30px 70px rgba(0,0,0,0.35));
}

.tlp-hero .ea-hero-overlay.pos-right  { background-position: right 60px center; }
.tlp-hero .ea-hero-overlay.pos-left   { background-position: left  60px center; }
.tlp-hero .ea-hero-overlay.pos-center { background-position: center center; }

@media (max-width: 900px) {
    .tlp-hero .ea-hero-overlay {
    z-index: 3;
        background-size: min(520px, 70vw) auto;
        background-position: center bottom 10px;
        opacity: calc(var(--ea-hero-overlay-opacity, 0.16) * 0.9);
    }
}

/* CTA controls (size/colors/glow) */
.tlp-hero .tlp-btn {
    border-radius: var(--ea-hero-btn-radius, 999px);
    padding: var(--ea-hero-btn-pad, 15px 26px);
    font-size: var(--ea-hero-btn-font, 15px);
}
.tlp-hero .tlp-btn:not(.tlp-btn-outline) {
    background: var(--ea-hero-primary-bg, #22c55e);
    border-color: var(--ea-hero-primary-bg, #22c55e);
    color: var(--ea-hero-primary-text, #00110a);
    box-shadow: var(--ea-hero-primary-shadow, 0 14px 34px rgba(34,197,94,0.40));
}
.tlp-hero.ea-hero-no-glow .tlp-btn:not(.tlp-btn-outline) {
    box-shadow: none;
}
.tlp-hero .tlp-btn.tlp-btn-outline {
    background: transparent;
    border-color: var(--ea-hero-outline-color, rgba(255,255,255,0.85));
    color: var(--ea-hero-outline-color, rgba(255,255,255,0.85));
}

/* Hero brand row (optional) */
.ea-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.ea-hero-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    filter: drop-shadow(0 16px 30px rgba(0,0,0,0.65));
}

/* =========================================================
   EasyAccurate v9.2.2 – Floating Card Layout + Header/Hero Gradient
   ========================================================= */

:root{
  --ea-wrap: 1200px;
  --ea-page-pad: 18px;

  /* card look */
  --ea-card-bg: rgba(255,255,255,.92);
  --ea-card-border: rgba(255,255,255,.18);
  --ea-card-shadow: 0 18px 55px rgba(0,0,0,.22);

  /* top gradient (shared by header + hero) */
  --ea-top-a: rgba(10,15,28,.92);
  --ea-top-b: rgba(2,6,23,.72);

  /* hero overlay gradient (blends image into header color) */
  --ea-hero-fade: linear-gradient(180deg, var(--ea-top-a) 0%, rgba(10,15,28,.55) 30%, rgba(10,15,28,.10) 70%, rgba(10,15,28,0) 100%);
}

/* page background */
body{
  background:
    radial-gradient(900px 420px at 20% 0%, rgba(99,102,241,.18), transparent 60%),
    radial-gradient(900px 520px at 80% -10%, rgba(16,185,129,.14), transparent 55%),
    linear-gradient(180deg, #020617 0%, #000 100%);
}

/* universal floating card */
.ea-float-card{
  max-width: var(--ea-wrap);
  margin: var(--ea-page-pad) auto;
  border-radius: 22px;
  background: var(--ea-card-bg);
  border: 1px solid var(--ea-card-border);
  box-shadow: var(--ea-card-shadow);
  overflow: hidden;
  transform: translateZ(0);
}

/* Header card – full width within wrap */
.ea-header-card .tlp-site-header{
  background: linear-gradient(135deg, var(--ea-top-a), var(--ea-top-b));
}

/* Hero card shares the same top gradient so it flows into header */
.ea-hero-card{
  background: linear-gradient(135deg, var(--ea-top-a), var(--ea-top-b));
  position: relative;
}

/* Make sure hero overlay works */
.tlp-hero{
  position: relative;
  overflow: hidden;
}

/* Background image layer (already used by your hero builder via --ea-hero-bg-image) */
.tlp-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--ea-hero-bg-image);
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: saturate(1.05) contrast(1.05);
}

/* Gradient fade layer (connects image into header gradient) */
.tlp-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: var(--ea-hero-fade);
  z-index: 1;
}

/* Overlay asset layer (your overlay svg/png) */
.tlp-hero .ea-hero-overlay{
  position:absolute;
  inset:0;
  z-index: 2;
  pointer-events:none;
  background-image: var(--ea-hero-overlay-url);
  background-size: cover;
  background-position: center;
  opacity: var(--ea-hero-overlay-opacity, .55);
  mix-blend-mode: overlay;
}

/* Hero content above everything */
.tlp-hero .tlp-container,
.tlp-hero .easya-hero-inner,
.tlp-hero .easya-hero-content{
  position: relative;
  z-index: 3;
}

/* Turn section backgrounds off; use floating cards instead */
.tlp-section{ background: transparent !important; padding: 22px 0 !important; }
.tlp-section .tlp-container{
  background: var(--ea-card-bg);
  border: 1px solid var(--ea-card-border);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(0,0,0,.18);
  padding: 26px;
}

/* CTA strip becomes a floating card too */
.ea-cta-card{
  background: linear-gradient(135deg, rgba(2,6,23,.85), rgba(15,23,42,.75));
  color: #fff;
}
.ea-cta-card a, .ea-cta-card p, .ea-cta-card h2{ color:#fff; }

/* Footer card */
.ea-footer-card .tlp-site-footer{
  background: linear-gradient(135deg, rgba(2,6,23,.92), rgba(15,23,42,.78));
  color: rgba(255,255,255,.92);
}

/* Slight “3D” lift on hover for service cards */
.tlp-card, .tlp-service-card{
  transition: transform .15s ease, box-shadow .15s ease;
}
.tlp-card:hover, .tlp-service-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
}

/* Button: bigger + subtle 3D */
.tlp-btn-primary{
  padding: 16px 22px !important;
  border-radius: 16px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 0 rgba(0,0,0,.22), 0 28px 55px rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.tlp-btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(0,0,0,.20), 0 24px 48px rgba(0,0,0,.22);
  filter: brightness(1.05);
}

/* Mobile spacing */
@media (max-width: 980px){
  .ea-float-card{ margin: 14px 12px; border-radius: 18px; }
  .tlp-section .tlp-container{ padding: 18px; }
}



/* ==============================
   Service Areas Grid (4 x 8)
   ============================== */
.easya-area-grid{
  display:grid;
  grid-template-columns:repeat(8,minmax(0,1fr));
  gap:10px;
  margin-top:18px;
}
@media (max-width: 1100px){
  .easya-area-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); }
}
@media (max-width: 640px){
  .easya-area-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.easya-area-pill{
  display:block;
  text-decoration:none;
  text-align:center;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--ea-text, #e5e7eb);
  transition:transform .12s ease, background .12s ease, border-color .12s ease;
  font-weight:600;
  font-size:14px;
  line-height:1.15;
}
.easya-area-pill:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.22);
}

/* ==============================
   Reviews section wrapper
   ============================== */
.easya-reviews .easya-reviews-wrap{
  margin-top:14px;
}
.easya-reviews .tlp-gr-wrap,
.easya-reviews .tlp-manual-wrap{
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}

/* =========================================================
   Easy Accurate: Global Page Layout Helpers (Docs / Legal / About)
   Added to remove top-gap + provide consistent section styling
   ========================================================= */
html, body { margin:0; padding:0; }

/* Remove phantom spacing from theme/WP wrappers */
#page, .site, .site-content, .content-area, main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Core utility classes used by Easy Accurate pages */
.ea-container{max-width:1100px;margin:0 auto;padding:0 18px;}
.ea-section{padding:56px 0;}
.ea-hero{padding:64px 0;}
.ea-lead{font-size:1.15rem;line-height:1.6;max-width:920px;}
.ea-card{padding:18px;border:1px solid rgba(255,255,255,.10);border-radius:16px;background:rgba(255,255,255,.03);}

.ea-badges{display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px;}
.ea-badge{padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.02);}

.ea-grid-2{display:grid;gap:22px;grid-template-columns:1.1fr .9fr;align-items:start;}
.ea-steps{display:grid;gap:12px;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:20px;}
.ea-step{padding:14px;border:1px solid rgba(255,255,255,.10);border-radius:14px;background:rgba(255,255,255,.02);}

.ea-btn{display:inline-block;padding:10px 14px;border-radius:12px;text-decoration:none;margin-right:10px;font-weight:600;}
.ea-btn-primary{background:#fff;color:#111;}
.ea-btn-outline{border:1px solid rgba(255,255,255,.25);color:#fff;background:transparent;}

.ea-section:first-child, .ea-hero:first-child { margin-top:0 !important; }

/* Keep code tags readable in dark sections */
.ea-section code, .ea-card code{
  padding:2px 6px;border-radius:8px;background:rgba(255,255,255,.08);
}

/* Mobile */
@media (max-width:900px){
  .ea-badges{grid-template-columns:1fr;}
  .ea-grid-2{grid-template-columns:1fr;}
}
@media (max-width:950px){
  .ea-steps{grid-template-columns:1fr;}
}


/* ===== CTA Strip: rounded "card" style ===== */
.tlp-cta-strip{
  padding: 28px 0;
  background: transparent;
}
.tlp-cta-strip .tlp-cta-inner{
  max-width: var(--tlp-container, 1180px);
  margin: 0 auto;
  padding: 18px 20px;
  border-radius: var(--easya-card-radius, 20px);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}
@media (max-width: 900px){
  .tlp-cta-strip .tlp-cta-inner{ padding: 16px; }
}


/* ===== Optional: make nav items look like buttons (Customizer toggle) ===== */
.tlp-main-nav.tlp-nav-buttons .tlp-menu{
  gap: 10px;
}
.tlp-main-nav.tlp-nav-buttons .tlp-menu > li > a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--easya-btn-radius, 14px);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  text-decoration: none;
  line-height: 1;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.tlp-main-nav.tlp-nav-buttons .tlp-menu > li > a:hover,
.tlp-main-nav.tlp-nav-buttons .tlp-menu > li.current-menu-item > a,
.tlp-main-nav.tlp-nav-buttons .tlp-menu > li.current_page_item > a{
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.26);
  transform: translateY(-1px);
}
