/*
Theme Name: The Capital Region Team
Theme URI: http://example.com/capital-region-team
Author: Antigravity
Author URI: http://example.com
Description: A custom, modern, minimalist WordPress theme for The Capital Region Team real estate client.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: capital-region-team
*/

/* =============================================
   GOOGLE FONTS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&display=swap');

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.7;
    color: #1a1a1a;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
}

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

a {
    color: #1a56db;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* =============================================
   SITE HEADER
   ============================================= */
.site-header {
    background: #041e3f;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-header .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-header .site-branding a {
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.3px;
    text-decoration: none;
}

.site-header .main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.site-header .main-nav ul li a {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    text-decoration: none;
    transition: color 0.2s;
}

.site-header .main-nav ul li a:hover {
    color: #fff;
}

.site-header .header-cta a {
    background: #f15f41;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 9px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.site-header .header-cta a:hover {
    background: #d64a2e;
}

/* =============================================
   SINGLE POST LAYOUT — Reference: Longleaf Group
   ============================================= */

/* Post outer wrapper — white bg, clean */
.single-post-outer {
    background: #fff;
}

/* Full-width featured image banner */
.single-featured-media {
    width: 100%;
    margin-bottom: 32px;
    line-height: 0;
}

.single-featured-media img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

.single-featured-media .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.single-featured-media .video-wrapper iframe,
.single-featured-media .video-wrapper video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}

/* Content wrapper — centered, wide layout */
.single-content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 64px;
}

/* Post title */
.single-content-wrap .post-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #041e3f;
    margin: 0 0 14px 0;
    letter-spacing: -0.5px;
}

@media (min-width: 640px) {
    .single-content-wrap .post-title {
        font-size: 2.8rem;
    }
}

/* Date & meta */
.single-content-wrap .post-last-updated {
    font-size: 15px;
    color: #666;
    margin-bottom: 32px;
}

/* Divider between header and body */
.single-content-wrap .post-header-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 0 0 32px 0;
}

/* =============================================
   ENTRY CONTENT — Typography matching reference
   ============================================= */
.entry-content {
    font-size: 18px;
    line-height: 1.8;
    color: #222;
}

.entry-content p {
    margin: 0 0 24px 0;
    color: #222;
}

.entry-content h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #041e3f;
    margin: 48px 0 16px 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
    scroll-margin-top: 80px;
}

.entry-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #041e3f;
    margin: 32px 0 12px 0;
    line-height: 1.35;
    scroll-margin-top: 80px;
}

.entry-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #041e3f;
    margin: 24px 0 10px 0;
}

.entry-content ul,
.entry-content ol {
    margin: 0 0 20px 0;
    padding-left: 24px;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.entry-content a {
    color: #f15f41;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.entry-content a:hover {
    color: #d64a2e;
}

.entry-content strong {
    font-weight: 700;
    color: #111;
}

.entry-content blockquote {
    border-left: 3px solid #1a56db;
    margin: 28px 0;
    padding: 12px 20px;
    color: #444;
    font-style: italic;
    background: #f8f9ff;
}

/* "What This Guide Covers" TOC — plain, no box */
.post-toc {
    margin: 0 0 32px 0;
}

.post-toc h4,
.post-toc .toc-label {
    font-size: 16px;
    font-weight: 800;
    color: #041e3f;
    margin: 0 0 12px 0;
}

.post-toc ul {
    list-style: disc;
    padding-left: 22px;
    margin: 0;
}

.post-toc ul li {
    margin-bottom: 8px;
    font-size: 16px;
}

.post-toc ul li a {
    color: #f15f41;
    text-decoration: none;
    font-weight: 600;
}

.post-toc ul li a:hover {
    text-decoration: underline;
}

/* =============================================
   AI SEARCH SUMMARY — Floating right
   ============================================= */
.ai-summary-block {
    float: right;
    width: 320px;
    border: 1px dashed #6f8ab7;
    background: #fff;
    padding: 16px 20px;
    margin: 0 0 20px 24px;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.ai-summary-block .ai-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #041e3f;
    margin-bottom: 8px;
}

/* =============================================
   WORK WITH JEREMY — bottom callout
   ============================================= */
.work-with-jeremy {
    border: 2px solid #eaeaea;
    border-radius: 8px;
    padding: 40px;
    margin-top: 56px;
    background: #fdfdfd;
    text-align: center;
}

.work-with-jeremy .agent-name {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin: 0 0 16px 0;
}

.work-with-jeremy .agent-bio {
    font-size: 16px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.work-with-jeremy .contact-btn {
    display: inline-block;
    background: #c9a84c; /* Gold button matching screenshot style */
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s;
}

.work-with-jeremy .contact-btn:hover {
    background: #b59540;
    text-decoration: none;
}

/* =============================================
   POST NAVIGATION
   ============================================= */
.post-nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

.post-nav-links .nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #999;
    margin-bottom: 4px;
}

.post-nav-links .nav-title a {
    font-size: 15px;
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

.post-nav-links .nav-title a:hover {
    text-decoration: underline;
}

.post-nav-links .nav-next {
    text-align: right;
}

/* =============================================
   SITE FOOTER
   ============================================= */
.site-footer {
    background: #041e3f;
    color: #fff;
    margin-top: 80px;
    padding: 60px 24px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-top {
    text-align: center;
    margin-bottom: 40px;
}

.footer-connect {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-socials a {
    color: #fff;
    font-weight: 600;
    margin: 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 40px 0;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #d61a21 !important;
    margin: 0 0 16px 0;
}

.footer-col p, .footer-col ul {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #d61a21;
}

.footer-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 4px;
    background: #fff;
}

.footer-form button {
    background: #d61a21 !important;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s;
}

.footer-form button:hover {
    background: #b5151c !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 640px) {
    .single-content-wrap {
        padding: 24px 16px 48px;
    }

    .single-content-wrap .post-title {
        font-size: 1.7rem;
    }

    .entry-content h2 {
        font-size: 1.4rem;
    }

    .post-nav-links {
        grid-template-columns: 1fr;
    }

    .post-nav-links .nav-next {
        text-align: left;
    }

    .footer-columns {
        grid-template-columns: 1fr;
    }
    .ai-summary-block {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }
}

/* =============================================
   BLOG ARCHIVE (index.php)
   ============================================= */
.blog-archive-header {
    background: #fdfdfd;
    padding: 64px 24px;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
}

.blog-archive-header-inner {
    max-width: 800px;
    margin: 0 auto;
}

.blog-archive-header .page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #041e3f;
    margin: 0 0 16px 0;
}

.blog-archive-header .page-subtitle {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.blog-archive-main {
    padding: 64px 24px;
    background: #f4f6f8;
}

.blog-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.blog-card-image {
    line-height: 0;
}

.blog-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-content .entry-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.blog-card-content .entry-title a {
    color: #041e3f;
    text-decoration: none;
}

.blog-card-content .entry-title a:hover {
    color: #f15f41;
}

.blog-card-content .entry-excerpt {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.blog-card-content .entry-meta-bottom {
    margin-top: auto;
}

.blog-card-content .read-more-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: #f15f41;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.blog-card-content .read-more-link:hover {
    color: #d64a2e;
}

.pagination-wrapper {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 32px;
}

.pagination-wrapper .nav-links {
    display: inline-flex;
    gap: 12px;
}

.pagination-wrapper .page-numbers {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #041e3f;
    font-weight: 600;
    text-decoration: none;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    background: #041e3f;
    color: #fff;
    border-color: #041e3f;
}

/* 5. AREAS WE SERVE (With Banner Header & 460px Portrait Cards) */
.ll-sec-areas {
    padding: 80px 0;
    background: #ffffff;
}

.ll-areas-header-banner {
    position: relative;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.ll-areas-banner-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 30, 63, 0.45);
    z-index: 1;
}

.ll-areas-banner-title {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff !important;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    letter-spacing: -0.5px;
}

.ll-areas-portrait-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.ll-portrait-card {
    min-height: 460px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    background-size: cover !important;
    background-position: center center !important;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 12px 24px -4px;
    transition: all 0.3s ease-in-out;
}

.ll-card-dark-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 150px;
    width: 100%;
    background: linear-gradient(to top, rgba(4, 30, 63, 0.95) 40%, rgba(4, 30, 63, 0) 100%);
    z-index: 1;
}

.ll-portrait-card h5 {
    position: relative;
    z-index: 2;
    margin: 0 0 28px 0;
    text-transform: uppercase;
    font-size: 1.35rem;
    font-weight: 800;
    text-align: center;
    color: #ffffff !important;
    letter-spacing: 0.8px;
    padding: 0 16px;
}

.ll-portrait-card:hover {
    transform: translateY(-8px);
    box-shadow: rgba(0, 0, 0, 0.4) 0px 20px 32px 0px;
}

/* =============================================
   1:1 HOMEPAGE STYLING (Matching Reference MHTML)
   ============================================= */

.ll-homepage-1to1 {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333333;
    line-height: 1.7;
    overflow-x: hidden;
}

.ll-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.ll-full-width-wrap {
    width: 100%;
}

.text-center { text-align: center; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }

.ll-btn-disabled {
    background: #64748b !important;
    cursor: not-allowed !important;
    opacity: 0.85;
}

/* SOCIAL MEDIA ICONS */
.ll-social-icons-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}
.ll-social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #041e3f;
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(4, 30, 63, 0.15);
}
.ll-social-icon-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.ll-social-icon-btn:hover {
    transform: translateY(-3px) scale(1.08);
}
.ll-social-icon-btn.ll-fb:hover {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
}
.ll-social-icon-btn.ll-ig:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(220, 39, 67, 0.35);
}

.ll-form-alert-success {
    background: #ecfdf5;
    border: 2px solid #10b981;
    color: #065f46;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    animation: fadeInSlideDown 0.3s ease-out;
}

@keyframes fadeInSlideDown {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* FEATURED BLOG POSTS SHOWCASE */
.ll-sec-blog-showcase {
    padding: 80px 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.ll-blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.ll-blog-card-item {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.ll-blog-card-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.ll-blog-card-img {
    height: 220px;
    background-size: cover;
    background-position: center center;
    position: relative;
    padding: 16px;
}

.ll-blog-badge {
    background: #d61a21;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 14px;
    border-radius: 9999px;
    display: inline-block;
}

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

.ll-blog-meta {
    font-size: 0.85rem;
    color: #718096;
    margin-bottom: 10px;
    font-weight: 600;
}

.ll-blog-card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #041e3f;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.ll-blog-card-title a {
    color: #041e3f;
    text-decoration: none;
    transition: color 0.2s;
}

.ll-blog-card-title a:hover {
    color: #d61a21;
}

.ll-blog-card-excerpt {
    font-size: 0.98rem;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.ll-blog-read-btn {
    color: #d61a21;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.ll-blog-read-btn:hover {
    color: #041e3f;
}

/* 3-PART CENTERED HEADER */
.ll-header {
    background: #041e3f;
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 10px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ll-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ll-header-left {
    flex: 1;
}

.ll-header-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ll-header-right-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.ll-header-right-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.ll-header-right-nav a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.ll-logo-img {
    max-height: 72px;
    max-width: 440px;
    width: auto;
    display: block;
    object-fit: contain;
    transition: max-height 0.2s ease;
}

.ll-btn-book {
    background: #d61a21 !important;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 9999px !important;
    font-weight: 800 !important;
    transition: background 0.2s ease-in-out !important;
}

.ll-btn-book:hover {
    background: #b5151c !important;
}

/* 1. HERO SECTION WITH FULL VIEWPORT HEIGHT & ZERO SIDE GAPS */
html, body {
    overflow-x: hidden !important;
}

.site-main, #primary, .ll-homepage-1to1 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow-x: hidden !important;
}

.ll-sec-hero,
.ll-hero-slider-wrap {
    position: relative !important;
    overflow: hidden !important;
    height: calc(100vh - 76px) !important;
    min-height: 520px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

.ll-hero-slider-inner {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ll-hero-slide {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.ll-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.ll-hero-video-bg {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 100vw !important;
    height: 100vh !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
    object-fit: cover !important;
    transform: translate(-50%, -50%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.ll-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(4, 30, 63, 0.45);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.7);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ll-hero-arrow:hover {
    background: #d61a21;
    border-color: #d61a21;
    transform: translateY(-50%) scale(1.1);
}

.ll-hero-prev { left: 28px; }
.ll-hero-next { right: 28px; }

.ll-hero-dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.ll-hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #ffffff;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.ll-hero-dot.active, .ll-hero-dot:hover {
    background: #d61a21;
    border-color: #d61a21;
    transform: scale(1.25);
}

.ll-hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.ll-hero-dark-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 30, 63, 0.55);
    z-index: 2;
}

.ll-hero-container {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.ll-hero-headline {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

.ll-hero-headline .ll-text-bold {
    font-weight: 900;
    color: #ffffff;
}

.ll-hero-dual-btn {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 2 & 8. PROPERTY SEARCH SECTIONS */
.ll-sec-search-top,
.ll-sec-search-bottom {
    background: #041e3f;
    color: #ffffff;
    padding: 64px 24px;
}

.ll-search-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.ll-search-subheading {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.ll-search-box-container {
    max-width: 680px;
    margin: 0 auto;
}

.ll-search-form-wrap {
    display: flex;
    gap: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 9999px;
    overflow: hidden;
    background: #ffffff;
    padding: 4px;
}

.ll-search-input-field {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-size: 15px;
    outline: none;
    color: #333333;
    background: transparent;
}

.ll-search-submit-btn {
    background: #d61a21;
    color: #ffffff;
    border: none;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-search-submit-btn:hover {
    background: #b5151c;
}

/* 3. TRUST BAR */
.ll-sec-trust {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 22px 0;
}

.ll-trust-bar-text {
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* 4. 1:1 SEAMLESS CONTINUOUS CURVED STORY SECTIONS */
.ll-sec-story-rows {
    padding: 0;
    background: #ffffff;
    overflow: hidden;
}

.ll-story-curved-row {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 540px;
    background: #ffffff;
    position: relative;
    margin: 0;
}

.ll-story-text-container {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 6%;
    box-sizing: border-box;
    z-index: 2;
    background: #ffffff;
}

.ll-story-image-container {
    flex: 0 0 50%;
    width: 50%;
    position: relative;
    background-size: cover;
    background-position: center center;
    min-height: 540px;
}

.ll-story-curve-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.ll-curve-left {
    left: -1px;
    width: 38%;
}

.ll-curve-right {
    right: -1px;
    width: 38%;
}

.ll-story-content-inner {
    max-width: 520px;
}

.ll-story-kicker {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #d61a21;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.ll-story-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #041e3f;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ll-story-body {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 32px;
}

.ll-pill-btn {
    display: inline-block;
    background: #041e3f;
    color: #ffffff !important;
    padding: 14px 36px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(4, 30, 63, 0.2);
}

.ll-pill-btn:hover {
    background: #d61a21;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 26, 33, 0.3);
}

.ll-pill-btn.ll-btn-dark {
    background: #041e3f;
}

.ll-pill-btn.ll-btn-left,
.ll-pill-btn.ll-btn-right {
    background: #d61a21;
}

.ll-pill-btn.ll-btn-right {
    background: transparent;
    border: 2px solid #ffffff;
}

.ll-pill-btn.ll-btn-right:hover {
    background: #ffffff;
    color: #041e3f !important;
}

.ll-story-img-col {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
}

/* ORGANIC CURVE MASKS WITH GLOW */
.ll-curve-mask-left {
    content: "";
    display: block;
    position: absolute;
    bottom: -120px;
    left: -420px;
    width: 760px;
    height: 145%;
    border-radius: 50% / 67% 67% 33% 33%;
    background: #ffffff;
    box-shadow: rgba(214, 26, 33, 0.35) 0px 5px 25px, rgba(4, 30, 63, 0.25) 0px 40px 70px;
    transform: rotate(-15deg);
    z-index: 9;
}

.ll-curve-mask-right {
    content: "";
    display: block;
    position: absolute;
    bottom: -120px;
    right: -420px;
    width: 760px;
    height: 145%;
    border-radius: 50% / 67% 67% 33% 33%;
    background: #ffffff;
    box-shadow: rgba(214, 26, 33, 0.35) 0px 5px 25px, rgba(4, 30, 63, 0.25) 0px 40px 70px;
    transform: rotate(15deg);
    z-index: 9;
}

@media (max-width: 992px) {
    .ll-curved-story-row {
        flex-direction: column !important;
        min-height: auto;
    }
    .ll-story-text-col, .ll-story-img-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ll-story-img-col {
        height: 380px;
    }
    .ll-curve-mask-left, .ll-curve-mask-right {
        display: none;
    }
}

/* 5. AREAS WE SERVE */
.ll-sec-areas {
    padding: 80px 0;
    background: #ffffff;
}

.ll-section-main-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #041e3f;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ll-areas-4col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.ll-area-tile {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-size: cover !important;
    background-position: center center !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ll-area-tile::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 30, 63, 0.45);
    transition: background 0.3s;
}

.ll-area-tile:hover {
    transform: translateY(-6px);
}

.ll-area-tile:hover::before {
    background: rgba(214, 26, 33, 0.55);
}

.ll-area-tile h5 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    margin: 0;
}

/* 6. HOME VALUATION */
.ll-sec-valuation {
    background: #f8fafc;
    padding: 80px 0;
    border-top: 1px solid #e2e8f0;
}

.ll-valuation-sub-text {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 1.15rem;
    color: #4a5568;
}

.ll-valuation-form-card {
    max-width: 680px;
    margin: 0 auto;
    background: #ffffff;
    padding: 8px;
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #cbd5e1;
}

.ll-val-flex-form {
    display: flex;
    gap: 8px;
}

.ll-val-address-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    outline: none;
}

.ll-val-submit-btn {
    background: #d61a21;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 9999px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-val-submit-btn:hover {
    background: #b5151c;
}

/* =============================================
   7. REVIEWS SECTION (3D FOCAL LAYOUT WITH CONTINUOUS SMOOTH TICKER)
   ============================================= */
.ll-sec-reviews {
    padding: 80px 0 100px 0;
    background: #edf3fa; /* Soft ice-blue backdrop matching reference */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ll-reviews-outer-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Stage Card (Rounded white card behind carousel) */
.ll-reviews-stage-card {
    position: relative;
    background: #ffffff;
    border-radius: 36px;
    padding: 60px 40px 140px 40px;
    box-shadow: 0 20px 60px rgba(160, 185, 215, 0.25);
    text-align: center;
}

/* Big Decorative Watermark Quote Icon Top Left */
.ll-ref-big-quote {
    position: absolute;
    top: 40px;
    left: 50px;
    width: 120px;
    height: 120px;
    color: #eef2f7;
    pointer-events: none;
    user-select: none;
}

/* Section Title */
.ll-ref-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2b2d42;
    margin: 0 0 16px 0;
    letter-spacing: -0.5px;
}

/* Underline Pill Bar */
.ll-ref-line-bar {
    position: relative;
    width: 140px;
    height: 4px;
    background: #f0f3f8;
    margin: 0 auto 50px auto;
    border-radius: 2px;
    overflow: hidden;
}

.ll-ref-line-pill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20%;
    background: #f08080; /* Soft coral accent */
    border-radius: 2px;
    transition: left 0.1s linear, width 0.3s ease;
}

/* Carousel Track & Stage */
.ll-ref-track-stage {
    position: relative;
    width: 100%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* Individual Review Cards (Exact 1:1 Reference Dimensions & Spacing) */
.ll-ref-card {
    position: absolute;
    width: 260px;
    height: 380px;
    background: #ffffff;
    border-radius: 24px;
    padding: 32px 24px;
    box-shadow: 0 16px 36px rgba(180, 200, 225, 0.35);
    border: 1px solid #f5f8fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
    top: 20px;
    will-change: transform, opacity;
}

.ll-ref-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ll-ref-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ll-ref-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2b2d42;
    margin: 0 0 20px 0;
}

.ll-ref-quote-body {
    position: relative;
    padding: 0 8px;
}

.ll-quote-mark {
    font-family: Georgia, serif;
    font-size: 32px;
    line-height: 1;
    color: #e2e8f0;
    display: block;
}

.ll-qm-left {
    text-align: left;
    margin-bottom: -10px;
}

.ll-qm-right {
    text-align: right;
    margin-top: -10px;
}

.ll-ref-quote-body p {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #4a5568;
    margin: 0;
    font-weight: 400;
}

.ll-google-badge {
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 8px;
}

.ll-stars-gold {
    color: #f59e0b;
    font-size: 1.3rem;
}

.ll-reviews-3col-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.ll-review-box {
    background: #ffffff;
    padding: 36px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ll-review-avatar {
    margin-bottom: 16px;
}

.ll-review-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.ll-review-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ll-review-author strong {
    display: block;
    color: #041e3f;
    font-size: 1rem;
}

.ll-review-author span {
    font-size: 0.88rem;
    color: #718096;
}

/* 9. CONTACT SECTION */
.ll-sec-contact {
    background: #f8fafc;
    padding: 96px 0;
    border-top: 1px solid #e2e8f0;
}

.ll-contact-row-flex {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.ll-contact-left-info {
    flex: 1;
}

.ll-contact-paragraph {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 36px;
}

.ll-contact-detail-block {
    margin-bottom: 24px;
}

.ll-contact-detail-block h6 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #041e3f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ll-contact-detail-block p, .ll-contact-detail-block a {
    font-size: 1.05rem;
    color: #2d3748;
    text-decoration: none;
}

.ll-contact-detail-block a:hover {
    color: #d61a21;
}

.ll-contact-right-form {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.ll-contact-card-form h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #041e3f;
    margin-bottom: 24px;
}

.ll-form-field-group {
    margin-bottom: 20px;
}

.ll-form-field-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 6px;
}

.ll-form-field-group input, .ll-form-field-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.ll-form-field-group input:focus, .ll-form-field-group textarea:focus {
    border-color: #041e3f;
}

.ll-form-submit-pill-btn {
    width: 100%;
    background: #d61a21;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-form-submit-pill-btn:hover {
    background: #b5151c;
}

/* FLOATING WIDGET */
.ll-floating-widget-card {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    max-width: 320px;
}

.ll-floating-close-btn {
    position: absolute;
    top: 10px; right: 14px;
    background: none; border: none;
    font-size: 20px; color: #a0aec0; cursor: pointer;
}

.ll-floating-title {
    font-size: 0.95rem; font-weight: 800; color: #041e3f; margin: 0 0 4px 0;
}

.ll-floating-subtitle {
    font-size: 0.85rem; color: #718096; margin: 0 0 12px 0; line-height: 1.4;
}

.ll-floating-phone-btn {
    display: block; background: #f8fafc; color: #041e3f;
    font-size: 0.95rem; font-weight: 800; text-align: center;
    padding: 10px 16px; border-radius: 8px; text-decoration: none;
    border: 1px solid #e2e8f0; transition: all 0.2s;
}

.ll-floating-phone-btn:hover {
    background: #041e3f; color: #ffffff;
}

@media (max-width: 900px) {
    .ll-contact-row-flex {
        flex-direction: column;
        gap: 48px;
    }
    .ll-contact-right-form {
        width: 100%;
        padding: 28px;
    }
    .ll-header {
        padding: 12px 16px;
    }
    .ll-header-inner {
        flex-direction: column;
        gap: 12px;
    }
    .ll-header-left-nav ul,
    .ll-header-right-nav ul {
        gap: 16px;
        font-size: 11px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .ll-logo-img {
        max-height: 44px;
    }
}

/* =============================================
   MOBILE RESPONSIVENESS (iPhones, Androids & Tablets)
   ============================================= */
@media (max-width: 768px) {
    .ll-sec-hero {
        padding: 72px 16px;
        min-height: 400px;
    }
    .ll-hero-headline {
        font-size: 2.2rem;
        margin-bottom: 24px;
    }
    .ll-hero-dual-btn {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .ll-hero-dual-btn .ll-pill-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .ll-sec-search-top,
    .ll-sec-search-bottom {
        padding: 48px 16px;
    }
    .ll-search-heading {
        font-size: 1.8rem;
    }
    .ll-trust-bar-text {
        font-size: 12px;
        line-height: 1.7;
        padding: 0 16px;
    }
    .ll-story-text-col {
        padding: 40px 20px;
    }
    .ll-story-title {
        font-size: 2.1rem;
    }
    .ll-areas-header-banner {
        height: 90px;
        margin-bottom: 32px;
    }
    .ll-areas-banner-title {
        font-size: 1.8rem;
    }
    .ll-portrait-card {
        min-height: 360px;
    }
    .ll-section-main-heading {
        font-size: 1.9rem;
    }
    .ll-valuation-sub-text {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .ll-search-form-wrap,
    .ll-val-flex-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
    }
    .ll-search-input-field,
    .ll-val-address-input {
        width: 100%;
        text-align: center;
        padding: 12px;
    }
    .ll-search-submit-btn,
    .ll-val-submit-btn {
        width: 100%;
        border-radius: 9999px;
    }
    .ll-floating-widget-card {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

/* =============================================
   3-PART HEADER (Matching Reference Screenshot)
   ============================================= */
.ll-header {
    background: #041e3f; /* Deep Navy Blue */
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 12px 32px;
}

.ll-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ll-header-left-nav ul,
.ll-header-right-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 28px;
}

.ll-header-left-nav a,
.ll-header-right-nav a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.2s;
}

.ll-header-left-nav a:hover,
.ll-header-right-nav a:hover {
    color: #d61a21;
}

.ll-logo-img {
    max-height: 52px;
    width: auto;
    display: block;
}

.ll-btn-book {
    background: #d61a21 !important;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 9999px !important;
    font-weight: 800 !important;
    transition: background 0.2s ease-in-out !important;
}

.ll-btn-book:hover {
    background: #b5151c !important;
}

/* =============================================
   CURVED HOMEPAGE LAYOUT (100% Exact Match)
   ============================================= */
.ll-homepage-curved {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #222;
    overflow-x: hidden;
}

/* CURVED STORY ROWS */
.ll-curved-row {
    width: 100%;
    min-height: 620px;
    display: flex;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.ll-curved-col-text {
    flex: 0 0 45%;
    max-width: 45%;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 60px 4% 60px 6%;
    z-index: 10;
    position: relative;
}

.ll-text-inner {
    max-width: 520px;
}

.ll-kicker {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #d61a21;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.ll-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #041e3f;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.ll-desc {
    font-size: 1.05rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 32px;
}

.ll-pill-btn {
    display: inline-block;
    background: #041e3f;
    color: #ffffff !important;
    padding: 14px 36px;
    border-radius: 9999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(4, 30, 63, 0.2);
}

.ll-pill-btn:hover {
    background: #d61a21;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(214, 26, 33, 0.3);
}

.ll-pill-btn.btn-dark {
    background: #041e3f;
}

/* CURVED IMAGE COLUMNS WITH SHADOW GLOW */
.ll-curved-col-img {
    flex: 0 0 55%;
    max-width: 55%;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
}

.ll-img-1 {
    background-image: url('https://thelongleafgroup.com/wp-content/uploads/2026/04/MainPage1-scaled.jpg');
}

.ll-img-2 {
    background-image: url('https://thelongleafgroup.com/wp-content/uploads/2026/04/home_2.webp');
    background-position: right center !important;
}

.ll-img-3 {
    background-image: url('https://thelongleafgroup.com/wp-content/uploads/2026/04/mainpage3-scaled.jpg');
}

/* LEFT CURVE MASK (Row 1 & Row 3) */
.ll-curve-mask-left {
    content: "";
    display: block;
    position: absolute;
    bottom: -120px;
    left: -420px;
    width: 760px;
    height: 145%;
    border-radius: 50% / 67% 67% 33% 33%;
    background: #ffffff;
    box-shadow: rgba(214, 26, 33, 0.35) 0px 5px 25px, rgba(4, 30, 63, 0.25) 0px 40px 70px;
    transform: rotate(-15deg);
    z-index: 9;
}

/* RIGHT CURVE MASK (Row 2) */
.ll-curve-mask-right {
    content: "";
    display: block;
    position: absolute;
    bottom: -120px;
    right: -420px;
    width: 760px;
    height: 145%;
    border-radius: 50% / 67% 67% 33% 33%;
    background: #ffffff;
    box-shadow: rgba(214, 26, 33, 0.35) 0px 5px 25px, rgba(4, 30, 63, 0.25) 0px 40px 70px;
    transform: rotate(15deg);
    z-index: 9;
}

@media (max-width: 992px) {
    .ll-curved-row {
        flex-direction: column !important;
        min-height: auto;
    }
    .ll-curved-col-text, .ll-curved-col-img {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ll-curved-col-img {
        height: 380px;
    }
    .ll-curve-mask-left, .ll-curve-mask-right {
        display: none;
    }
}

/* SEARCH & TRUST BAR STYLING */
.ll-search-section {
    background: #041e3f;
    color: #fff;
    padding: 64px 24px;
}

.ll-search-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.ll-search-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.ll-search-box-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.ll-search-form {
    display: flex;
    gap: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 9999px;
    overflow: hidden;
    background: #ffffff;
    padding: 4px;
}

.ll-search-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    font-size: 15px;
    outline: none;
    color: #333;
    background: transparent;
}

.ll-search-btn {
    background: #d61a21;
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-search-btn:hover {
    background: #b5151c;
}

.ll-trust-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
}

.ll-trust-items {
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ll-trust-items .dot {
    color: #d61a21;
    font-size: 16px;
}

/* AREAS WE SERVE WITH PHOTO BACKGROUND CARDS */
.ll-areas-section {
    padding: 80px 0;
    background: #ffffff;
}

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

.ll-area-card {
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-size: cover !important;
    background-position: center center !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ll-area-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 30, 63, 0.45);
    transition: background 0.3s;
}

.ll-area-card:hover {
    transform: translateY(-6px);
}

.ll-area-card:hover::before {
    background: rgba(214, 26, 33, 0.55);
}

.ll-area-card h5 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    margin: 0;
}

.area-img-1 { background-image: url('https://thelongleafgroup.com/wp-content/uploads/2025/05/Waxhaw-1-min.jpg'); }
.area-img-2 { background-image: url('https://thelongleafgroup.com/wp-content/uploads/2025/05/8c0b21da22d69c29b487f890ad07ced9f8aadbbd-min.jpg'); }
.area-img-3 { background-image: url('https://thelongleafgroup.com/wp-content/uploads/2025/05/Matthews-min.jpg'); }
.area-img-4 { background-image: url('https://thelongleafgroup.com/wp-content/uploads/2025/05/Fort-Mill-min.jpg'); }

/* HOME VALUATION SECTION */
.ll-valuation-section {
    background: #f8fafc;
    padding: 80px 0;
    border-top: 1px solid #e2e8f0;
}

.ll-valuation-sub {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 1.15rem;
    color: #4a5568;
}

.ll-valuation-box {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    padding: 8px;
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #cbd5e1;
}

.ll-val-form {
    display: flex;
    gap: 8px;
}

.ll-val-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 9999px;
    font-size: 15px;
    outline: none;
}

.ll-val-btn {
    background: #d61a21;
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 14px;
    font-weight: 800;
    border-radius: 9999px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-val-btn:hover {
    background: #b5151c;
}

/* REVIEWS SECTION */
.ll-reviews-section {
    padding: 80px 0;
}

.ll-stars-badge {
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 8px;
}

.ll-stars-badge .stars {
    color: #f59e0b;
    font-size: 1.3rem;
}

.ll-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.ll-review-card {
    background: #fff;
    padding: 36px 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ll-review-card .review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ll-review-card .reviewer-info strong {
    display: block;
    color: #041e3f;
    font-size: 1rem;
}

.ll-review-card .reviewer-info span {
    font-size: 0.88rem;
    color: #718096;
}

/* CONTACT SECTION */
.ll-contact-section {
    background: #f8fafc;
    padding: 96px 0;
    border-top: 1px solid #e2e8f0;
}

.ll-contact-split {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.ll-contact-info {
    flex: 1;
}

.ll-contact-desc {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 36px;
}

.ll-info-item {
    margin-bottom: 24px;
}

.ll-info-item h6 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #041e3f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ll-info-item p, .ll-info-item a {
    font-size: 1.05rem;
    color: #2d3748;
    text-decoration: none;
}

.ll-info-item a:hover {
    color: #d61a21;
}

.ll-contact-form-wrap {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.ll-contact-form h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #041e3f;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #041e3f;
}

.ll-btn-submit {
    width: 100%;
    background: #d61a21;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-btn-submit:hover {
    background: #b5151c;
}

/* FLOATING QUESTION WIDGET (Bottom Right) */
.ll-floating-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99999;
    background: #ffffff;
    padding: 20px 24px;
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    max-width: 320px;
    animation: fadeInSlideUp 0.4s ease-out;
}

.ll-widget-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    color: #a0aec0;
    cursor: pointer;
}

.ll-widget-close:hover {
    color: #2d3748;
}

.ll-widget-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #041e3f;
    margin: 0 0 4px 0;
}

.ll-widget-sub {
    font-size: 0.85rem;
    color: #718096;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.ll-widget-phone {
    display: block;
    background: #f8fafc;
    color: #041e3f;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid #e2e8f0;
    transition: all 0.2s;
}

.ll-widget-phone:hover {
    background: #041e3f;
    color: #ffffff;
}

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

/* =============================================
   HEADER & NAVIGATION STYLING
   ============================================= */
.header-logo-img {
    max-height: 55px;
    width: auto;
    display: block;
}

.btn-header-cta {
    display: inline-block;
    background: #d61a21;
    color: #fff !important;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.btn-header-cta:hover {
    background: #b5151c;
    text-decoration: none;
}

/* =============================================
   HOMEPAGE (100% Reference Layout Match)
   ============================================= */

.ll-homepage {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    line-height: 1.7;
}

.ll-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.ll-section-heading {
    font-size: 2.4rem;
    font-weight: 800;
    color: #041e3f;
    line-height: 1.25;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }

/* Buttons */
.ll-btn {
    display: inline-block;
    padding: 14px 34px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ll-btn-primary {
    background: #d61a21;
    color: #fff !important;
    border: 2px solid #d61a21;
}

.ll-btn-primary:hover {
    background: #b5151c;
    border-color: #b5151c;
}

.ll-btn-secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid #fff;
}

.ll-btn-secondary:hover {
    background: #fff;
    color: #041e3f !important;
}

.ll-btn-outline {
    background: transparent;
    color: #041e3f !important;
    border: 2px solid #041e3f;
}

.ll-btn-outline:hover {
    background: #041e3f;
    color: #fff !important;
}

.ll-btn-solid {
    background: #041e3f;
    color: #fff !important;
    border: 2px solid #041e3f;
}

.ll-btn-solid:hover {
    background: #021226;
    border-color: #021226;
}

/* 1. HERO SECTION */
.ll-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('https://placehold.co/1920x900/041e3f/ffffff?text=Capital+Region+Real+Estate') center/cover no-repeat;
    padding: 100px 24px;
    text-align: center;
}

.ll-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 30, 63, 0.72);
    z-index: 1;
}

.ll-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.ll-hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    color: #ffffff !important;
    line-height: 1.2;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
}

.ll-hero-title .highlight-text {
    font-weight: 900;
    color: #ffffff;
}

.ll-hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 2. PROPERTY SEARCH SECTION */
.ll-search-section {
    background: #041e3f;
    color: #fff;
    padding: 56px 24px;
}

.ll-search-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.ll-search-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}

.ll-search-box-wrap {
    max-width: 680px;
    margin: 0 auto;
}

.ll-search-form {
    display: flex;
    gap: 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 6px;
    overflow: hidden;
}

.ll-search-input {
    flex: 1;
    padding: 16px 22px;
    border: none;
    font-size: 15px;
    outline: none;
    color: #333;
}

.ll-search-btn {
    background: #d61a21;
    color: #fff;
    border: none;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-search-btn:hover {
    background: #b5151c;
}

/* 3. TRUST BAR */
.ll-trust-bar {
    background: #f4f6f8;
    border-bottom: 1px solid #e2e8f0;
    padding: 20px 0;
}

.ll-trust-items {
    font-size: 14px;
    font-weight: 700;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.ll-trust-items .dot {
    color: #d61a21;
    font-size: 16px;
}

/* 4. STORY SECTIONS (ABOUT / SELL / BUY) */
.ll-story-sections {
    padding: 80px 0;
}

.ll-story-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 96px;
}

.ll-story-row:last-child {
    margin-bottom: 0;
}

.ll-col-text {
    flex: 1;
}

.ll-col-img {
    flex: 1.2;
}

.ll-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    color: #d61a21;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ll-body-text {
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.8;
    margin-bottom: 32px;
}

.ll-img-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

@media (max-width: 900px) {
    .ll-story-row {
        flex-direction: column !important;
        gap: 36px;
        margin-bottom: 64px;
    }
}

/* 5. AREAS WE SERVE */
.ll-areas-section {
    background: #f8fafc;
    padding: 80px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

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

.ll-area-card {
    background: #ffffff;
    padding: 36px 24px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    border-bottom: 4px solid #041e3f;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ll-area-card h5 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #041e3f;
    margin: 0;
}

.ll-area-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    border-bottom-color: #d61a21;
}

/* 6. HOME VALUATION */
.ll-valuation-section {
    padding: 80px 0;
}

.ll-valuation-sub {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 1.15rem;
    color: #4a5568;
}

.ll-valuation-box {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.ll-val-form {
    display: flex;
    gap: 10px;
}

.ll-val-input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
}

.ll-val-btn {
    background: #d61a21;
    color: #fff;
    border: none;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-val-btn:hover {
    background: #b5151c;
}

/* 7. REVIEWS SECTION */
.ll-reviews-section {
    background: #f8fafc;
    padding: 80px 0;
    border-top: 1px solid #e2e8f0;
}

.ll-stars-badge {
    font-size: 1.1rem;
    color: #4a5568;
    margin-top: 8px;
}

.ll-stars-badge .stars {
    color: #f59e0b;
    font-size: 1.3rem;
}

.ll-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.ll-review-card {
    background: #fff;
    padding: 36px 30px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ll-review-card .review-text {
    font-size: 1.05rem;
    font-style: italic;
    color: #2d3748;
    line-height: 1.7;
    margin-bottom: 24px;
}

.ll-review-card .reviewer-info strong {
    display: block;
    color: #041e3f;
    font-size: 1rem;
}

.ll-review-card .reviewer-info span {
    font-size: 0.88rem;
    color: #718096;
}

/* 8. CONTACT SECTION */
.ll-contact-section {
    padding: 96px 0;
}

.ll-contact-split {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.ll-contact-info {
    flex: 1;
}

.ll-contact-desc {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 36px;
}

.ll-info-item {
    margin-bottom: 24px;
}

.ll-info-item h6 {
    font-size: 0.95rem;
    font-weight: 800;
    color: #041e3f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.ll-info-item p, .ll-info-item a {
    font-size: 1.05rem;
    color: #2d3748;
    text-decoration: none;
}

.ll-info-item a:hover {
    color: #d61a21;
}

.ll-contact-form-wrap {
    flex: 1;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 36px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}

.ll-contact-form h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #041e3f;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 6px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #041e3f;
}

.ll-btn-submit {
    width: 100%;
    background: #d61a21;
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.ll-btn-submit:hover {
    background: #b5151c;
}

@media (max-width: 900px) {
    .ll-contact-split {
        flex-direction: column;
        gap: 48px;
    }
    .ll-contact-form-wrap {
        width: 100%;
    }
}

/* =============================================
   HOMEPAGE (front-page.php)
   ============================================= */

/* Shared Homepage Container */
.front-page-main {
    width: 100%;
}
.hp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.bg-light { background: #f9f9f9; }
.bg-dark { background: #041e3f; color: #fff; }
.text-center { text-align: center; }

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}
.btn-primary {
    background: #d61a21; /* Bright Maryland Red */
    color: #fff;
    border: 2px solid #d61a21;
}
.btn-primary:hover {
    background: #b5151c;
    border-color: #b5151c;
    color: #fff;
}
.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.btn-secondary:hover {
    background: #fff;
    color: #041e3f;
}
.btn-outline {
    background: transparent;
    color: #041e3f;
    border: 2px solid #041e3f;
}
.btn-outline:hover {
    background: #041e3f;
    color: #fff;
}

/* Hero Section */
.hp-hero {
    position: relative;
    background: linear-gradient(rgba(4, 30, 63, 0.7), rgba(4, 30, 63, 0.7)), url('https://placehold.co/1920x800/041e3f/ffffff?text=Hero+Background+Image') center/cover no-repeat;
    padding: 120px 24px;
    text-align: center;
    color: #fff;
}
.hp-hero-content {
    max-width: 900px;
    margin: 0 auto;
}
.hp-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
    color: #fff !important; /* Override standard heading color */
}
.hp-hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    font-weight: 400;
}
.hp-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Trust Bar */
.hp-trust-bar {
    background: #021226; /* Darker navy */
    color: #fff;
    padding: 24px 0;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.hp-trust-bar p { margin: 0; }

/* Content Blocks */
.hp-block {
    padding: 80px 0;
}
.hp-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}
.hp-split-text, .hp-split-image {
    flex: 1;
    min-width: 300px;
}
.hp-split-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.hp-split-text h2 {
    font-size: 2.5rem;
    color: #041e3f;
    margin-bottom: 24px;
    font-weight: 800;
}
.hp-preheading {
    display: block;
    color: #d61a21;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-size: 13px;
}
.hp-split-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 32px;
}

/* Desktop layout order for reverse */
@media (min-width: 768px) {
    .reverse-on-desktop {
        flex-direction: row-reverse;
    }
}

/* Areas We Serve */
.hp-areas {
    padding: 80px 0;
    text-align: center;
}
.hp-section-header h2 {
    font-size: 2.5rem;
    color: #041e3f;
    margin-bottom: 48px;
}
.hp-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}
.hp-area-card {
    background: #fff;
    padding: 40px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-bottom: 4px solid #041e3f;
    transition: transform 0.2s;
}
.hp-area-card:hover {
    transform: translateY(-5px);
    border-bottom-color: #d61a21;
}
.hp-area-card h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #041e3f;
}

/* Valuation & Search */
.hp-valuation, .hp-search {
    padding: 80px 0;
}
.hp-search h2 { color: #fff; margin-bottom: 16px; }
.hp-valuation h2 { color: #041e3f; margin-bottom: 16px; }
.hp-placeholder-widget {
    background: #eaeaea;
    padding: 60px;
    border-radius: 8px;
    border: 2px dashed #ccc;
    color: #666;
    margin-top: 32px;
}
.light-widget {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* Final CTA */
.hp-final-cta {
    padding: 80px 0;
}
.hp-cta-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: #fdfdfd;
    padding: 64px 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.04);
}
.hp-cta-inner h2 {
    font-size: 2.2rem;
    color: #041e3f;
    margin-bottom: 24px;
}
.hp-cta-inner p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* =============================================
   2. RED FOOTER LABELS (Requirement 2)
   ============================================= */
.ll-footer-label-red,
.footer-connect,
.footer-col h4,
.site-footer h2.footer-connect {
    color: #d61a21 !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
}

/* =============================================
   4. CONTINUOUS UNBROKEN S-CURVE DESIGN
   1:1 Match of Reference Site: Unbroken, continuous, fluid S-curve line
   connecting Row 1 -> Row 2 -> Row 3 seamlessly
   ============================================= */
.ll-continuous-curved-container {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.ll-curved-story-row {
    position: relative;
    width: 100%;
    min-height: 640px;
    display: flex;
    overflow: hidden;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

.ll-story-row-1 { background: #ffffff; }
.ll-story-row-2 { background: #ffffff; }
.ll-story-row-3 { background: #ffffff; }

.ll-story-text-col {
    flex: 0 0 46%;
    max-width: 46%;
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 60px 4% 60px 6%;
    z-index: 10;
    position: relative;
}

.ll-story-img-col {
    flex: 0 0 54%;
    max-width: 54%;
    position: relative;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
}

/* SVG Continuous S-Curve Overlay */
.ll-s-curve-svg {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100.5%;
    width: 240px;
    z-index: 15;
    pointer-events: none;
}

.ll-scurve-r1 {
    left: -1px;
}

.ll-scurve-r2 {
    right: -1px;
}

.ll-scurve-r3 {
    left: -1px;
}

@media (max-width: 992px) {
    .ll-curved-story-row {
        flex-direction: column !important;
        min-height: auto;
    }
    .ll-story-text-col,
    .ll-story-img-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .ll-story-img-col {
        height: 380px;
    }
    .ll-s-curve-svg {
        display: none;
    }
}



