
:root{
    --tp-bg:#16090b;
    --tp-surface:#2b1014;
    --tp-card:#ffffff;
    --tp-soft:#fff6f6;
    --tp-text:#1a1a1a;
    --tp-muted:#6d5960;
    --tp-accent:#b5161a;
    --tp-accent-2:#e9c9cc;
    --tp-border:rgba(32,15,18,.10);
    --tp-radius:28px;
    --tp-shadow:0 24px 60px rgba(36,11,15,.12);
    --tp-container:min(1180px, calc(100% - 32px));
}
*,
*::before,
*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Tahoma, "Segoe UI", sans-serif;
    color:var(--tp-text);
    background:#fffafa;
    line-height:1.7;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
.tp-container{width:var(--tp-container);margin-inline:auto}
.tp-preloader{
    position:fixed;inset:0;z-index:99999;background:linear-gradient(135deg,#12090a,#8e1218);display:grid;place-items:center;transition:opacity .45s ease, visibility .45s ease;
}
.tp-preloader.is-hidden{opacity:0;visibility:hidden}
.tp-preloader-inner{display:grid;gap:14px;justify-items:center;color:#fff}
.tp-preloader-mark{
    width:86px;height:86px;border-radius:999px;border:2px solid rgba(255,255,255,.35);display:grid;place-items:center;font-size:1.9rem;font-weight:900;animation:tpSpin 1.5s linear infinite;
}
.tp-preloader-text{font-size:1rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
@keyframes tpSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.site-header{
    position:sticky;top:0;z-index:30;backdrop-filter:blur(18px);background:rgba(255,255,255,.90);border-bottom:1px solid rgba(24,33,46,.08);
}
.header-inner{display:grid;grid-template-columns:auto 1fr auto;gap:24px;align-items:center;min-height:82px}
.brand-wrap{display:flex;flex-direction:column;gap:3px}
.site-title{font-size:1.35rem;font-weight:800;letter-spacing:.02em}
.site-tagline{font-size:.88rem;color:var(--tp-muted)}
.custom-logo{max-height:56px;width:auto}
.primary-nav ul,.footer-menu{list-style:none;display:flex;align-items:center;gap:20px;margin:0;padding:0}
.primary-nav li{position:relative}
.primary-nav a,.footer-menu a{color:var(--tp-text);font-weight:600}
.primary-nav a:hover,.footer-menu a:hover{color:var(--tp-accent)}
.header-actions{display:flex;align-items:center;gap:12px}
.pill-link{
    display:inline-flex;align-items:center;justify-content:center;padding:.85rem 1.15rem;border-radius:999px;background:var(--tp-accent);color:#fff;font-weight:700;
}
.menu-toggle{display:none;background:none;border:0;width:46px;height:46px;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:6px}
.menu-toggle span{width:22px;height:2px;background:#111;border-radius:2px}
.section{padding:88px 0;position:relative}
.hero-section{position:relative;overflow:hidden;background:#090506}
.hero-slider{position:relative;min-height:680px}
.hero-track{display:flex;transition:transform .65s cubic-bezier(.22,.61,.36,1)}
.hero-slide{
    min-width:100%;min-height:680px;position:relative;background:linear-gradient(110deg, rgba(12,5,7,.82), rgba(30,8,12,.56) 52%, rgba(12,5,7,.28)),var(--hero-image) center/cover no-repeat;display:flex;align-items:center
}
.hero-content{position:relative;z-index:2;width:100%}
.hero-panel{
    width:min(660px,100%);color:#fff;padding:44px;border-radius:34px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);box-shadow:0 30px 80px rgba(0,0,0,.18)
}
.eyebrow{
    display:inline-block;padding:.45rem .9rem;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:.82rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase
}
.hero-panel h1,.page-hero h1{margin:18px 0 12px;font-size:clamp(2.1rem,4vw,4.1rem);line-height:1.1}
.hero-panel p,.page-hero p{margin:0;color:rgba(255,255,255,.9);max-width:58ch}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.button{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:0 20px;border-radius:16px;border:1px solid transparent;font-weight:800;transition:transform .2s ease, box-shadow .2s ease, background .2s ease
}
.button:hover{transform:translateY(-2px)}
.button-primary{background:linear-gradient(135deg,var(--tp-accent),#d72930);color:#fff;box-shadow:0 18px 40px rgba(181,22,26,.28)}
.button-secondary{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.18)}
.button-ghost{background:#fff;border-color:var(--tp-border);color:var(--tp-text)}
.slider-controls{position:absolute;inset-inline:0;bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.slider-button{
    width:52px;height:52px;border-radius:18px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);color:#fff;font-size:1.8rem;display:grid;place-items:center;cursor:pointer
}
.slider-dots{display:flex;align-items:center;justify-content:center;gap:10px}
.slider-dot{width:12px;height:12px;border-radius:999px;border:1px solid rgba(255,255,255,.7);background:transparent;cursor:pointer;transition:transform .2s ease, background .2s ease}
.slider-dot.is-active{background:#fff;border-color:#fff;transform:scale(1.15)}
.intro-grid,.property-hero-grid,.property-single-grid,.footer-grid{display:grid;gap:28px}
.intro-grid{grid-template-columns:1.1fr .9fr;align-items:start}
.section-heading h2{margin:16px 0 0;font-size:clamp(1.7rem,2.4vw,3rem);line-height:1.15}
.section-heading.centered{text-align:center;max-width:760px;margin:0 auto 34px}
.section-heading.split{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}
.intro-copy p{color:var(--tp-muted);font-size:1.05rem}
.stats-grid,.service-grid,.property-grid,.timeline-grid,.post-grid{display:grid;gap:20px}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:28px}
.stat-card,.service-card,.timeline-card,.post-card,.sidebar-card,.property-summary-card{
    background:#fff;border-radius:var(--tp-radius);padding:26px;box-shadow:var(--tp-shadow);border:1px solid var(--tp-border)
}
.stat-card strong,.timeline-card strong{display:block;color:var(--tp-accent);font-size:1.7rem;margin-bottom:10px}
.service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-card p,.timeline-card p,.post-body p,.property-body p{color:var(--tp-muted)}
.service-card h3 a:hover,.property-body h3 a:hover,.inline-link:hover{color:var(--tp-accent)}
.surface-section,.process-section{overflow:hidden}
.surface-section::before,.process-section::before{
    content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(255,250,250,.94), rgba(255,250,250,.96)),var(--surface-image) center/cover no-repeat;opacity:1;pointer-events:none
}
.surface-section > .tp-container,.process-section > .tp-container{position:relative;z-index:1}
.listing-section{background:#fff8f8}
.property-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.property-card{background:#fff;border-radius:32px;overflow:hidden;box-shadow:var(--tp-shadow);border:1px solid var(--tp-border)}
.property-thumb{display:block;min-height:260px;background-position:center;background-size:cover}
.property-body{padding:22px}
.property-badge{display:inline-flex;padding:.35rem .75rem;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:.82rem;font-weight:800}
.property-body h3{margin:14px 0 8px;font-size:1.25rem;line-height:1.35}
.property-price{margin:0 0 16px;color:#1a1a1a !important;font-size:1.2rem;font-weight:800}
.property-meta,.property-specs,.footer-contact{list-style:none;padding:0;margin:0}
.property-meta{display:grid;gap:10px;color:var(--tp-muted)}
.inline-link{display:inline-flex;margin-top:18px;color:#8f1217;font-weight:800}
.timeline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.timeline-card{min-height:100%;background:rgba(255,255,255,.96)}
.cta-box{
    background:linear-gradient(135deg, #2b1014, #701016);color:#fff;border-radius:36px;padding:38px;box-shadow:0 30px 90px rgba(39,8,12,.24);display:flex;align-items:center;justify-content:space-between;gap:22px
}
.cta-box h2{margin:16px 0 0;font-size:clamp(1.7rem,2.4vw,2.8rem)}
.page-hero{
    padding:90px 0 40px;color:#fff;background:linear-gradient(140deg, rgba(28,8,11,.92), rgba(112,16,22,.82)),url('../images/backgrounds/hero-ankara-red.svg') center/cover no-repeat
}
.simple-page-hero{padding-bottom:24px}
.properties-hero p{color:rgba(255,255,255,.86)}
.property-hero-grid{grid-template-columns:1.2fr .8fr;align-items:end}
.property-summary-card{background:rgba(255,255,255,.97)}
.price-chip{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border-radius:16px;background:#fff;color:#111;font-weight:800}
.property-single-grid{grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);align-items:start}
.property-sidebar{position:sticky;top:110px}
.property-featured-image img,.entry-featured img{width:100%;border-radius:30px;box-shadow:var(--tp-shadow)}
.entry-content{margin-top:22px;background:#fff;border-radius:30px;padding:28px;border:1px solid var(--tp-border);box-shadow:var(--tp-shadow)}
.property-specs{display:grid;gap:14px}
.property-specs li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid rgba(24,33,46,.08)}
.property-specs li:last-child{border-bottom:none;padding-bottom:0}
.compact li{padding-bottom:10px}
.full-width{width:100%;margin-top:18px}
.post-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.post-card{overflow:hidden;padding:0}
.post-thumb img{width:100%;aspect-ratio:4/3;object-fit:cover}
.post-body{padding:22px}
.search-form{display:flex;gap:14px;align-items:center}
.search-field{flex:1;min-height:50px;padding:0 16px;border-radius:16px;border:1px solid var(--tp-border);background:#fff}
.pagination-wrap{margin-top:32px}
.site-footer{margin-top:40px;padding:40px 0 18px;background:#16090b;color:#f7ecec}
.footer-grid{grid-template-columns:1.1fr .8fr .8fr}
.footer-grid h3,.footer-grid h4{margin-top:0;color:#fff}
.footer-menu{flex-direction:column;align-items:flex-start;gap:10px}
.footer-contact{display:grid;gap:10px}
.footer-bottom{padding-top:18px;margin-top:26px;border-top:1px solid rgba(255,255,255,.10);color:rgba(255,255,255,.74)}
.narrow-content{width:min(860px, var(--tp-container));margin-inline:auto}
@media (max-width:1024px){
    .intro-grid,.property-hero-grid,.property-single-grid,.footer-grid,.service-grid,.timeline-grid,.property-grid,.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .cta-box,.section-heading.split{flex-direction:column;align-items:flex-start}
    .header-inner{grid-template-columns:auto auto 1fr auto}
    .menu-toggle{display:flex}
    .primary-nav{
        position:absolute;inset-inline:16px;top:84px;background:rgba(255,255,255,.98);border-radius:24px;box-shadow:var(--tp-shadow);border:1px solid var(--tp-border);padding:18px;opacity:0;pointer-events:none;transform:translateY(-10px);transition:opacity .22s ease, transform .22s ease
    }
    .primary-nav.is-open{opacity:1;pointer-events:auto;transform:translateY(0)}
    .primary-nav ul{flex-direction:column;align-items:flex-start}
}
@media (max-width:720px){
    .header-inner{grid-template-columns:auto auto;gap:14px}
    .header-actions{display:none}
    .hero-slider,.hero-slide{min-height:620px}
    .hero-panel{padding:28px;border-radius:26px}
    .section{padding:70px 0}
    .stats-grid,.service-grid,.timeline-grid,.property-grid,.post-grid,.intro-grid,.property-hero-grid,.property-single-grid,.footer-grid{grid-template-columns:1fr}
    .slider-controls{bottom:18px}
    .slider-button{width:46px;height:46px}
    .cta-box{padding:28px;border-radius:28px}
}

/* TP_MEDIA_FIT_REPAIR_v1 START */
/* هدف: استانداردسازی نمایش عکس و ویدیو در TurkishPlanet و افزونه املاک */

:where(.property-featured-image, .entry-featured, .tpev3-gallery-slider figure, .tpev3-thumb, .tpev3-media, .entry-content figure, .property-entry figure){
    overflow:hidden;
    border-radius:24px;
}

:where(.property-featured-image img, .entry-featured img, .tpev3-main-image){
    width:100% !important;
    max-width:100% !important;
    aspect-ratio:16 / 9;
    height:auto !important;
    max-height:min(72vh, 760px);
    object-fit:cover;
    display:block;
}

:where(.tpev3-gallery-slider){
    grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
    gap:14px;
}

:where(.tpev3-gallery-slider img, .gallery img, .blocks-gallery-item img, .wp-block-gallery img){
    width:100% !important;
    max-width:100% !important;
    aspect-ratio:4 / 3;
    height:auto !important;
    max-height:420px;
    object-fit:cover;
    display:block;
}

:where(.entry-content img, .property-entry img, .wp-block-image img, .tpev3-single-card .entry-content img){
    width:auto;
    max-width:100% !important;
    height:auto !important;
    max-height:72vh;
    object-fit:contain;
    display:block;
    margin-inline:auto;
    border-radius:22px;
}

:where(.entry-content iframe, .property-entry iframe, .entry-content video, .property-entry video, .tpev3-video, .tpev3-media iframe, .tpev3-media video, .wp-video-shortcode, .wp-block-embed iframe){
    display:block;
    width:100% !important;
    max-width:100% !important;
    aspect-ratio:16 / 9;
    height:auto !important;
    max-height:min(72vh, 760px);
    border:0;
    border-radius:24px;
    background:#000;
    overflow:hidden;
}

:where(.wp-video, .mejs-container, .mejs__container, .tpev3-media, .entry-content .wp-block-embed, .entry-content .wp-block-video){
    width:100% !important;
    max-width:100% !important;
    margin-inline:auto;
    border-radius:24px;
    overflow:hidden;
}

:where(.tpev3-thumb img){
    height:260px;
    object-fit:cover;
}

@media (max-width: 1024px){
    :where(.property-featured-image img, .entry-featured img, .tpev3-main-image, .entry-content iframe, .property-entry iframe, .entry-content video, .property-entry video, .tpev3-video, .tpev3-media iframe, .tpev3-media video){
        max-height:60vh;
    }
}

@media (max-width: 680px){
    :where(.property-featured-image img, .entry-featured img, .tpev3-main-image){
        aspect-ratio: 16 / 10;
        max-height: 44vh;
        border-radius:18px;
    }

    :where(.tpev3-gallery-slider){
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    :where(.tpev3-gallery-slider img, .gallery img, .blocks-gallery-item img, .wp-block-gallery img){
        aspect-ratio:1 / 1;
        max-height:220px;
        border-radius:16px;
    }

    :where(.entry-content iframe, .property-entry iframe, .entry-content video, .property-entry video, .tpev3-video, .tpev3-media iframe, .tpev3-media video){
        max-height:42vh;
        border-radius:18px;
    }
}
/* TP_MEDIA_FIT_REPAIR_v1 END */

/* TP_UI_VISIBILITY_REPAIR_v1 START */
/* هدف: خواناسازی مشخصات ملک در هدر و اصلاح رنگ لینک‌های فوتر */

.property-hero .property-summary-card,
.page-hero .property-summary-card{
    background:rgba(255,255,255,.98) !important;
    color:#161616 !important;
    border:1px solid rgba(22,22,22,.08) !important;
    box-shadow:0 20px 50px rgba(15,8,9,.14) !important;
}

.property-hero .property-summary-card *,
.page-hero .property-summary-card *{
    color:#161616 !important;
}

.property-hero .property-summary-card .property-specs strong,
.page-hero .property-summary-card .property-specs strong{
    color:#6b1a1f !important;
    font-weight:800 !important;
}

.property-hero .property-summary-card .property-specs span,
.page-hero .property-summary-card .property-specs span{
    color:#111111 !important;
    font-weight:700 !important;
}

.property-hero .property-summary-card .property-specs li,
.page-hero .property-summary-card .property-specs li{
    border-bottom:1px solid rgba(24,33,46,.12) !important;
}

.site-footer .footer-menu a,
.site-footer .footer-contact a,
.site-footer .footer-grid a{
    color:#ffd767 !important;
    opacity:1 !important;
}

.site-footer .footer-menu a:hover,
.site-footer .footer-contact a:hover,
.site-footer .footer-grid a:hover{
    color:#d72830 !important;
}

.site-footer .footer-menu li,
.site-footer .footer-contact li,
.site-footer .footer-grid p,
.site-footer .footer-bottom,
.site-footer .footer-bottom p{
    color:rgba(255,255,255,.88) !important;
}

/* کمی خوانایی بهتر برای فوتر در تم فعلی */
.site-footer .footer-grid h3,
.site-footer .footer-grid h4{
    color:#ffffff !important;
}
/* TP_UI_VISIBILITY_REPAIR_v1 END */

/* TP Blog Home Repair */
.tp-home-blog-section { padding-top: 24px; }
.tp-home-blog-section .tp-post-grid,
.tp-home-blog-section .post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.tp-home-blog-section .tp-post-card,
.tp-home-blog-section .post-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,.06);
}
.tp-home-blog-section .tp-post-thumb,
.tp-home-blog-section .post-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f4f4f4;
}
.tp-home-blog-section .tp-post-thumb img,
.tp-home-blog-section .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.tp-home-blog-section .tp-post-body,
.tp-home-blog-section .post-body {
    padding: 20px;
}
.tp-home-blog-section .tp-post-body h3,
.tp-home-blog-section .post-body h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    line-height: 1.8;
}
.tp-home-blog-section .tp-post-body p,
.tp-home-blog-section .post-body p {
    margin: 0 0 14px;
    color: #3f3f46;
    line-height: 2;
}
.tp-home-blog-section .tp-post-link { width: 100%; justify-content: center; }

/* TP Slider Height Repair START */
.hero-section .hero-slider{min-height:240px !important;height:240px !important;}
.hero-section .hero-track{height:100% !important;}
.hero-section .hero-slide{min-height:240px !important;height:240px !important;align-items:center !important;background-position:center center !important;}
.hero-section .hero-content{padding-block:18px !important;}
.hero-section .hero-panel{width:min(540px,100%) !important;padding:18px 20px !important;border-radius:22px !important;}
.hero-section .hero-panel h1{font-size:clamp(1.1rem,2vw,2rem) !important;margin:10px 0 8px !important;line-height:1.15 !important;}
.hero-section .hero-panel p{font-size:.92rem !important;line-height:1.7 !important;max-width:52ch !important;}
.hero-section .hero-actions{gap:10px !important;margin-top:14px !important;}
.hero-section .hero-actions .button{min-height:42px !important;padding:0 14px !important;font-size:.9rem !important;}
.hero-section .slider-controls{bottom:10px !important;}
.hero-section .slider-button{width:42px !important;height:42px !important;font-size:1.35rem !important;}
@media (max-width: 1024px){.hero-section .hero-slider,.hero-section .hero-slide{min-height:210px !important;height:210px !important;}.hero-section .hero-panel{padding:16px 18px !important;}}
@media (max-width: 720px){.hero-section .hero-slider,.hero-section .hero-slide{min-height:180px !important;height:180px !important;}.hero-section .hero-content{padding-block:12px !important;}.hero-section .hero-panel{padding:12px 14px !important;border-radius:18px !important;}.hero-section .hero-panel p,.hero-section .hero-actions,.hero-section .eyebrow{display:none !important;}.hero-section .hero-panel h1{font-size:1rem !important;margin:0 !important;}}
/* TP Slider Height Repair END */


/* TP_POLISH_UI_v1 START */
html{overflow-x:hidden}
body{
    background:
        radial-gradient(circle at top right, rgba(181,22,26,.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(112,16,22,.06), transparent 22%),
        #fffbfb;
}
body.menu-open{overflow:hidden}
.site-header{
    transition:background .28s ease, box-shadow .28s ease, border-color .28s ease, transform .28s ease;
    background:rgba(255,255,255,.82);
}
.site-header.is-scrolled{
    background:rgba(255,255,255,.94);
    box-shadow:0 18px 45px rgba(26,8,12,.08);
    border-bottom-color:rgba(24,33,46,.06);
}
.brand-wrap{position:relative;z-index:2}
.site-title{font-size:1.18rem;font-weight:900;letter-spacing:.01em}
.site-tagline{font-size:.8rem;max-width:34ch;line-height:1.5}
.custom-logo{max-height:52px}
.primary-nav a{
    display:inline-flex;align-items:center;min-height:42px;padding:0 2px;
    position:relative;transition:color .18s ease, transform .18s ease;
}
.primary-nav a::after{
    content:"";position:absolute;inset-inline:0;bottom:4px;height:2px;border-radius:999px;
    background:linear-gradient(90deg,var(--tp-accent),#e03a41);transform:scaleX(0);transform-origin:center;
    transition:transform .22s ease;
}
.primary-nav a:hover{transform:translateY(-1px)}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current_page_item > a::after{transform:scaleX(1)}
.pill-link{
    min-height:46px;padding:.8rem 1.05rem;background:linear-gradient(135deg,#b5161a,#da2f37);
    box-shadow:0 16px 32px rgba(181,22,26,.18);
}
.hero-section{
    padding-top:18px;
    background:
        radial-gradient(circle at top left, rgba(181,22,26,.18), transparent 26%),
        linear-gradient(180deg,#090506,#120809 56%, #1b0b0f 100%);
}
.hero-slider{min-height:560px;border-radius:0 0 38px 38px;overflow:hidden}
.hero-slide{
    min-height:560px;
    align-items:flex-end;
    background:
        linear-gradient(110deg, rgba(10,4,6,.82), rgba(30,8,12,.44) 50%, rgba(10,4,6,.18)),
        var(--hero-image) center/cover no-repeat;
}
.hero-slide::before{
    content:"";position:absolute;inset:0;
    background:radial-gradient(circle at top right, rgba(255,255,255,.08), transparent 18%),
               linear-gradient(180deg, transparent, rgba(6,2,3,.24));
    pointer-events:none;
}
.hero-content{padding-block:48px 78px}
.hero-panel{
    width:min(620px,100%);
    padding:32px 34px;
    border-radius:30px;
    background:linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.08));
    border:1px solid rgba(255,255,255,.18);
    box-shadow:0 22px 60px rgba(0,0,0,.18);
}
.eyebrow{
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
}
.hero-panel h1,.page-hero h1{font-size:clamp(1.95rem,3vw,3.35rem);margin:16px 0 10px}
.hero-panel p,.page-hero p{font-size:1rem;max-width:54ch}
.hero-actions{gap:12px;margin-top:24px}
.button{
    min-height:48px;padding:0 18px;border-radius:15px;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover{transform:translateY(-2px)}
.button-primary{box-shadow:0 14px 30px rgba(181,22,26,.22)}
.button-secondary{
    background:rgba(255,255,255,.12);
    border-color:rgba(255,255,255,.2);
}
.button-ghost{
    background:rgba(255,255,255,.84);
    backdrop-filter:blur(6px);
}
.slider-controls{bottom:22px}
.slider-button{
    width:48px;height:48px;border-radius:16px;
    transition:transform .2s ease, background .2s ease, border-color .2s ease;
}
.slider-button:hover{transform:translateY(-1px);background:rgba(255,255,255,.14)}
.slider-dot{width:10px;height:10px;opacity:.86}
.slider-dot.is-active{transform:scale(1.08)}
.section{padding:82px 0}
.section-heading h2{margin-top:14px;letter-spacing:-.02em}
.section-heading.centered{margin-bottom:30px}
.intro-copy p{max-width:62ch}
.stats-grid,.service-grid,.property-grid,.timeline-grid,.post-grid{align-items:stretch}
.stat-card,.service-card,.timeline-card,.post-card,.property-card,.sidebar-card,.property-summary-card,.entry-content{
    transition:transform .26s ease, box-shadow .26s ease, border-color .26s ease;
}
.stat-card:hover,.service-card:hover,.timeline-card:hover,.post-card:hover,.property-card:hover,.sidebar-card:hover{
    transform:translateY(-5px);
    box-shadow:0 26px 60px rgba(26,8,12,.13);
    border-color:rgba(181,22,26,.12);
}
.stat-card,.service-card,.timeline-card,.property-summary-card,.entry-content{border-radius:30px}
.stat-card{padding:24px}
.stat-card span{color:var(--tp-muted)}
.service-card{
    position:relative;padding:28px 26px 24px;
    background:linear-gradient(180deg, #fff, #fffafb);
}
.service-card::before{
    content:"";position:absolute;top:18px;inset-inline-start:18px;width:38px;height:4px;border-radius:999px;
    background:linear-gradient(90deg,var(--tp-accent),#f06168);
    opacity:.9;
}
.service-card h3{margin:18px 0 10px;font-size:1.18rem;line-height:1.4}
.service-card p{margin:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.inline-link{
    position:relative;gap:8px;
}
.inline-link::after{
    content:"←";font-size:.95em;transition:transform .18s ease;
}
.inline-link:hover::after{transform:translateX(-3px)}
.listing-section{background:linear-gradient(180deg,#fff9f9,#fffdfd)}
.property-card{border-radius:30px}
.property-thumb{
    min-height:240px;aspect-ratio:16/11;
    position:relative;overflow:hidden;
}
.property-thumb::after{
    content:"";position:absolute;inset:0;background:linear-gradient(180deg, transparent, rgba(9,5,6,.18));
}
.property-body{padding:20px 20px 22px}
.property-badge{margin-bottom:12px}
.property-meta li{display:flex;align-items:center;gap:8px}
.post-card{border-radius:30px;background:linear-gradient(180deg,#fff,#fffbfb)}
.post-thumb img{aspect-ratio:16/10;transition:transform .55s ease}
.post-card:hover .post-thumb img{transform:scale(1.04)}
.post-body h3{margin:0 0 12px;font-size:1.2rem;line-height:1.45}
.cta-box{
    border:1px solid rgba(255,255,255,.08);
    align-items:flex-end;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 18%),
        linear-gradient(135deg, #2b1014, #6a1016 60%, #8f161c);
}
.cta-box h2{max-width:16ch}
.site-footer{
    margin-top:24px;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.06), transparent 18%),
        #16090b;
}
.footer-grid{gap:30px}
.footer-grid p{max-width:38ch}
.tp-reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease, transform .55s ease;will-change:opacity,transform}
.tp-reveal.is-visible{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){
    html{scroll-behavior:auto}
    .tp-reveal,.tp-reveal.is-visible,.post-thumb img,.button,.slider-button,.primary-nav a,.stat-card,.service-card,.timeline-card,.post-card,.property-card,.sidebar-card,.property-summary-card,.entry-content{transition:none !important;transform:none !important}
}
@media (max-width:1024px){
    .hero-slider,.hero-slide{min-height:520px}
    .hero-content{padding-block:42px 74px}
    .hero-panel{width:min(580px,100%)}
    .primary-nav{
        top:86px;
        border-radius:22px;
        padding:16px;
        box-shadow:0 22px 48px rgba(26,8,12,.12);
    }
    .primary-nav ul{gap:8px}
    .primary-nav a{width:100%;padding:10px 0}
}
@media (max-width:720px){
    .site-tagline{display:none}
    .site-header{backdrop-filter:blur(12px)}
    .hero-section{padding-top:10px}
    .hero-slider,.hero-slide{min-height:500px;border-radius:0 0 28px 28px}
    .hero-content{padding-block:34px 66px}
    .hero-panel{padding:24px 22px;border-radius:24px}
    .hero-panel h1,.page-hero h1{font-size:clamp(1.65rem,8vw,2.4rem);line-height:1.16}
    .hero-panel p,.page-hero p{font-size:.96rem}
    .section{padding:68px 0}
    .service-card,.stat-card,.timeline-card,.post-card,.property-card,.entry-content,.property-summary-card{border-radius:24px}
    .property-thumb{min-height:220px}
    .search-form{flex-direction:column;align-items:stretch}
    .search-field{width:100%}
}
@media (max-width:560px){
    .tp-container{width:min(100% - 20px, 1180px)}
    .header-inner{min-height:74px}
    .hero-slider,.hero-slide{min-height:460px}
    .hero-content{padding-block:28px 58px}
    .button,.pill-link{width:100%}
    .hero-actions{display:grid;grid-template-columns:1fr}
    .slider-controls{justify-content:center}
    .slider-button{display:none}
}
/* TP_POLISH_UI_v1 END */


/* TP Slider Fix 2.1.1 START */
.hero-slider{overflow:hidden;isolation:isolate}
.hero-track{display:flex;width:100%;height:100%;will-change:transform;transform:translate3d(0,0,0)}
.hero-slide{flex:0 0 100%;width:100%}
.slider-controls{z-index:3}
.hero-slider.is-ready .hero-track{transition:transform .65s cubic-bezier(.22,.61,.36,1)}
@media (max-width:560px){
    .slider-button{display:grid;width:42px;height:42px;font-size:1.35rem}
    .slider-controls{justify-content:space-between}
}
/* TP Slider Fix 2.1.1 END */


/* TP Fade Slider 2.2.0 START */
.hero-section .hero-slider{
    min-height:clamp(360px, 54vh, 520px) !important;
    height:clamp(360px, 54vh, 520px) !important;
    border-radius:0 0 34px 34px;
    overflow:hidden;
    isolation:isolate;
}
.hero-section .hero-track{
    position:relative !important;
    display:block !important;
    width:100% !important;
    height:100% !important;
    min-height:inherit !important;
    transform:none !important;
    transition:none !important;
}
.hero-section .hero-slide{
    position:absolute;
    inset:0;
    display:flex;
    align-items:flex-end !important;
    width:100% !important;
    min-height:100% !important;
    height:100% !important;
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transform:scale(1.018);
    transition:
        opacity .68s ease,
        transform 1.15s cubic-bezier(.22,.61,.36,1),
        visibility 0s linear .68s;
}
.hero-section .hero-slide.is-active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
    transform:none;
    transition-delay:0s;
}
.hero-section .hero-content{
    height:100%;
    display:flex;
    align-items:flex-end;
    padding-block:26px 72px !important;
}
.hero-section .hero-panel{
    width:min(580px, 100%) !important;
    padding:24px 26px !important;
    border-radius:28px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.15), rgba(255,255,255,.08)) !important;
    backdrop-filter:blur(10px);
    box-shadow:0 20px 55px rgba(0,0,0,.18);
}
.hero-section .hero-panel h1{
    font-size:clamp(1.45rem, 2.2vw, 2.7rem) !important;
    margin:12px 0 8px !important;
    line-height:1.14 !important;
}
.hero-section .hero-panel p{
    display:block !important;
    font-size:.98rem !important;
    line-height:1.8 !important;
    max-width:54ch !important;
}
.hero-section .eyebrow{
    display:inline-flex !important;
}
.hero-section .hero-actions{
    display:flex !important;
    flex-wrap:wrap;
    gap:10px !important;
    margin-top:18px !important;
}
.hero-section .hero-actions .button{
    min-height:44px !important;
    padding:0 16px !important;
    font-size:.94rem !important;
}
.hero-section .slider-controls{
    inset-inline:0;
    bottom:16px !important;
    z-index:5;
}
.hero-section .slider-button{
    display:grid !important;
    width:44px !important;
    height:44px !important;
    font-size:1.35rem !important;
}
.hero-section .slider-dots{
    gap:8px;
}
.hero-section .slider-dot{
    width:11px;
    height:11px;
}
.hero-section .slider-dot.is-active{
    transform:scale(1.08);
}
.hero-slider.is-single .slider-controls{
    justify-content:center;
}
.hero-slider.is-single .slider-button,
.hero-slider.is-single .slider-dots{
    display:none !important;
}
.service-card,
.property-card,
.post-card{
    backdrop-filter:saturate(110%);
}
.service-card:hover::before{
    width:52px;
}
@media (max-width: 1024px){
    .hero-section .hero-slider{
        min-height:440px !important;
        height:440px !important;
    }
    .hero-section .hero-content{
        padding-block:24px 68px !important;
    }
}
@media (max-width: 720px){
    .hero-section .hero-slider{
        min-height:380px !important;
        height:380px !important;
        border-radius:0 0 26px 26px;
    }
    .hero-section .hero-content{
        padding-block:20px 58px !important;
    }
    .hero-section .hero-panel{
        padding:18px 18px !important;
        border-radius:22px !important;
    }
    .hero-section .hero-panel h1{
        font-size:clamp(1.25rem, 6vw, 1.95rem) !important;
    }
    .hero-section .hero-panel p{
        font-size:.92rem !important;
        line-height:1.7 !important;
    }
}
@media (max-width: 560px){
    .hero-section .hero-slider{
        min-height:340px !important;
        height:340px !important;
    }
    .hero-section .hero-content{
        padding-block:16px 50px !important;
    }
    .hero-section .hero-panel{
        width:min(100%, 460px) !important;
        padding:16px 16px !important;
    }
    .hero-section .hero-actions{
        display:grid !important;
        grid-template-columns:1fr 1fr;
    }
    .hero-section .hero-actions .button{
        width:100%;
    }
    .hero-section .slider-controls{
        justify-content:center !important;
    }
    .hero-section .slider-button{
        display:none !important;
    }
}
@media (prefers-reduced-motion: reduce){
    .hero-section .hero-slide{
        transition:none !important;
        transform:none !important;
    }
}
/* TP Fade Slider 2.2.0 END */
