/* ==================== TDK Homes - Public Site ==================== */
:root {
  --primary: #3E3F99;
  --primary-dark: #2D2E73;
  --primary-light: #DBEAFE;
  --accent: #FBBF24;
  --dark: #0F172A;
  --text-on-dark: #F8FAFC;
  --gray-100: #1E293B;
  --gray-200: #2A3854;
  --gray-500: #6c757d;
  --gray-700: #B8C5D6;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.25);
  --shadow: 0 4px 16px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.5);
  --radius: 10px;
}

* { box-sizing: border-box; }
body { font-family: 'Montserrat', -apple-system, sans-serif; background: #0F1B2D; color: #fff; line-height: 1.6; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }
h3, h4, h5, h6 { font-family: 'Montserrat', sans-serif; font-weight: 600; }

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.btn-primary:hover, .btn-primary:focus { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* ===== UTILITY BAR ===== */
.utility-bar { background: #060F1A; color: #B8C5D6; padding: .5rem 0; font-size: .85rem; }
.utility-bar a { color: #B8C5D6; margin-left: .75rem; transition: color .2s; }
.utility-bar a:hover { color: var(--accent); }
.social-links a { display: inline-block; margin-left: .5rem; }

/* ===== NAV ===== */
.main-nav { background: #1A2942; box-shadow: 0 2px 12px rgba(0,0,0,.4); padding: .75rem 0; transition: box-shadow .3s; position: sticky; top: 0; z-index: 1030; }
.main-nav .dropdown-menu { z-index: 1050; }
.navbar .dropdown-menu.show { z-index: 9999 !important; }

/* Keep video containers from floating above nav */
.vertical-video-wrapper, .vertical-video-embed, .vertical-video-file, .ratio iframe, .ratio video { position: relative; z-index: 1; }
.main-nav .navbar-brand { display: flex; align-items: center; gap: .6rem; font-family: 'Playfair Display'; font-weight: 700; font-size: 1.4rem; }
.brand-logo { height: 40px; width: auto; margin-right: 0.65rem; display: block; }
.brand-text { color: #fff; font-weight: 600; }
.footer-logo { max-width: 200px; height: auto; display: block; margin-bottom: 1rem; }
@media (max-width: 768px) { .brand-logo { height: 32px; } }

.main-nav .nav-link { font-weight: 500; color: #B8C5D6; padding: .5rem 1rem; transition: color .2s; }
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--primary); }
.dropdown-menu { background: #1A2942; border: 1px solid #2A3854; box-shadow: var(--shadow); border-radius: var(--radius); padding: .5rem 0; }
.dropdown-item { padding: .5rem 1.25rem; font-size: .95rem; color: #B8C5D6; }
.dropdown-item:hover { background: #2A3854; color: var(--primary); }

.phone-cta { display: flex; align-items: center; gap: .4rem; color: var(--primary); font-weight: 600; padding: .35rem .7rem; border-radius: 6px; transition: background .2s; }
.phone-cta:hover { background: #2A3854; }

.btn-cta { padding: .5rem 1.25rem; font-weight: 600; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; padding: 5rem 0 3rem; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-bg-default { background: linear-gradient(135deg, #0F1B2D 0%, #1A2942 100%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-title { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1rem; color: #fff; }
.hero-subtitle { font-size: 1.15rem; opacity: .95; margin-bottom: 1.5rem; max-width: 700px; margin-left: auto; margin-right: auto; }

.live-counter { display: inline-flex; align-items: center; gap: .5rem; background: rgba(30,64,175,.1); backdrop-filter: blur(10px); padding: .5rem 1rem; border-radius: 50px; font-size: .9rem; margin-bottom: 2rem; border: 1px solid rgba(30,64,175,.2); }
.pulse-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(1.3); } }

/* ===== SEARCH WIDGET ===== */
.search-widget { background: #fff; border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow-lg); max-width: 900px; margin: 0 auto; color: #0F1B2D; }
.search-tabs { display: flex; gap: .25rem; margin-bottom: 1rem; flex-wrap: wrap; }
.search-tab { flex: 1; min-width: 70px; padding: .5rem 1rem; cursor: pointer; border-radius: 6px; transition: all .2s; font-weight: 500; text-align: center; font-size: .9rem; color: #495057; }
.search-tab input { display: none; }
.search-tab:has(input:checked) { background: var(--primary); color: #fff; }
.search-fields { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: .5rem; }
@media (max-width: 768px) { .search-fields { grid-template-columns: 1fr; } }
.search-field { position: relative; }
.search-field i { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: #6c757d; }
.search-field input, .search-field select { width: 100%; padding: .75rem 1rem .75rem 2.5rem; border: 1px solid #dee2e6; border-radius: 6px; font-size: .95rem; background: #fff; color: #0F1B2D; }
.search-field input:focus, .search-field select:focus { outline: none; border-color: var(--primary); }
.search-btn { padding: .75rem 1.5rem; font-weight: 600; }

/* ===== SECTIONS ===== */
.section { padding: 4rem 0; }
.section.bg-light { background: var(--gray-100) !important; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; margin-bottom: .5rem; color: #fff; }
.section-subtitle { color: var(--gray-700); font-size: 1.05rem; }
.text-start.section-title { text-align: left; }

/* ===== TRUST INDICATORS ===== */
.trust-indicators { background: #1A2942; padding: 2.5rem 0; box-shadow: var(--shadow); margin-top: -50px; position: relative; z-index: 3; border-radius: var(--radius); margin-left: 1rem; margin-right: 1rem; border: 1px solid #2A3854; }
@media (min-width: 992px) { .trust-indicators { margin-left: auto; margin-right: auto; max-width: 90%; } }
.trust-stat { padding: 1rem; }
.trust-number { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--primary); font-family: 'Playfair Display'; }
.trust-label { font-size: .85rem; color: var(--gray-700); text-transform: uppercase; letter-spacing: 1px; }

/* ===== PROPERTY CARDS ===== */
.property-card { background: #1A2942; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; height: 100%; display: flex; flex-direction: column; border: 1px solid #2A3854; }
.property-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.property-image { height: 220px; background-size: cover; background-position: center; position: relative; }
.property-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: .35rem; flex-wrap: wrap; }
.badge { padding: .35rem .7rem; font-weight: 600; font-size: .75rem; border-radius: 4px; }
.badge-sale { background: var(--primary); color: #fff; }
.badge-rent { background: #0d6efd; color: #fff; }
.badge-shortlet { background: #6f42c1; color: #fff; }
.badge-lease { background: #fd7e14; color: #fff; }
.badge-featured { background: var(--accent); color: #0F172A; }
.badge-verified { background: rgba(0,0,0,.65); color: #fff; }
.property-status-overlay { position: absolute; bottom: 12px; right: 12px; background: rgba(220,53,69,.95); color: #fff; padding: .35rem .7rem; border-radius: 4px; font-weight: 600; font-size: .8rem; text-transform: uppercase; }
.property-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.property-price { font-size: 1.25rem; font-weight: 800; color: var(--accent); margin-bottom: .35rem; }
.property-title { font-size: 1.05rem; font-weight: 600; margin-bottom: .5rem; line-height: 1.3; font-family: 'Montserrat'; }
.property-title a { color: #fff; }
.property-title a:hover { color: var(--primary); }
.property-location { color: var(--gray-700); font-size: .9rem; margin-bottom: .75rem; }
.property-meta { display: flex; gap: 1rem; flex-wrap: wrap; padding-top: .75rem; border-top: 1px solid #2A3854; margin-top: auto; font-size: .85rem; color: var(--gray-700); }
.property-meta span { display: flex; align-items: center; gap: .35rem; }

/* ===== WHY CHOOSE US ===== */
.feature-box { text-align: center; padding: 2rem 1.5rem; background: #1A2942; border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 100%; transition: transform .3s; border: 1px solid #2A3854; }
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 70px; height: 70px; background: rgba(30,64,175,.12); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 1.25rem; border: 1px solid rgba(30,64,175,.25); }
.feature-box h5 { color: #fff; margin-bottom: .75rem; }
.feature-box p { color: var(--gray-700); }

/* ===== VIDEO CARDS ===== */
.video-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s; }
.video-card:hover { transform: translateY(-4px); }
.video-card img, .video-placeholder { width: 100%; height: 220px; object-fit: cover; display: block; }
.video-placeholder { background: #2A3854; color: var(--gray-700); font-size: 4rem; display: flex; align-items: center; justify-content: center; }
.video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.3); color: #fff; font-size: 4rem; opacity: .85; transition: opacity .2s; }
.video-card:hover .video-overlay { opacity: 1; background: rgba(0,0,0,.5); }
.video-info { background: #1A2942; padding: 1rem; border-top: 1px solid #2A3854; }
.video-info h6 { color: #fff; margin: 0; font-weight: 600; }
.video-info small { color: var(--gray-700); }

/* ===== TESTIMONIALS ===== */
.testimonial-card { background: #1A2942; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); height: 100%; border: 1px solid #2A3854; }
.testimonial-stars { color: var(--accent); margin-bottom: 1rem; }
.testimonial-quote { font-style: italic; color: var(--gray-700); margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author img, .avatar-placeholder { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; }
.avatar-placeholder.large { width: 120px; height: 120px; font-size: 2rem; margin: 0 auto 1rem; }

/* ===== UPDATE CARDS ===== */
.update-card { background: #1A2942; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s; height: 100%; border: 1px solid #2A3854; }
.update-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.update-card img { width: 100%; height: 200px; object-fit: cover; }
.update-body { padding: 1.5rem; }
.update-body h5 { margin: .5rem 0 .75rem; line-height: 1.3; }
.update-body h5 a { color: #fff; }
.update-body h5 a:hover { color: var(--primary); }
.read-more { font-weight: 600; font-size: .9rem; }

/* ===== TEAM ===== */
.team-card { background: #1A2942; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center; height: 100%; border: 1px solid #2A3854; }
.team-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; display: block; border: 3px solid rgba(30,64,175,.3); }
.team-card h5 { color: #fff; margin-bottom: .25rem; }
.team-card p { color: var(--gray-700); }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, #1A2942 0%, #0F1B2D 100%); border-top: 1px solid #2A3854; color: #fff; padding: 4rem 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; opacity: .9; margin-bottom: 2rem; color: var(--gray-700); }
.cta-section .btn-light { background: #fff; color: #0F1B2D; border: 0; }
.cta-section .btn-primary { background: var(--primary); color: #fff; }

/* ===== PAGE HEADER ===== */
.page-header { background: linear-gradient(135deg, #1A2942 0%, #0F1B2D 100%); border-bottom: 1px solid #2A3854; color: #fff; padding: 4rem 0; }
.page-header h1 { color: #fff; }
.page-header p { opacity: .85; color: var(--gray-700); }

/* ===== PROPERTY DETAIL ===== */
.property-detail { padding-top: 1.5rem; padding-bottom: 4rem; }
.property-gallery { background: #1A2942; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid #2A3854; }
.main-image { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.main-image img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail-row { display: flex; gap: .5rem; padding: .75rem; overflow-x: auto; background: #1A2942; }
.thumbnail-row .thumb { width: 100px; height: 70px; object-fit: cover; border-radius: 4px; cursor: pointer; flex-shrink: 0; opacity: .7; transition: opacity .2s; border: 2px solid transparent; }
.thumbnail-row .thumb:hover, .thumbnail-row .thumb.active { opacity: 1; border-color: var(--primary); }
.property-content h1 { font-size: 2rem; margin-top: 1rem; color: #fff; }
.property-location-large { color: var(--gray-700); margin-bottom: .5rem; }
.property-price-large { font-size: 2rem; font-weight: 800; color: var(--accent); margin-bottom: 1.5rem; }
.property-key-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .5rem; margin-bottom: 2rem; padding: 1rem; background: #1A2942; border-radius: var(--radius); }
.property-key-stats > div { text-align: center; padding: .75rem; }
.property-key-stats i { font-size: 1.5rem; color: var(--primary); display: block; margin-bottom: .25rem; }
.property-key-stats strong { display: block; font-size: 1.25rem; color: #fff; }
.property-description { color: var(--gray-700); line-height: 1.8; }
.feature-item { padding: .35rem 0; color: var(--gray-700); }

/* ===== INQUIRY SIDEBAR ===== */
.inquiry-sidebar { top: 90px; }
.contact-card { background: #1A2942; padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); color: #fff; border: 1px solid #2A3854; }
.contact-card h5 { margin-bottom: .75rem; color: #fff; }
.contact-form-card { background: #1A2942; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); color: #fff; border: 1px solid #2A3854; }
.contact-info-list { list-style: none; padding: 0; }
.contact-info-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #2A3854; }
.contact-info-list li i { font-size: 1.25rem; color: var(--primary); margin-top: .15rem; }

/* ===== FILTER CARD ===== */
.filter-card { background: #1A2942; padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); position: sticky; top: 90px; color: #fff; border: 1px solid #2A3854; }
.filter-card h6 { margin-bottom: 1rem; padding-bottom: .75rem; border-bottom: 1px solid #2A3854; color: #fff; }

/* ===== FORM DOWNLOAD CARDS ===== */
.form-download-card { background: #1A2942; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s; height: 100%; border: 1px solid #2A3854; }
.form-download-card:hover { transform: translateY(-4px); }
.form-cover, .form-cover-placeholder { width: 100%; height: 160px; object-fit: cover; }
.form-cover-placeholder { background: #2A3854; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: var(--gray-700); }

/* ===== EMPTY STATE ===== */
.empty-state { background: #1A2942; border-radius: var(--radius); padding: 3rem; }

/* ===== FOOTER ===== */
.site-footer { background: #060F1A; color: #B8C5D6; padding: 4rem 0 2rem; border-top: 1px solid #1A2942; }
.site-footer h5, .site-footer h6 { color: #fff; margin-bottom: 1rem; }
.footer-brand { font-family: 'Playfair Display'; font-weight: 700; }
.footer-links { padding: 0; }
.footer-links li { padding: .25rem 0; }
.footer-links a { color: #B8C5D6; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.site-footer .social-links a { background: rgba(30,64,175,.12); width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; margin-right: .35rem; margin-left: 0; transition: background .2s; }
.site-footer .social-links a:hover { background: var(--primary); color: #fff; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 25px; left: 25px; width: 60px; height: 60px; background: #25d366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 12px rgba(37,211,102,.4); z-index: 999; transition: transform .2s; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ===== CHATBOT ===== */
#chatbot-widget { position: fixed; bottom: 25px; right: 25px; z-index: 1000; }
#chatbot-toggle { background: var(--primary); color: #fff; border: 0; width: 60px; height: 60px; border-radius: 50%; box-shadow: 0 4px 16px rgba(30,64,175,.35); cursor: pointer; font-size: 1.5rem; transition: transform .2s; }
#chatbot-toggle:hover { transform: scale(1.05); background: var(--primary-dark); }
#chatbot-window { width: 360px; max-width: calc(100vw - 50px); height: 500px; max-height: calc(100vh - 100px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; position: absolute; bottom: 75px; right: 0; }
.chatbot-header { background: #1A2942; color: #fff; padding: 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--primary); }
.chatbot-header strong { font-size: 1rem; }
.chatbot-messages { flex: 1; overflow-y: auto; padding: 1rem; background: #f8f9fa; }
.msg { padding: .65rem 1rem; border-radius: 16px; margin-bottom: .65rem; max-width: 85%; line-height: 1.4; word-wrap: break-word; }
.msg-bot { background: #fff; box-shadow: var(--shadow-sm); border-bottom-left-radius: 4px; color: #0F1B2D; }
.msg-user { background: var(--primary); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; font-weight: 500; }
.chatbot-form { display: flex; gap: .5rem; padding: .75rem; background: #fff; border-top: 1px solid #e9ecef; }
.chatbot-form input { flex: 1; border: 1px solid #dee2e6; border-radius: 6px; padding: .5rem .75rem; color: #0F1B2D; }
.chatbot-form input:focus { outline: none; border-color: var(--primary); }
.chatbot-footer { padding: .5rem .75rem; background: #f8f9fa; text-align: center; }

/* ===== EXIT POPUP ===== */
.exit-popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.8); display: flex; align-items: center; justify-content: center; z-index: 9999; padding: 1rem; backdrop-filter: blur(4px); }
.exit-popup-card { background: #fff; padding: 2.5rem; border-radius: var(--radius); max-width: 480px; width: 100%; text-align: center; position: relative; box-shadow: var(--shadow-lg); }
.exit-popup-close { position: absolute; top: 1rem; right: 1rem; }
.exit-popup-icon { width: 80px; height: 80px; background: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; margin: 0 auto 1.5rem; }
.exit-popup-card h3 { color: #0F1B2D; margin-bottom: .75rem; }
.exit-popup-card p { color: #495057; }

/* ===== ARTICLE DETAIL ===== */
.article-detail { padding-bottom: 4rem; }
.article-body { font-size: 1.05rem; line-height: 1.8; color: var(--gray-700); }
.article-body img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1.5rem 0; }
.article-body h2, .article-body h3 { color: #fff; margin-top: 2rem; }

/* ===== FORMS ===== */
.form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 .2rem rgba(30,64,175,.2); }

/* ===== BOOTSTRAP OVERRIDES FOR DARK BODY ===== */
/* Keep Bootstrap light utilities readable on dark pages */
.text-muted { color: var(--gray-700) !important; }
.bg-white { background-color: #fff !important; }
.border { border-color: #2A3854 !important; }

/* Navbar toggler visible on dark nav background */
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255%2c255%2c255%2c0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c%2fsvg%3e"); }

/* ===== RESPONSIVE TWEAKS ===== */
@media (max-width: 768px) {
  .hero { min-height: 500px; padding: 3rem 0 2rem; }
  .trust-indicators { margin-top: -30px; }
  .property-key-stats { grid-template-columns: repeat(2, 1fr); }
  #chatbot-widget { right: 15px; bottom: 90px; }
  .whatsapp-float { left: 15px; bottom: 15px; width: 52px; height: 52px; font-size: 1.6rem; }
}

/* ===================================================================
   INTRO / LOADING SCREEN  (inspired by Mshel — but dark & text-based)
=================================================================== */
#tdk-intro {
  position: fixed; inset: 0; z-index: 99999;
  background: #0A1220;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
#tdk-intro.intro-done { display: none !important; }

/* Radial glow behind the mark */
.intro-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: .6rem;
  position: relative;
}
.intro-inner::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(30,64,175,.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  pointer-events: none;
}

/* TDK pill — springs in with overshoot */
.intro-logo { overflow: hidden; }
.intro-mark {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem; font-weight: 900;
  letter-spacing: 5px;
  padding: .55rem 1.5rem;
  border-radius: 10px;
  opacity: 0;
  animation: introMarkIn .65s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-delay: .1s;
}

/* Divider row */
.intro-divider {
  display: flex; align-items: center; gap: 8px;
  margin: .1rem 0;
}
.intro-line-left,
.intro-line-right {
  height: 1px; background: rgba(255,255,255,.3);
  display: block;
  width: 0;
}
.intro-line-left  { animation: introLineGrow .5s ease forwards; animation-delay: .55s; }
.intro-line-right { animation: introLineGrow .5s ease forwards; animation-delay: .65s; }
.intro-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  animation: introDotIn .3s ease forwards;
  animation-delay: .6s;
}

/* "TDK Homes" wordmark */
.intro-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem; font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  animation: introWordIn .55s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .7s;
}

/* Tagline */
.intro-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
  opacity: 0;
  animation: introTagIn .4s ease forwards;
  animation-delay: 1s;
}

/* Progress bar at bottom */
.intro-progress {
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(30,64,175,.1);
}
.intro-progress-bar {
  display: block; height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  width: 0;
  animation: introProgress 1.6s ease forwards;
  animation-delay: .1s;
}

/* Screen exit — elegant upward curtain */
.intro-exiting {
  animation: introCurtain .55s cubic-bezier(.4,0,1,1) forwards !important;
}

/* Keyframes */
@keyframes introMarkIn {
  0%   { opacity: 0; transform: scale(.6) translateY(8px); }
  70%  { transform: scale(1.06) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes introLineGrow {
  from { width: 0; opacity: 0; }
  to   { width: 60px; opacity: 1; }
}
@keyframes introDotIn {
  from { opacity: 0; transform: scale(0); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes introWordIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes introTagIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes introProgress {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes introCurtain {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-12px); }
}

/* ===================================================================
   NAV — TRANSPARENT ON TOP, SOLID ON SCROLL
=================================================================== */
.main-nav {
  transition: background .4s cubic-bezier(.4,0,.2,1),
              box-shadow .4s ease,
              padding .3s ease;
}
.main-nav.nav-top {
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
  padding: 1.1rem 0 !important;
}
.main-nav.nav-top .nav-link { color: rgba(255,255,255,.82); font-weight: 500; }
.main-nav.nav-top .nav-link:hover,
.main-nav.nav-top .nav-link:focus { color: var(--primary); }
.main-nav.nav-top .brand-text { color: #fff; }
.main-nav.nav-top .phone-cta { color: rgba(255,255,255,.8); }
.main-nav.nav-top .phone-cta:hover { background: rgba(255,255,255,.08); }
.main-nav.nav-top .btn-cta {
  background: transparent;
  border: 1px solid rgba(30,64,175,.55);
  color: var(--primary);
}
.main-nav.nav-top .btn-cta:hover {
  background: var(--primary);
  color: #fff;
}
.main-nav.nav-top .navbar-toggler { border-color: rgba(255,255,255,.35); }
.main-nav.nav-top .dropdown-menu { background: rgba(15,27,45,.97); backdrop-filter: blur(16px); }

/* ===================================================================
   VIDEO HERO — cinematic full-bleed
=================================================================== */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 0; color: #fff; overflow: hidden;
}

/* Video layer */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.hero-video-wrap .hero-fallback-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
/* Ken-Burns on fallback image when no video */
.hero-fallback-img { animation: heroPan 18s ease-in-out alternate infinite; }
@keyframes heroPan {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Cinematic dark overlay — heavier at bottom for text legibility */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,18,35,.55) 0%, rgba(10,18,35,.25) 40%, rgba(10,18,35,.75) 100%),
    linear-gradient(to right, rgba(10,18,35,.4) 0%, transparent 60%);
}

/* Decorative ambient orbs */
.hero-orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; z-index: 1;
  filter: blur(80px); opacity: .18;
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -120px; left: -80px;
  animation: orbFloat 9s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 380px; height: 380px;
  background: var(--accent);
  bottom: 60px; right: -60px;
  animation: orbFloat 11s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, -24px) scale(1.08); }
}

/* Content */
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding-top: 110px;
  padding-bottom: 4rem;
  width: 100%;
}

/* Eyebrow badge — white text on solid royal blue */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(30,64,175,.85);
  backdrop-filter: blur(12px);
  padding: .42rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
  opacity: 0;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .15s;
}
.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

/* H1 — Playfair Display, large, italic accent */
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700; line-height: 1.08;
  color: #fff; margin-bottom: 1.3rem;
  letter-spacing: -0.025em;
  text-shadow: 2px 2px 8px rgba(0,0,0,.5);
  opacity: 0;
  animation: heroSlideUp .75s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .32s;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  position: relative;
}
/* Underline that draws after hero loads */
.hero-title em::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--accent);
  animation: underlineDraw .6s ease forwards;
  animation-delay: 1.1s;
}
@keyframes underlineDraw {
  from { width: 0; }
  to   { width: 100%; }
}

/* Subtitle */
.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(.95rem, 1.8vw, 1.15rem);
  font-weight: 400; opacity: .85;
  max-width: 580px; margin: 0 auto 1.8rem;
  line-height: 1.75;
  opacity: 0;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .48s;
}

/* CTA row */
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .62s;
}

.hero-btn-primary {
  background: var(--primary); color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; font-size: .88rem;
  letter-spacing: .05em;
  padding: .9rem 2.2rem; border-radius: 50px;
  border: none; text-decoration: none;
  transition: all .28s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; gap: .45rem;
  box-shadow: 0 4px 20px rgba(30,64,175,.3);
}
.hero-btn-primary:hover {
  background: var(--accent); color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(251,191,36,.25);
}

.hero-btn-ghost {
  color: rgba(255,255,255,.88);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .88rem;
  padding: .9rem 1.9rem; border-radius: 50px;
  border: 1px solid rgba(255,255,255,.28);
  text-decoration: none;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.05);
  transition: all .28s cubic-bezier(.4,0,.2,1);
  display: inline-flex; align-items: center; gap: .45rem;
}
.hero-btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(30,64,175,.1);
  transform: translateY(-2px);
}

/* Live counter */
.live-counter {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(30,64,175,.1);
  backdrop-filter: blur(12px);
  padding: .48rem 1.2rem; border-radius: 50px; font-size: .86rem;
  margin-bottom: 2.5rem; border: 1px solid rgba(30,64,175,.18);
  font-family: 'Montserrat', sans-serif;
  opacity: 0;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .72s;
}

/* Scroll indicator */
.hero-scroll-hint {
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .4rem;
  opacity: 0;
  animation: heroSlideUp .6s ease forwards, scrollHintPulse 3s ease-in-out infinite;
  animation-delay: 1.2s, 2s;
}
.hero-scroll-hint span {
  font-family: 'Montserrat', sans-serif;
  font-size: .6rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero-scroll-hint-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
  animation: scrollLine 2s ease-in-out infinite;
  animation-delay: 2s;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%       { transform: scaleY(1); transform-origin: top; opacity: 1; }
  100%      { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes scrollHintPulse {
  0%, 100% { opacity: .6; }
  50%       { opacity: 1; }
}

/* ===== GLASSMORPHISM SEARCH WIDGET ===== */
.search-widget {
  background: rgba(10,18,35,.55) !important;
  backdrop-filter: blur(24px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(24px) saturate(1.6) !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 18px !important;
  padding: 1.4rem !important;
  box-shadow: 0 12px 50px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08) !important;
  max-width: 920px; margin: 0 auto;
  color: #fff !important;
  opacity: 0;
  animation: heroSlideUp .7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: .82s;
}
.search-widget .search-tabs { margin-bottom: .9rem; }
.search-tab {
  color: rgba(255,255,255,.65) !important;
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  transition: all .22s ease;
}
.search-tab:hover { background: rgba(255,255,255,.1) !important; color: #fff !important; }
.search-tab:has(input:checked) {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary) !important;
}
.search-field input,
.search-field select {
  background: rgba(255,255,255,.1) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 8px;
  transition: border-color .2s, background .2s;
}
.search-field input::placeholder { color: rgba(255,255,255,.42); }
.search-field input:focus,
.search-field select:focus {
  border-color: var(--primary) !important;
  background: rgba(255,255,255,.15) !important;
  box-shadow: 0 0 0 3px rgba(30,64,175,.15) !important;
  outline: none;
}
.search-field select option { background: #0F1B2D; color: #fff; }
.search-field i { color: rgba(255,255,255,.45); }

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

/* ===================================================================
   SCROLL REVEAL
=================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: .1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: .2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: .3s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: .4s; }
.reveal-stagger.visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: .5s; }

/* ===================================================================
   TRUST INDICATORS — animated counters
=================================================================== */
.trust-indicators {
  background: rgba(26,41,66,.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.07);
}
.trust-number[data-target] { transition: none; }

/* ===================================================================
   SERVICES SECTION
=================================================================== */
.services-section { padding: 5rem 0; }
.service-card {
  position: relative;
  background: linear-gradient(145deg, #1E293B, #0F1B2D);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  height: 100%;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.4); border-color: rgba(30,64,175,.4); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border: 1px solid rgba(30,64,175,.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; color: var(--primary);
  margin-bottom: 1.5rem;
  transition: background .3s ease;
}
.service-card:hover .service-icon { background: #bfdbfe; }
.service-card h4 { color: #fff; margin-bottom: .75rem; font-size: 1.2rem; }
.service-card p { color: var(--gray-700); line-height: 1.7; margin-bottom: 1.25rem; font-size: .95rem; }
.service-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .85rem;
  color: var(--primary); letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .35rem;
  text-decoration: none;
  transition: gap .2s ease;
}
.service-link:hover { gap: .6rem; color: var(--primary); }

/* ===================================================================
   SECTION EYEBROW (global)
=================================================================== */
.section-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .875rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  background: rgba(30,64,175,.08);
  border: 1px solid rgba(30,64,175,.2);
  padding: .3rem .9rem; border-radius: 50px;
  margin-bottom: .9rem;
}

/* ===================================================================
   CTA SECTION — upgrade
=================================================================== */
.cta-section {
  background: linear-gradient(135deg, #1A2942 0%, #0F1B2D 100%);
  border-top: 1px solid rgba(255,255,255,.06);
  color: #fff; padding: 6rem 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,64,175,.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ===================================================================
   ESTATE CARDS
=================================================================== */
.estates-section { padding: 5rem 0; }
.estate-card {
  background: #1A2942;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #2A3854;
}
.estate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.estate-card-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.estate-image-placeholder {
  height: 300px;
  background: #2A3854;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--gray-700);
  flex-shrink: 0;
}
.estate-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.estate-meta { font-size: .85rem; color: var(--gray-700); margin-bottom: .6rem; }
.estate-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
  line-height: 1.2;
}
.estate-desc { color: var(--gray-700); font-size: .95rem; line-height: 1.6; margin-bottom: 1rem; }
.estate-divider { border-color: #2A3854; margin: .75rem 0 1rem; }
.estate-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.estate-starting-price { font-size: .9rem; color: var(--gray-700); }
.estate-starting-price strong { font-size: 1.15rem; color: var(--accent); font-weight: 700; }
.estate-trust-pill {
  background: rgba(30,64,175,.1);
  border: 1px solid rgba(30,64,175,.25);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 50px;
  white-space: nowrap;
}
.estate-cta {
  width: 100%;
  text-align: center;
  padding: .75rem;
  font-weight: 700;
  letter-spacing: .03em;
  margin-top: auto;
}
.estate-inspect-link {
  display: block;
  text-align: center;
  margin-top: .75rem;
  font-size: .85rem;
  color: var(--gray-700);
  text-decoration: none;
  transition: color .2s;
}
.estate-inspect-link:hover { color: var(--primary); }

/* ===================================================================
   VIDEO DETAIL PAGE
=================================================================== */
.video-breadcrumb { --bs-breadcrumb-divider-color: #4a5568; --bs-breadcrumb-item-active-color: #B8C5D6; font-size: .85rem; }
.video-breadcrumb a { color: #B8C5D6; }
.video-breadcrumb a:hover { color: var(--primary); }

.video-description { font-size: 1.05rem; line-height: 1.75; color: #d1d5db; }
.video-description p { margin-bottom: .9rem; }
.video-description h2, .video-description h3 { margin-top: 1.8rem; margin-bottom: .8rem; color: #fff; }
.video-description ul { list-style: none; padding-left: 0; }
.video-description ul li { padding-left: 1.5rem; position: relative; margin-bottom: .4rem; }
.video-description ul li::before { content: "→"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

.video-highlight-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.video-highlight-strip .highlight-item i { font-size: 1.8rem; color: var(--primary); margin-bottom: .5rem; display: block; }
.video-highlight-strip .highlight-item .label { font-size: .8rem; color: #6c757d; text-transform: uppercase; letter-spacing: .5px; }
.video-highlight-strip .highlight-item .value { font-size: 1.05rem; font-weight: 600; color: #fff; margin-top: .25rem; }

.video-cta-card {
  background: linear-gradient(135deg, #1a2942, #0F1B2D);
  border: 1px solid rgba(62,63,153,.3);
  border-radius: 12px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.video-cta-banner {
  background: linear-gradient(135deg, #3E3F99, #2D2E73);
  padding: 3.5rem 0;
  text-align: center;
}

/* ===================================================================
   PROPERTY FLYER HERO (full-width marketing image layout)
=================================================================== */
.property-flyer-hero { position: relative; background: #060F1A; padding: 0; margin: 0 0 2rem; }
.property-flyer-image { width: 100%; height: auto; max-height: 85vh; object-fit: contain; display: block; background: transparent; }
.property-flyer-badges { position: absolute; top: 1.5rem; left: 1.5rem; display: flex; gap: .5rem; flex-wrap: wrap; z-index: 10; }
.property-flyer-badges .badge { font-size: .85rem; padding: .5rem 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.15); }

@media (max-width: 768px) {
  .property-flyer-image { max-height: none; }
  .property-flyer-badges { top: .75rem; left: .75rem; }
  .property-flyer-badges .badge { font-size: .7rem; padding: .35rem .75rem; }
}

/* Premium side-margin treatment — dark navy gradient backdrop fills white space on wide screens */
.property-flyer-hero {
    background:
        radial-gradient(
            ellipse at center,
            #1a2942 0%,
            #060F1A 70%,
            #000 100%
        );
    overflow: hidden;
    position: relative;
    padding: 1.5rem 0;
    
    /* Full-bleed: break out of any parent container */
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.property-flyer-image {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 1600px;
    display: block;
    box-shadow:
        0 20px 60px rgba(0,0,0,0.5),
        0 0 100px rgba(62, 63, 153, 0.15);
    border-radius: 4px;
}

/* Soft brand-color glows in the side margins */
.property-flyer-hero::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 5%;
    width: 25%;
    height: 60%;
    background: radial-gradient(
        ellipse,
        rgba(251, 191, 36, 0.08) 0%,
        transparent 70%
    );
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.property-flyer-hero::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 5%;
    width: 25%;
    height: 60%;
    background: radial-gradient(
        ellipse,
        rgba(62, 63, 153, 0.12) 0%,
        transparent 70%
    );
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 768px) {
    .property-flyer-hero { padding: 0.5rem 0; }
    .property-flyer-image { box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
    .property-flyer-hero::before,
    .property-flyer-hero::after { display: none; }
}

/* ===================================================================
   FEATURED PROPERTIES ON VIDEO PAGE
=================================================================== */
.featured-properties-section {
  padding: 3.5rem 0;
  background: #0A1422;
  border-top: 1px solid rgba(62,63,153,.1);
}
.featured-properties-section .section-heading {
  font-size: 1.6rem;
  margin-bottom: .5rem;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
}

/* ===================================================================
   VERTICAL VIDEO (REEL) LAYOUT
=================================================================== */
.vertical-video-wrapper { max-width: 100%; }

.vertical-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}
.vertical-video-embed iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border: 0;
}

.vertical-video-file {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  object-fit: cover;
}

.reel-highlights {
  background: rgba(62,63,153,.08);
  border: 1px solid rgba(62,63,153,.2);
  border-radius: 8px;
  padding: 1rem;
}
.reel-highlight {
  display: flex; align-items: center; gap: .75rem;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.reel-highlight:last-child { border-bottom: none; }
.reel-highlight i { font-size: 1.2rem; color: var(--primary); width: 30px; text-align: center; }
.reel-highlight .label { font-size: .85rem; color: #a3a3a3; flex: 1; }
.reel-highlight .value { font-size: .95rem; font-weight: 600; color: #fff; }

.video-category-badge {
  display: inline-block;
  background: rgba(62,63,153,.2);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}

@media (max-width: 991.98px) {
  .vertical-video-wrapper { max-width: 400px; margin: 0 auto 2rem; }
  .vertical-video-wrapper.sticky-lg-top { position: static !important; }
}

/* ===================================================================
   RESPONSIVE — additions
=================================================================== */
@media (max-width: 991px) {
  .hero { min-height: 100svh; }
  .hero-content { padding-top: 80px; }
}
@media (max-width: 575px) {
  .hero-title { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-btn-primary, .hero-btn-ghost { width: 100%; justify-content: center; }
  .search-widget { border-radius: 12px !important; }
}
