/*
Theme Name: RT24 RealEstate
Theme URI: https://rt24realestate.com/
Author: RT24 RealEstate
Author URI: https://rt24realestate.com/
Description: A premium, fully-functional real estate WordPress theme for RT24RealEstate — featuring property listings, search & filter, enquiry forms, agent profiles, blog, and a luxury navy + gold visual identity tailored for Rohini, Delhi properties.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rt24realestate
Tags: real-estate, business, property, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog
*/

/* =========================================================
   RT24 RealEstate — Theme Stylesheet
   Palette: Navy #0a1638 | Gold #f5b829 | Cream #f8f5ef
   ========================================================= */

:root {
  --rt-navy: #0a1638;
  --rt-navy-2: #111d44;
  --rt-navy-3: #1a2756;
  --rt-gold: #f5b829;
  --rt-gold-2: #d99a14;
  --rt-cream: #faf7f1;
  --rt-bg: #ffffff;
  --rt-soft: #f5f6fa;
  --rt-text: #1a2236;
  --rt-muted: #6b7280;
  --rt-border: #e6e8ef;
  --rt-success: #16a34a;
  --rt-radius: 14px;
  --rt-radius-lg: 22px;
  --rt-shadow-sm: 0 4px 14px rgba(10, 22, 56, 0.06);
  --rt-shadow: 0 18px 40px -12px rgba(10, 22, 56, 0.18);
  --rt-shadow-lg: 0 30px 60px -20px rgba(10, 22, 56, 0.25);
  --rt-font-body: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --rt-font-display: 'Playfair Display', Georgia, "Times New Roman", serif;
  --rt-container: 1240px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--rt-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--rt-text);
  background: var(--rt-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--rt-navy); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--rt-gold-2); }
h1, h2, h3, h4, h5 {
  font-family: var(--rt-font-display);
  color: var(--rt-navy);
  margin: 0 0 .6em;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p  { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--rt-border); margin: 2.5rem 0; }
::selection { background: var(--rt-gold); color: var(--rt-navy); }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: var(--rt-container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--alt { background: var(--rt-soft); }
.section--dark { background: var(--rt-navy); color: #e6ebf7; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #ffffff; }
.section--cream { background: var(--rt-cream); }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rt-gold-2);
  padding: 8px 16px;
  border: 1px solid rgba(245, 184, 41, 0.4);
  border-radius: 99px;
  background: rgba(245, 184, 41, 0.08);
  margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--rt-gold); border-color: rgba(245, 184, 41, .35); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.section-head p { color: var(--rt-muted); font-size: 1.05rem; }
.section--dark .section-head p { color: #b4bedc; }
.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 15px;
  border-radius: 99px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  font-family: var(--rt-font-body);
  white-space: nowrap;
}
.btn-gold { background: var(--rt-gold); color: var(--rt-navy); box-shadow: 0 10px 24px -8px rgba(245, 184, 41, .55); }
.btn-gold:hover { background: var(--rt-gold-2); color: var(--rt-navy); transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(245, 184, 41, .6); }
.btn-navy { background: var(--rt-navy); color: #fff; }
.btn-navy:hover { background: var(--rt-navy-2); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--rt-navy); border-color: var(--rt-navy); }
.btn-outline:hover { background: var(--rt-navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: #fff; color: var(--rt-navy); }
.btn-ghost { background: transparent; color: var(--rt-navy); padding: 10px 0; }
.btn-ghost:hover { color: var(--rt-gold-2); }
.btn .arrow { display: inline-block; transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 22, 56, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: #fff;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.site-branding { display: flex; align-items: center; gap: 12px; }
.site-branding a { display: flex; align-items: center; gap: 12px; color: #fff; }
.site-branding .logo-mark {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(140deg, var(--rt-gold) 0%, var(--rt-gold-2) 100%);
  display: grid; place-items: center;
  font-family: var(--rt-font-display); font-weight: 700; color: var(--rt-navy);
  font-size: 18px; letter-spacing: -0.02em;
  box-shadow: 0 8px 20px -6px rgba(245, 184, 41, .55);
}
.site-branding img { max-height: 52px; width: auto; }
.site-title { font-family: var(--rt-font-display); font-size: 1.25rem; color: #fff; margin: 0; font-weight: 600; }
.site-title small { display: block; font-family: var(--rt-font-body); font-size: 11px; color: var(--rt-gold); letter-spacing: .2em; text-transform: uppercase; font-weight: 500; }

.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.main-nav a {
  color: #e6ebf7; padding: 10px 16px; border-radius: 99px; font-size: 15px; font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a {
  background: rgba(245, 184, 41, .14); color: var(--rt-gold);
}
.header-cta { display: flex; align-items: center; gap: 14px; }

.menu-toggle {
  display: none; background: transparent; border: 0; color: #fff;
  width: 44px; height: 44px; border-radius: 10px; cursor: pointer;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px auto; transition: .2s; }
.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 980px) {
  .main-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: var(--rt-navy); padding: 20px 24px; border-top: 1px solid rgba(255,255,255,.08); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { display: block; padding: 12px 14px; }
  .menu-toggle { display: block; }
  .header-cta .btn { display: none; }
  .header-cta .header-phone { display: none; }
}
.header-phone { color: var(--rt-gold); font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; }

/* ---- Hero ---- */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(10,22,56,.92) 0%, rgba(10,22,56,.55) 60%, rgba(10,22,56,.2) 100%), var(--rt-hero-bg, linear-gradient(135deg, #0a1638 0%, #1a2756 100%));
  background-size: cover; background-position: center;
  color: #fff;
  min-height: 660px;
  display: flex; align-items: center;
  padding: 100px 0;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 30%, rgba(245, 184, 41, 0.2), transparent 55%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; max-width: 1240px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero-content h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); }
.hero-content h1 em { color: var(--rt-gold); font-style: normal; }
.hero-content p { color: #c8d0e6; font-size: 1.1rem; max-width: 540px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-call { display: flex; align-items: center; gap: 14px; color: #fff; }
.hero-call .icon { width: 52px; height: 52px; border-radius: 50%; background: #fff; color: var(--rt-navy); display: grid; place-items: center; flex: 0 0 52px; }
.hero-call small { display: block; color: #b4bedc; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hero-call strong { font-size: 1.15rem; color: var(--rt-gold); font-weight: 600; letter-spacing: .02em; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
.hero-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px 18px; backdrop-filter: blur(8px); }
.hero-stat strong { display: block; font-family: var(--rt-font-display); font-size: 1.7rem; color: var(--rt-gold); }
.hero-stat span { font-size: 13px; color: #c8d0e6; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding: 70px 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-search { order: 2; }
}

/* ---- Hero search card ---- */
.hero-search {
  background: rgba(255,255,255,.96);
  color: var(--rt-text);
  border-radius: var(--rt-radius-lg);
  padding: 32px;
  box-shadow: var(--rt-shadow-lg);
  border: 1px solid rgba(255,255,255,.6);
}
.hero-search h3 { margin: 0 0 6px; }
.hero-search > p { color: var(--rt-muted); margin-bottom: 22px; font-size: 14px; }
.hero-search-tabs { display: flex; gap: 6px; background: var(--rt-soft); padding: 6px; border-radius: 99px; margin-bottom: 22px; }
.hero-search-tabs button {
  flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 99px;
  font-weight: 600; color: var(--rt-muted); cursor: pointer; font-family: inherit; font-size: 14px;
  transition: background .2s, color .2s;
}
.hero-search-tabs button.is-active { background: var(--rt-navy); color: #fff; }
.hero-search-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-search-form .full { grid-column: 1 / -1; }
.hero-search-form label { display: block; font-size: 12px; font-weight: 600; color: var(--rt-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.hero-search-form input, .hero-search-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rt-border); border-radius: 10px;
  font-family: inherit; font-size: 14px; color: var(--rt-text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.hero-search-form input:focus, .hero-search-form select:focus {
  outline: 0; border-color: var(--rt-gold); box-shadow: 0 0 0 4px rgba(245,184,41,.15);
}
.hero-search-form .btn { width: 100%; }

/* ---- Property cards ---- */
.property-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.property-card {
  background: #fff;
  border-radius: var(--rt-radius);
  overflow: hidden;
  border: 1px solid var(--rt-border);
  box-shadow: var(--rt-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--rt-shadow); }
.property-thumb { position: relative; aspect-ratio: 16/11; background: var(--rt-soft); overflow: hidden; }
.property-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.property-card:hover .property-thumb img { transform: scale(1.06); }
.property-thumb .badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--rt-gold); color: var(--rt-navy);
  padding: 6px 14px; border-radius: 99px; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
}
.property-thumb .badge.rent { background: #fff; color: var(--rt-navy); }
.property-thumb .price-tag {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  background: rgba(10, 22, 56, .9);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
}
.property-thumb .price-tag .price { color: var(--rt-gold); font-size: 1.1rem; }
.property-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.property-body .property-type { font-size: 12px; color: var(--rt-gold-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.property-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.property-body h3 a { color: var(--rt-navy); }
.property-body h3 a:hover { color: var(--rt-gold-2); }
.property-location { color: var(--rt-muted); font-size: 14px; display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.property-meta { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid var(--rt-border); margin-top: auto; color: var(--rt-text); font-size: 13px; }
.property-meta span { display: flex; align-items: center; gap: 6px; }
.property-meta strong { font-weight: 600; }
.property-meta svg { color: var(--rt-gold-2); }

/* ---- Services ---- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--rt-border); border-radius: var(--rt-radius);
  padding: 36px 28px; text-align: left; transition: all .25s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--rt-gold), var(--rt-gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--rt-shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(245,184,41,.15), rgba(245,184,41,.05));
  color: var(--rt-gold-2);
  display: grid; place-items: center; margin-bottom: 22px;
  transition: all .25s ease;
}
.service-card:hover .service-icon { background: var(--rt-navy); color: var(--rt-gold); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--rt-muted); font-size: 14px; margin-bottom: 0; }

/* ---- About ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-image { position: relative; }
.about-image img { border-radius: var(--rt-radius-lg); box-shadow: var(--rt-shadow); }
.about-image .trust-badge {
  position: absolute; bottom: -24px; left: -24px;
  background: #fff; padding: 24px 28px; border-radius: var(--rt-radius);
  box-shadow: var(--rt-shadow); display: flex; align-items: center; gap: 18px;
}
.about-image .trust-badge .score {
  font-family: var(--rt-font-display); font-size: 2.5rem; color: var(--rt-navy); line-height: 1;
}
.about-image .trust-badge small { display: block; color: var(--rt-muted); font-size: 13px; }
.about-image .trust-badge .stars { color: var(--rt-gold); margin-bottom: 4px; letter-spacing: 2px; }
.feature-list { list-style: none; padding: 0; margin: 24px 0 32px; }
.feature-list li { padding: 10px 0 10px 36px; position: relative; color: var(--rt-text); font-weight: 500; }
.feature-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--rt-gold) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230a1638' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/14px no-repeat;
}

/* ---- Stats strip ---- */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 700px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }
.stat-item { text-align: center; padding: 30px 16px; }
.stat-item .num { font-family: var(--rt-font-display); font-size: 3rem; color: var(--rt-gold); display: block; line-height: 1; margin-bottom: 8px; }
.stat-item span.label { color: #c8d0e6; font-size: 14px; letter-spacing: .04em; }

/* ---- CTA banner ---- */
.cta-banner {
  background: linear-gradient(120deg, var(--rt-navy) 0%, var(--rt-navy-2) 100%);
  border-radius: var(--rt-radius-lg);
  padding: 70px 60px;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center;
  position: relative; overflow: hidden; color: #fff;
}
.cta-banner::after {
  content: ''; position: absolute; right: -10%; top: -50%; width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(245, 184, 41, .25), transparent 60%);
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: #c8d0e6; margin-bottom: 0; }
.cta-banner-actions { display: flex; gap: 14px; justify-content: flex-end; position: relative; z-index: 1; flex-wrap: wrap; }
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; padding: 40px 28px; } .cta-banner-actions { justify-content: flex-start; } }

/* ---- Testimonials ---- */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial {
  background: #fff; border-radius: var(--rt-radius); padding: 32px; border: 1px solid var(--rt-border);
  position: relative;
}
.testimonial::before { content: '\201C'; font-family: var(--rt-font-display); font-size: 80px; color: var(--rt-gold); position: absolute; top: 8px; left: 24px; line-height: 1; opacity: .35; }
.testimonial p { font-size: 16px; color: var(--rt-text); position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--rt-border); }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--rt-navy); color: var(--rt-gold); display: grid; place-items: center; font-family: var(--rt-font-display); font-weight: 600; }
.testimonial-author strong { display: block; color: var(--rt-navy); }
.testimonial-author small { color: var(--rt-muted); }

/* ---- Process steps ---- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { text-align: center; }
.process-step .num {
  width: 70px; height: 70px; border-radius: 50%;
  background: linear-gradient(135deg, var(--rt-gold), var(--rt-gold-2));
  color: var(--rt-navy);
  display: grid; place-items: center; margin: 0 auto 18px;
  font-family: var(--rt-font-display); font-size: 1.6rem; font-weight: 700;
  box-shadow: 0 14px 28px -8px rgba(245, 184, 41, .55);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { color: var(--rt-muted); font-size: 14px; }

/* ---- Page header (inner pages) ---- */
.page-header {
  background: linear-gradient(120deg, rgba(10,22,56,.94), rgba(10,22,56,.78)), var(--rt-navy);
  color: #fff;
  padding: 90px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(245,184,41,.18), transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; }
.page-header p { color: #c8d0e6; max-width: 640px; margin: 0 auto; }
.breadcrumbs { color: var(--rt-gold); margin-top: 14px; font-size: 14px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs a:hover { color: var(--rt-gold); }

/* ---- Contact info cards ---- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: #fff; border: 1px solid var(--rt-border); border-radius: var(--rt-radius);
  padding: 36px 28px; text-align: center; transition: all .25s ease;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--rt-shadow); }
.contact-card .icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--rt-navy); color: var(--rt-gold);
  display: grid; place-items: center;
}
.contact-card strong { display: block; font-family: var(--rt-font-display); font-size: 1.2rem; color: var(--rt-navy); margin-bottom: 8px; }
.contact-card p { color: var(--rt-muted); font-size: 14px; margin-bottom: 14px; }
.contact-card a { color: var(--rt-gold-2); font-weight: 600; }

/* ---- Forms ---- */
.rt-form { display: grid; gap: 16px; }
.rt-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .rt-form .row { grid-template-columns: 1fr; } }
.rt-form label { display: block; font-size: 13px; font-weight: 600; color: var(--rt-navy); margin-bottom: 6px; }
.rt-form input, .rt-form select, .rt-form textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--rt-border); border-radius: 10px;
  font-family: inherit; font-size: 15px; color: var(--rt-text); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.rt-form input:focus, .rt-form select:focus, .rt-form textarea:focus {
  outline: 0; border-color: var(--rt-gold); box-shadow: 0 0 0 4px rgba(245,184,41,.15);
}
.rt-form textarea { min-height: 130px; resize: vertical; }
.rt-form .btn { justify-self: start; padding: 16px 36px; }
.form-card {
  background: #fff; border-radius: var(--rt-radius-lg); padding: 40px;
  box-shadow: var(--rt-shadow); border: 1px solid var(--rt-border);
}
.form-success {
  background: rgba(22, 163, 74, .08); border: 1px solid rgba(22, 163, 74, .25);
  color: var(--rt-success); padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500;
}
.form-error { background: rgba(208, 49, 45, .08); border: 1px solid rgba(208, 49, 45, .3); color: #b91c1c; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-weight: 500; }

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--rt-border); border-radius: var(--rt-radius);
  margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s ease;
}
.faq-item:hover { box-shadow: var(--rt-shadow-sm); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 28px; cursor: pointer; font-weight: 600; color: var(--rt-navy); font-size: 1.05rem;
}
.faq-q .toggle { width: 32px; height: 32px; border-radius: 50%; background: var(--rt-soft); display: grid; place-items: center; transition: all .2s; flex-shrink: 0; }
.faq-item.is-open .faq-q .toggle { background: var(--rt-gold); transform: rotate(45deg); }
.faq-a { padding: 0 28px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; color: var(--rt-muted); }
.faq-item.is-open .faq-a { padding: 0 28px 22px; max-height: 320px; }

/* ---- Property single ---- */
.property-hero {
  display: grid; grid-template-columns: 2fr 1fr; gap: 30px;
}
@media (max-width: 900px) { .property-hero { grid-template-columns: 1fr; } }
.property-hero .main-image { aspect-ratio: 16/10; border-radius: var(--rt-radius-lg); overflow: hidden; }
.property-hero .main-image img { width: 100%; height: 100%; object-fit: cover; }
.property-detail-meta {
  background: #fff; border: 1px solid var(--rt-border); border-radius: var(--rt-radius); padding: 28px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px;
}
@media (max-width: 700px) { .property-detail-meta { grid-template-columns: repeat(2, 1fr); } }
.property-detail-meta .meta-item { text-align: center; padding: 0 10px; }
.property-detail-meta .meta-item:not(:last-child) { border-right: 1px solid var(--rt-border); }
@media (max-width: 700px) { .property-detail-meta .meta-item { border-right: 0 !important; } }
.property-detail-meta strong { display: block; font-family: var(--rt-font-display); color: var(--rt-navy); font-size: 1.3rem; margin-bottom: 4px; }
.property-detail-meta span { color: var(--rt-muted); font-size: 13px; }

/* ---- Filter bar ---- */
.filter-bar {
  background: #fff; border-radius: var(--rt-radius); padding: 24px;
  box-shadow: var(--rt-shadow-sm); margin-bottom: 40px;
  display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 14px; align-items: end;
}
@media (max-width: 1000px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }
.filter-bar label { font-size: 12px; font-weight: 600; color: var(--rt-muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; display: block; }
.filter-bar select, .filter-bar input {
  width: 100%; padding: 12px 14px; border: 1px solid var(--rt-border); border-radius: 10px;
  font-family: inherit; font-size: 14px;
}
.filter-bar .btn { width: 100%; padding: 12px 22px; }

/* ---- Blog ---- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.blog-card {
  background: #fff; border-radius: var(--rt-radius); overflow: hidden;
  border: 1px solid var(--rt-border); box-shadow: var(--rt-shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--rt-shadow); }
.blog-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--rt-soft); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 24px; }
.blog-card .meta { font-size: 13px; color: var(--rt-muted); margin-bottom: 10px; display: flex; gap: 14px; }
.blog-card .meta .cat { color: var(--rt-gold-2); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.blog-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.blog-card h3 a { color: var(--rt-navy); }
.blog-card h3 a:hover { color: var(--rt-gold-2); }
.blog-card p { color: var(--rt-muted); font-size: 14px; margin-bottom: 14px; }

.single-post { display: grid; grid-template-columns: 2.4fr 1fr; gap: 50px; }
@media (max-width: 900px) { .single-post { grid-template-columns: 1fr; } }
.post-content { background: #fff; padding: 40px; border-radius: var(--rt-radius); box-shadow: var(--rt-shadow-sm); }
.post-content img { border-radius: 12px; margin: 24px 0; }
.post-content h2, .post-content h3 { margin-top: 1.4em; }
.post-meta { color: var(--rt-muted); font-size: 14px; margin-bottom: 20px; }
.post-meta a { color: var(--rt-gold-2); }

/* Sidebar widgets */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget {
  background: #fff; border-radius: var(--rt-radius); padding: 28px; border: 1px solid var(--rt-border);
}
.widget h4 { font-family: var(--rt-font-display); font-size: 1.15rem; color: var(--rt-navy); margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--rt-gold); display: inline-block; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 8px 0; border-bottom: 1px solid var(--rt-border); }
.widget li:last-child { border-bottom: 0; }
.widget li a { color: var(--rt-text); }
.widget li a:hover { color: var(--rt-gold-2); }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination a, .pagination span {
  padding: 10px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--rt-border);
  color: var(--rt-navy); font-weight: 600; transition: all .2s ease;
}
.pagination .current, .pagination a:hover { background: var(--rt-navy); color: var(--rt-gold); border-color: var(--rt-navy); }

/* ---- Footer ---- */
.site-footer {
  background: var(--rt-navy);
  color: #b4bedc;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--rt-gold), var(--rt-gold-2), var(--rt-gold));
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .logo-mark {
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(140deg, var(--rt-gold), var(--rt-gold-2));
  display: grid; place-items: center; color: var(--rt-navy);
  font-family: var(--rt-font-display); font-weight: 700; font-size: 20px;
  margin-bottom: 18px;
}
.footer-brand p { color: #b4bedc; line-height: 1.7; margin-bottom: 18px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.06); color: #fff;
  display: grid; place-items: center;
  transition: all .2s ease;
}
.social-links a:hover { background: var(--rt-gold); color: var(--rt-navy); }

.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 22px; font-family: var(--rt-font-display); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 6px 0; }
.site-footer ul a { color: #b4bedc; transition: color .2s, padding .2s; display: inline-block; }
.site-footer ul a:hover { color: var(--rt-gold); padding-left: 6px; }
.contact-info { display: grid; gap: 14px; }
.contact-info-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-info-item .icon { color: var(--rt-gold); flex-shrink: 0; margin-top: 2px; }
.contact-info-item span { color: #b4bedc; font-size: 14px; line-height: 1.6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: #8895b8; flex-wrap: wrap; gap: 16px;
}
.footer-bottom a { color: #b4bedc; }
.footer-bottom a:hover { color: var(--rt-gold); }

/* ---- 404 ---- */
.error-404 { text-align: center; padding: 100px 0; }
.error-404 .big { font-family: var(--rt-font-display); font-size: 10rem; color: var(--rt-gold); line-height: 1; margin-bottom: 20px; letter-spacing: -0.04em; }

/* ---- Map iframe ---- */
.map-embed { width: 100%; height: 420px; border: 0; border-radius: var(--rt-radius); box-shadow: var(--rt-shadow-sm); }

/* ---- Misc utility ---- */
.mb-30 { margin-bottom: 30px; }
.mb-50 { margin-bottom: 50px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin: 1em auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--rt-muted); text-align: center; padding: 8px; }
.screen-reader-text { position: absolute; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.sticky { background: rgba(245,184,41,.06); }
.bypostauthor { }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }

/* =========================================================
   RT24 — ANIMATIONS LAYER
   Scroll-reveal, hero motion, button shine, count-up,
   floating accents, sticky-header style shift.
   ========================================================= */

/* ---- Keyframes ---- */
@keyframes rt-fade-up   { from{opacity:0;transform:translateY(36px)}   to{opacity:1;transform:none} }
@keyframes rt-fade-down { from{opacity:0;transform:translateY(-28px)} to{opacity:1;transform:none} }
@keyframes rt-fade-left { from{opacity:0;transform:translateX(-44px)} to{opacity:1;transform:none} }
@keyframes rt-fade-right{ from{opacity:0;transform:translateX(44px)}  to{opacity:1;transform:none} }
@keyframes rt-scale-in  { from{opacity:0;transform:scale(.9)}          to{opacity:1;transform:scale(1)} }
@keyframes rt-zoom-in   { from{opacity:0;transform:scale(.7) rotate(-3deg)} to{opacity:1;transform:scale(1) rotate(0)} }
@keyframes rt-float       { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes rt-float-slow  { 0%,100%{transform:translateY(0) rotate(0)} 50%{transform:translateY(-12px) rotate(2deg)} }
@keyframes rt-pulse-ring  { 0%{box-shadow:0 0 0 0 rgba(245,184,41,.55)} 70%{box-shadow:0 0 0 18px rgba(245,184,41,0)} 100%{box-shadow:0 0 0 0 rgba(245,184,41,0)} }
@keyframes rt-shine       { 0%{transform:translateX(-120%) skewX(-20deg)} 100%{transform:translateX(220%) skewX(-20deg)} }
@keyframes rt-ken-burns   { 0%{transform:scale(1) translate(0,0)} 100%{transform:scale(1.1) translate(-1.5%,-1%)} }
@keyframes rt-gradient-shift{ 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes rt-spin-slow   { from{transform:rotate(0)} to{transform:rotate(360deg)} }
@keyframes rt-blink-dot   { 0%,100%{opacity:.3} 50%{opacity:1} }
@keyframes rt-marquee     { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes rt-grow-line   { from{transform:scaleX(0)} to{transform:scaleX(1)} }
@keyframes rt-pop         { 0%{transform:scale(.6);opacity:0} 60%{transform:scale(1.08)} 100%{transform:scale(1);opacity:1} }
@keyframes rt-arrow-bob   { 0%,100%{transform:translateX(0)} 50%{transform:translateX(6px)} }

/* ---- Reveal-on-scroll: data-animate attribute API ---- */
[data-animate]{ opacity:0; will-change:opacity, transform; transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
[data-animate="fade-up"]   { transform: translateY(36px); }
[data-animate="fade-down"] { transform: translateY(-28px); }
[data-animate="fade-left"] { transform: translateX(-44px); }
[data-animate="fade-right"]{ transform: translateX(44px); }
[data-animate="scale-in"]  { transform: scale(.92); }
[data-animate="zoom-in"]   { transform: scale(.7); }
[data-animate].is-visible  { opacity:1; transform:none; }

/* Stagger delays */
[data-delay="100"].is-visible{ transition-delay:.10s }
[data-delay="200"].is-visible{ transition-delay:.20s }
[data-delay="300"].is-visible{ transition-delay:.30s }
[data-delay="400"].is-visible{ transition-delay:.40s }
[data-delay="500"].is-visible{ transition-delay:.50s }
[data-delay="600"].is-visible{ transition-delay:.60s }

/* Auto-stagger children inside grids */
.property-grid > [data-animate]:nth-child(1){transition-delay:.05s}
.property-grid > [data-animate]:nth-child(2){transition-delay:.15s}
.property-grid > [data-animate]:nth-child(3){transition-delay:.25s}
.property-grid > [data-animate]:nth-child(4){transition-delay:.35s}
.property-grid > [data-animate]:nth-child(5){transition-delay:.45s}
.property-grid > [data-animate]:nth-child(6){transition-delay:.55s}
.service-grid  > [data-animate]:nth-child(n+1){transition-delay:calc((var(--rt-i,0)) * .07s)}

/* ---- Site header: scroll style shift ---- */
.site-header{ transition: background .3s ease, min-height .3s ease, box-shadow .3s ease; }
.site-header.is-scrolled{ background: rgba(10,22,56,.98); box-shadow: 0 12px 30px -18px rgba(10,22,56,.6); }
.site-header.is-scrolled .container{ min-height: 64px; }

/* Animated nav underline */
.main-nav a{ position: relative; }
.main-nav a::after{
  content:''; position:absolute; left:16px; right:16px; bottom:6px; height:2px;
  background: var(--rt-gold); border-radius:2px;
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.main-nav a:hover::after,
.main-nav .current-menu-item > a::after,
.main-nav .current_page_item > a::after{ transform: scaleX(1); }
@media (max-width: 980px){ .main-nav a::after{ display:none } }

/* Logo gentle float + glow */
.site-branding .logo-mark{ animation: rt-float-slow 5s ease-in-out infinite; position: relative; }
.site-branding .logo-mark::after{
  content:''; position:absolute; inset:-6px; border-radius:14px;
  background: radial-gradient(circle, rgba(245,184,41,.55), transparent 60%);
  filter: blur(10px); opacity:.55; z-index:-1;
  animation: rt-blink-dot 3s ease-in-out infinite;
}

/* ---- Buttons: shine sweep + lift ---- */
.btn{ position: relative; overflow: hidden; isolation: isolate; }
.btn::before{
  content:''; position:absolute; top:0; left:0; width:60%; height:100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,.45) 50%, transparent 100%);
  transform: translateX(-120%) skewX(-20deg); pointer-events:none;
}
.btn:hover::before{ animation: rt-shine .9s ease forwards; }
.btn-gold{ animation: rt-pulse-ring 2.6s ease-out infinite; }
.btn-gold:hover{ animation: none; }
.btn .arrow{ transition: transform .25s ease; }
.btn:hover .arrow{ animation: rt-arrow-bob .9s ease-in-out infinite; }

/* ---- Hero: ken-burns background + content entrance ---- */
.hero{ position:relative; }
.hero::before{
  content:''; position:absolute; inset:0;
  background: inherit; background-size: cover; background-position:center;
  z-index:0; animation: rt-ken-burns 18s ease-in-out infinite alternate;
  opacity:.0; /* the real bg is on .hero itself; this is a placeholder hook */
}
.hero .container{ animation: rt-fade-up .9s .15s both cubic-bezier(.2,.7,.2,1); }
.hero h1{ background: linear-gradient(90deg, #fff 0%, #fff 40%, #f5b829 50%, #fff 60%, #fff 100%); background-size: 240% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rt-gradient-shift 6s ease-in-out infinite; }
.hero h1 em{ background: linear-gradient(90deg, #f5b829, #ffd76a, #f5b829); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rt-gradient-shift 4s ease-in-out infinite; font-style: normal; }
.hero-content p{ animation: rt-fade-up 1s .35s both; }
.hero-cta{ animation: rt-fade-up 1s .55s both; }
.hero-stats{ animation: rt-fade-up 1s .75s both; }
.hero-stat{ transition: transform .25s ease, background .25s ease; }
.hero-stat:hover{ transform: translateY(-4px); background: rgba(245,184,41,.14); }
.hero-search{ animation: rt-zoom-in .8s .25s both cubic-bezier(.2,.7,.2,1); }
.hero-call .icon{ animation: rt-float 2.6s ease-in-out infinite; }

/* ---- Property cards: tilt-lift + image zoom (refined) ---- */
.property-card{ position: relative; }
.property-card::after{
  content:''; position:absolute; inset:0; border-radius: var(--rt-radius);
  pointer-events:none;
  box-shadow: 0 0 0 0 rgba(245,184,41,0);
  transition: box-shadow .3s ease;
}
.property-card:hover{ transform: translateY(-8px); }
.property-card:hover::after{ box-shadow: 0 0 0 2px rgba(245,184,41,.45), 0 30px 50px -20px rgba(10,22,56,.35); }
.property-thumb img{ transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.property-card:hover .property-thumb img{ transform: scale(1.1); }
.property-thumb .badge{ animation: rt-pop .6s .15s both; }

/* ---- Service cards: icon bounce + card glow ---- */
.service-card{ transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease, border-color .35s ease; }
.service-card:hover{ transform: translateY(-8px) scale(1.01); }
.service-icon{ transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s ease, color .3s ease; }
.service-card:hover .service-icon{ transform: rotate(-6deg) scale(1.1); }

/* ---- Stats strip: count-up + glow ---- */
.stat-item .num{ display: inline-block; transition: transform .3s ease; }
.stat-item:hover .num{ transform: scale(1.08); text-shadow: 0 0 30px rgba(245,184,41,.55); }
.hero-stat strong{ display: inline-block; }

/* ---- Process steps: connecting line draw + numbered pop ---- */
.process-grid{ position: relative; }
.process-grid::before{
  content:''; position: absolute; left: 8%; right: 8%; top: 35px; height: 2px;
  background: linear-gradient(90deg, transparent 0, rgba(245,184,41,.5) 15%, rgba(245,184,41,.5) 85%, transparent 100%);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 1.4s ease .2s;
}
.process-grid.is-visible::before{ transform: scaleX(1); }
@media (max-width: 900px){ .process-grid::before{ display:none } }
.process-step .num{ transition: transform .3s ease, box-shadow .3s ease; }
.process-step:hover .num{ transform: scale(1.1) rotate(8deg); box-shadow: 0 18px 36px -8px rgba(245,184,41,.7); }

/* ---- Testimonials: tilt + quote shimmer ---- */
.testimonial{ transition: transform .35s ease, box-shadow .35s ease; }
.testimonial:hover{ transform: translateY(-6px); box-shadow: var(--rt-shadow); }
.testimonial::before{ animation: rt-float-slow 6s ease-in-out infinite; }

/* ---- About image trust badge: pop in + float ---- */
.about-image .trust-badge{ animation: rt-float-slow 6s ease-in-out infinite; }
.about-image img{ transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.about-image:hover img{ transform: scale(1.02); }

/* ---- Section eyebrow: subtle pulse on first reveal ---- */
[data-animate].is-visible .eyebrow{ animation: rt-pop .6s ease both; }

/* ---- CTA banner glow blob ---- */
.cta-banner::after{ animation: rt-float-slow 7s ease-in-out infinite; }
.cta-banner h2{ background: linear-gradient(90deg, #fff 0%, #fff 30%, #f5b829 50%, #fff 70%, #fff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: rt-gradient-shift 7s ease-in-out infinite; }

/* ---- Footer: social hover ring + footer line accent ---- */
.social-links a{ transition: transform .25s ease, background .25s ease, color .25s ease; }
.social-links a:hover{ transform: translateY(-4px) rotate(-6deg); }
.site-footer ul a{ transition: padding .25s ease, color .25s ease; }
.site-footer ul a:hover{ padding-left: 10px; }

/* ---- Reduced motion: opt-out ---- */
@media (prefers-reduced-motion: reduce) {
  [data-animate], [data-animate].is-visible{ opacity:1 !important; transform:none !important; transition:none !important; }
  .hero h1, .hero h1 em, .cta-banner h2{ animation: none !important; color: #fff; background: none; -webkit-background-clip: initial; background-clip: initial; }
  .hero h1 em{ color: var(--rt-gold); }
  .site-branding .logo-mark, .hero-call .icon, .about-image .trust-badge,
  .testimonial::before, .cta-banner::after, .btn-gold{ animation: none !important; }
  .btn:hover::before{ animation: none !important; }
}
