/* ============================================================
   De Great Inter-World Homes & Property Consultant
   Shared Stylesheet — style.css
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --primary:   #0b1d2a;
  --primary-light: #122636;
  --accent:    #c9a84c;
  --accent-light: #e2c97e;
  --accent-dark: #a8873a;
  --white:     #ffffff;
  --off-white: #f8f6f1;
  --light-gray:#f1f3f5;
  --mid-gray:  #6c757d;
  --dark-gray: #343a40;
  --danger:    #dc3545;
  --success:   #28a745;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Open Sans', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark-gray);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3rem 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 620px;
  margin-bottom: 2.5rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

.accent-text { color: var(--accent); }
.white-text  { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-accent {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11,29,42,.3);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,.35);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: .55rem 1.2rem; font-size: .82rem; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary);
  padding: .9rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: .65rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand { display: flex; align-items: center; gap: .75rem; }

.brand-logo-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: transparent;
}

.brand-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.1;
}

.brand-text .brand-tagline {
  font-size: .68rem;
  color: var(--accent);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  color: rgba(255,255,255,.85);
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 500;
  padding: .45rem .85rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: rgba(201,168,76,.1);
}

.nav-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: .45rem 1rem;
  border-radius: 50px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--accent-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile drawer */
.nav-drawer {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background-color: var(--primary);
  background-image:
    linear-gradient(rgba(11,29,42,0.82), rgba(11,29,42,0.82)),
    url('images/logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 65%;
  z-index: 999;
  padding: 5rem 2rem 2rem;
  gap: .25rem;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -4px 0 30px rgba(0,0,0,.3);
  overflow-y: auto;
  visibility: hidden;
}

.nav-drawer.open { right: 0; visibility: visible; }

/* Blog subpages need ../ prefix for logo path */
.blog-subpage .nav-drawer {
  background-image:
    linear-gradient(rgba(11,29,42,0.82), rgba(11,29,42,0.82)),
    url('../images/logo.png');
}

.nav-drawer .nav-link {
  font-size: .95rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 998;
}
.nav-overlay.show { display: block; }

/* ---------- Hero Sections (inner pages) ---------- */
.page-hero {
  background: var(--primary);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,.12) 0%, transparent 65%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: .75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: var(--accent); }
.breadcrumb i { font-size: .6rem; }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Service card */
.service-card {
  padding: 2rem;
  border: 1px solid rgba(201,168,76,.15);
  border-top: 3px solid var(--accent);
}

.service-card:hover {
  border-color: var(--accent);
}

.service-icon {
  width: 56px; height: 56px;
  background: rgba(201,168,76,.12);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .9rem;
  color: var(--mid-gray);
  line-height: 1.65;
}

/* Property listing card */
.listing-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.07);
}

.listing-image {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  font-size: 2.5rem;
  color: rgba(255,255,255,.8);
}

.listing-image .sample-badge {
  position: absolute;
  top: .75rem; left: .75rem;
  background: var(--accent);
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  letter-spacing: .05em;
}

.listing-image .type-badge {
  position: absolute;
  top: .75rem; right: .75rem;
  background: var(--primary);
  color: var(--white);
  font-size: .7rem;
  font-weight: 600;
  padding: .25rem .7rem;
  border-radius: 50px;
  font-family: var(--font-heading);
}

/* Listing image wrap (for real photo cards) */
/* ============================================================
   YOUTUBE-STYLE LISTING GALLERY
   ============================================================ */
.yt-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.yt-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.yt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.14);
}
.yt-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--primary);
  text-decoration: none;
}
.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.yt-card:hover .yt-thumb img {
  transform: scale(1.05);
}
/* Badges on thumbnail */
.yt-type-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: var(--primary);
  color: var(--accent);
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.yt-sample-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--primary);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 4px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.yt-price-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(11,29,42,.85);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: .03em;
  backdrop-filter: blur(4px);
}
/* Card info below thumbnail */
.yt-info {
  padding: .85rem 1rem 1rem;
}
.yt-title {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .4rem;
  line-height: 1.35;
}
.yt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .4rem;
  flex-wrap: wrap;
}
.yt-meta > span:first-child {
  font-size: .78rem;
  color: var(--mid-gray);
  display: flex;
  align-items: center;
  gap: .3rem;
}
.yt-meta i { color: var(--accent); font-size: .75rem; }
.yt-wa-btn a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #25D366;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.yt-wa-btn a:hover { background: #1da851; color: #fff; }
.yt-desc {
  font-size: .8rem;
  color: var(--mid-gray);
  line-height: 1.55;
}

/* legacy -- keep for index.html featured listings */
.listing-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.listing-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.listing-card:hover .listing-img-wrap img {
  transform: scale(1.04);
}
.listing-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  color: var(--primary);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.listing-body { padding: 1.25rem; }

.listing-location {
  display: flex; align-items: center; gap: .4rem;
  font-size: .82rem;
  color: var(--mid-gray);
  margin-bottom: .5rem;
}

.listing-location i { color: var(--accent); }

.listing-price {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .75rem;
}

.listing-reqs {
  font-size: .82rem;
  color: var(--mid-gray);
  margin-bottom: 1rem;
}

.listing-reqs li {
  display: flex; align-items: flex-start; gap: .4rem;
  margin-bottom: .3rem;
}

.listing-reqs li::before {
  content: '•';
  color: var(--accent);
  font-weight: 700;
  margin-top: .05em;
  flex-shrink: 0;
}

/* Trust badge cards */
.trust-badge-card {
  padding: 1.5rem;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  text-align: center;
  background: var(--white);
}

.trust-badge-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: .75rem;
}

.trust-badge-card h4 {
  font-size: 1rem;
  margin-bottom: .3rem;
}

.trust-badge-card p {
  font-size: .82rem;
  color: var(--mid-gray);
}

/* ---------- Grid Helpers ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ---------- Price Table ---------- */
.price-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.price-table th {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 600;
}

.price-table td {
  padding: .9rem 1.25rem;
  font-size: .9rem;
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.price-table tr:nth-child(even) td { background: var(--off-white); }
.price-table tr:hover td { background: rgba(201,168,76,.07); }

.price-table .price-col {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-dark);
}

/* ---------- Testimonials ---------- */
.testimonial-carousel { position: relative; overflow: hidden; }

.testimonial-track {
  display: flex;
  transition: transform .45s ease;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 .5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--accent);
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .75rem;
}

.testimonial-card p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-gray);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex; align-items: center; gap: .75rem;
}

.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
}

.author-location {
  font-size: .8rem;
  color: var(--mid-gray);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.5rem;
}

.carousel-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(201,168,76,.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ---------- Sticky Bottom Bar ---------- */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 990;
  background: var(--primary);
  padding: .7rem 1rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -2px 20px rgba(0,0,0,.2);
}

.sticky-bottom-bar .btn {
  flex: 1;
  max-width: 240px;
  justify-content: center;
  padding: .7rem 1rem;
  font-size: .85rem;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
  margin-bottom: 64px; /* space for sticky bottom bar */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand .brand-name-lg {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: .25rem;
}

.footer-brand .tagline {
  font-size: .85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  transition: var(--transition);
}

.social-btn.whatsapp { background: #25d366; color: white; }
.social-btn.whatsapp:hover { background: #1da851; transform: translateY(-2px); }

.social-btn.channel { background: rgba(255,255,255,.1); color: white; border: 1px solid rgba(255,255,255,.2); }
.social-btn.channel:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

.footer-heading {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(201,168,76,.3);
}

.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  display: flex; align-items: center; gap: .4rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links a i { font-size: .6rem; color: var(--accent); }

.footer-contact-item {
  display: flex; gap: .75rem;
  align-items: flex-start;
  margin-bottom: .9rem;
}

.footer-contact-item i {
  color: var(--accent);
  font-size: .95rem;
  margin-top: .2em;
  flex-shrink: 0;
}

.footer-contact-item span, .footer-contact-item a {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  transition: var(--transition);
}

.footer-contact-item a:hover { color: var(--accent); }

.footer-badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}

.reg-badge {
  background: rgba(201,168,76,.12);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 6px;
  padding: .3rem .7rem;
  font-size: .72rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--accent);
}

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); }
.footer-bottom a { color: var(--accent); }

/* ---------- Contact Strip ---------- */
.contact-strip {
  background: var(--primary-light);
  padding: 2rem 0;
}

.contact-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.contact-strip-items {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.contact-strip-item {
  display: flex; align-items: center; gap: .6rem;
}

.contact-strip-item i { color: var(--accent); font-size: 1rem; }
.contact-strip-item span, .contact-strip-item a {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
}
.contact-strip-item a:hover { color: var(--accent); }

/* ---------- Stat Cards ---------- */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}

.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}

/* ---------- Process Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(201,168,76,.2));
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}

.step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: .5rem;
}

.step-desc {
  font-size: .85rem;
  color: var(--mid-gray);
}

/* ---------- Legal Trust Section ---------- */
.legal-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.problem-col, .solution-col {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.problem-col { border-top: 3px solid var(--danger); }
.solution-col { border-top: 3px solid var(--success); }

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

.trust-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.trust-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .85rem;
}

.trust-icon.danger { background: rgba(220,53,69,.12); color: var(--danger); }
.trust-icon.success { background: rgba(40,167,69,.12); color: var(--success); }

.trust-item h5 {
  font-size: .95rem;
  margin-bottom: .2rem;
}
.trust-item p { font-size: .84rem; color: var(--mid-gray); }

/* ---------- Consultation CTA Block ---------- */
.consultation-cta {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.consultation-cta::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,.18) 0%, transparent 70%);
}

.consultation-cta .price-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50px;
  padding: .45rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.value-list {
  list-style: none;
  margin-bottom: 2rem;
}

.value-list li {
  display: flex; align-items: center; gap: .6rem;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  margin-bottom: .6rem;
}

.value-list li i { color: var(--accent); font-size: .9rem; }

/* ---------- Lock Overlay ---------- */
.locked-section { position: relative; }

.lock-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(11,29,42,.92) 40%);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 2rem;
  text-align: center;
  z-index: 5;
}

.lock-overlay .lock-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: .75rem;
}

.lock-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.lock-overlay p {
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.locked-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  position: relative;
}

/* ---------- Filter Bar ---------- */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-group {
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  color: var(--mid-gray);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.filter-group select {
  width: 100%;
  padding: .65rem 1rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--dark-gray);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c9a84c'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 18px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

/* ---------- Contact Form ---------- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .4rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .8rem 1.1rem;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--dark-gray);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,.12);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ---------- Payment Card ---------- */
.payment-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,168,76,.2);
  text-align: center;
}

.payment-card .payment-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.payment-card h3 {
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

.bank-details {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1.25rem;
  margin: 1rem 0;
  text-align: left;
}

.bank-details .detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .88rem;
}

.bank-details .detail-row:last-child { margin-bottom: 0; }

.bank-details .detail-label { color: var(--mid-gray); font-weight: 500; }
.bank-details .detail-value { font-weight: 700; color: var(--primary); font-family: var(--font-heading); }

/* ---------- Value/What You Get ---------- */
.what-you-get-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.get-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
}

.get-item i {
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .1em;
}

.get-item h4 { font-size: .95rem; margin-bottom: .2rem; }
.get-item p { font-size: .83rem; color: var(--mid-gray); }

/* ---------- Mission/Vision Cards ---------- */
.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--accent);
}

.mv-icon {
  font-size: 2.25rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.mv-card h3 { font-size: 1.3rem; margin-bottom: .75rem; }
.mv-card p { font-size: .92rem; color: var(--mid-gray); line-height: 1.75; }

/* ---------- Values ---------- */
.value-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--accent);
}

.value-card i {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.value-card h4 { font-size: 1.1rem; margin-bottom: .5rem; }
.value-card p { font-size: .88rem; color: var(--mid-gray); }

/* ---------- Community CTA ---------- */
.community-card {
  background: linear-gradient(135deg, #075e54, #128c7e);
  border-radius: var(--radius-md);
  padding: 2rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.community-card .community-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.community-card h4 { font-size: 1.2rem; margin-bottom: .3rem; color: white; }
.community-card p { font-size: .88rem; opacity: .85; margin-bottom: .85rem; }

/* ---------- Map Placeholder ---------- */
.map-placeholder {
  background: linear-gradient(135deg, #e8eef3, #d1dce5);
  border-radius: var(--radius-md);
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 2px dashed rgba(11,29,42,.2);
}

.map-placeholder i { font-size: 3rem; color: var(--primary); opacity: .4; }
.map-placeholder h4 { color: var(--primary); font-size: 1.1rem; }
.map-placeholder p { color: var(--mid-gray); font-size: .88rem; text-align: center; padding: 0 2rem; }

/* ---------- About Story ---------- */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-block {
  background: linear-gradient(135deg, var(--primary) 0%, #1a3a52 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.about-image-block::before {
  content: '';
  position: absolute;
  top: -30%; right: -20%;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,168,76,.2) 0%, transparent 70%);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.about-stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(4px);
}

.about-stat-card .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .3rem;
}

.about-stat-card .lbl {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
}

/* ---------- Team Cards ---------- */
.team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 2rem;
  color: var(--accent);
  border: 3px solid rgba(201,168,76,.3);
}

.team-card h4 { font-size: 1rem; margin-bottom: .2rem; }
.team-card .role { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: .5rem; }
.team-card p { font-size: .83rem; color: var(--mid-gray); }

/* ---------- Terms Block ---------- */
.terms-block {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  border-left: 4px solid var(--accent);
}

.terms-block h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.terms-block ol {
  padding-left: 1.25rem;
  list-style: decimal;
}

.terms-block li {
  font-size: .88rem;
  color: var(--mid-gray);
  margin-bottom: .6rem;
  line-height: 1.65;
}

/* ---------- Gold Background Sections ---------- */
.bg-gold {
  background: linear-gradient(135deg, #b8943e, var(--accent));
  color: var(--primary);
}

.bg-primary { background: var(--primary); }
.bg-off-white { background: var(--off-white); }
.bg-light { background: var(--light-gray); }

/* ---------- Divider ---------- */
.gold-divider {
  height: 3px;
  width: 60px;
  background: var(--accent);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.gold-divider.center { margin: 1rem auto 1.5rem; }

/* ---------- No Results ---------- */
/* About preview grid — responsive */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 768px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--mid-gray);
}

.no-results i { font-size: 3rem; color: var(--accent); opacity: .4; margin-bottom: 1rem; display: block; }

/* ---------- Floating WhatsApp Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 130px;
  right: 1.25rem;
  width: 52px; height: 52px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  z-index: 981;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: wa-pulse 2.5s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37,211,102,.6);
  color: white;
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,.75); }
}

/* ---------- Scroll to Top ---------- */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 1.25rem;
  width: 44px; height: 44px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  z-index: 980;
}

.scroll-top.show { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); background: var(--accent-dark); }

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

/* Large desktop: ≤ 1200px */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
  .footer-grid > *:last-child { grid-column: 1 / -1; }
}

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .about-story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .locked-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tablet small: ≤ 768px */
@media (max-width: 768px) {
  .section-padding { padding: 3.5rem 0; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .legal-trust-grid { grid-template-columns: 1fr; }
  .what-you-get-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .locked-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .consultation-cta { padding: 2rem 1.5rem; }

  .testimonial-card { padding: 1.5rem; }

  .filter-bar { flex-direction: column; }
  .filter-group { width: 100%; }

  .contact-strip-items { gap: 1.25rem; }
  .contact-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile: ≤ 480px (covers iPhone XR 414px, standard 375px) */
@media (max-width: 480px) {
  .section-padding { padding: 2.5rem 0; }
  .container { padding: 0 1rem; }

  .brand-text .brand-tagline { display: none; }
  .brand-logo-icon { width: 40px; height: 40px; }

  .sticky-bottom-bar .btn { font-size: .78rem; padding: .65rem .75rem; }

  .about-stats-grid { grid-template-columns: 1fr 1fr; }

  .process-steps { grid-template-columns: 1fr; }

  .price-table { font-size: .8rem; }
  .price-table th, .price-table td { padding: .65rem .85rem; }

  /* Blog post hero on small phones */
  .blog-post-hero img { height: 280px; }
  .blog-post-hero-overlay { padding: 1.25rem 1rem; }
  .blog-post-hero-content h1 { font-size: 1.15rem; }

  /* Blog CTA buttons stack */
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn { justify-content: center; text-align: center; }

  /* Blog article */
  .blog-article { padding: 0 .1rem; }
  .blog-article h2 { font-size: 1.2rem; }

  /* Services / values cards full width */
  .service-card, .value-card { padding: 1.5rem 1.1rem; }

  /* About story grid */
  .about-story-grid { gap: 1.5rem; }

  /* Community card stack */
  .community-card { flex-direction: column; gap: 1rem; }

  /* Footer adjustments */
  .footer { margin-bottom: 58px; }
  .footer-social { gap: .4rem; }

  /* Contact form */
  .contact-form { padding: 1.5rem 1rem; }

  /* Section headings */
  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.75rem; }
  .page-hero { padding: 6rem 0 2.5rem; }
}

/* Small mobile: ≤ 414px (iPhone XR, XS Max, 11) */
@media (max-width: 414px) {
  .navbar { padding: .75rem 0; }
  .brand-text .brand-name { font-size: .88rem; }

  .btn-lg { padding: .85rem 1.5rem; font-size: .92rem; }

  /* Sticky bar */
  .sticky-bottom-bar { padding: .6rem .85rem; gap: .6rem; }
  .sticky-bottom-bar .btn { flex: 1; max-width: none; }

  /* Hero section */
  .hero-title { font-size: clamp(1.6rem, 7vw, 2rem) !important; }
  .hero-subtitle { font-size: .9rem !important; }

  /* Trust badges */
  .trust-badge-card { padding: 1.1rem; }

  /* Consultation CTA */
  .consultation-cta { padding: 1.75rem 1rem; }

  /* Filter bar */
  .filter-bar { padding: 1rem; gap: .75rem; }

  /* Blog featured stacked */
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 200px; }
  .blog-featured-body { padding: 1.5rem 1.25rem; }
}

/* Samsung Galaxy A/S series & Huawei: ≤ 390px */
@media (max-width: 390px) {
  html { font-size: 15px; }
  .container { padding: 0 .85rem; }
  .section-title { font-size: 1.35rem; }
  .brand-name { font-size: .82rem !important; }

  /* Navbar tighter */
  .navbar-brand { gap: .5rem; }

  /* Stats on about page */
  .about-stat-card .num { font-size: 1.65rem; }
  .about-stat-card .lbl { font-size: .75rem; }

  /* Testimonial */
  .testimonial-card { padding: 1.25rem 1rem; }
  .testimonial-card p { font-size: .92rem; }

  /* Blog post hero */
  .blog-post-hero img { height: 240px; }
  .blog-post-hero-content h1 { font-size: 1.05rem; line-height: 1.3; }
}

/* Very small: ≤ 360px (some Samsung budget phones) */
@media (max-width: 360px) {
  html { font-size: 14.5px; }
  .sticky-bottom-bar { gap: .4rem; padding: .6rem .6rem; }
  .sticky-bottom-bar .btn { font-size: .72rem; padding: .55rem .5rem; }
  .brand-text .brand-name { font-size: .8rem; }
  .blog-post-hero img { height: 220px; }
}

/* ---------- Hero Background Attachment ---------- */
#hero {
  background-attachment: fixed;
}
@media (max-width: 768px) {
  #hero {
    background-attachment: scroll; /* fixed causes issues on mobile */
  }
}

/* ---------- Hero Slideshow Keyframes ---------- */
@keyframes heroFade {
  0%   { opacity: 1; }
  28%  { opacity: 1; }
  33%  { opacity: 0; }
  95%  { opacity: 0; }
  100% { opacity: 1; }
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

/* Blog layout: main grid + sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}

/* Main 3-column blog grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Blog card */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  position: relative;
  overflow: hidden;
  height: 180px;
  flex-shrink: 0;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}
.blog-cat-badge {
  position: absolute;
  top: .6rem;
  left: .6rem;
  background: var(--accent);
  color: var(--primary);
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  font-family: var(--font-heading);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 1rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: .75rem;
  font-size: .75rem;
  color: var(--mid-gray);
  margin-bottom: .5rem;
  flex-wrap: wrap;
}
.blog-card-meta i { color: var(--accent); margin-right: .2rem; }

.blog-card-title {
  font-family: var(--font-heading);
  font-size: .92rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
  line-height: 1.4;
}
.blog-card-excerpt {
  font-size: .82rem;
  color: var(--mid-gray);
  line-height: 1.6;
  flex: 1;
  margin-bottom: .75rem;
}
.blog-read-more {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
  transition: var(--transition);
  text-decoration: none;
}
.blog-read-more:hover { color: var(--accent-dark); gap: .5rem; }

/* Sidebar cards */
.blog-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,0,0,.06);
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.blog-featured:hover { box-shadow: var(--shadow-lg); }
.blog-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.blog-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.blog-featured:hover .blog-featured-img img { transform: scale(1.04); }
.blog-featured-body {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .75rem;
}
.blog-featured-body h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.35;
}
.blog-featured-body p {
  font-size: .9rem;
  color: var(--mid-gray);
  line-height: 1.7;
}

/* Blog article (post pages) */
.blog-article {
  max-width: 780px;
  margin: 0 auto;
}
.blog-article h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin: 2rem 0 .75rem;
}
.blog-article h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--primary);
  margin: 1.5rem 0 .5rem;
}
.blog-article p { margin-bottom: 1.1rem; line-height: 1.8; }
.blog-article ul, .blog-article ol {
  padding-left: 1.5rem;
  margin-bottom: 1.1rem;
}
.blog-article li { margin-bottom: .4rem; line-height: 1.7; }

/* Law callout box */
.law-callout {
  background: rgba(11,29,42,.04);
  border-left: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.law-callout p { margin: 0; font-size: .9rem; color: var(--primary); }

/* Cost cards */
.cost-card {
  background: var(--off-white);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cost-card span:last-child {
  font-weight: 700;
  color: var(--accent-dark);
  font-family: var(--font-heading);
  white-space: nowrap;
}

/* Checklist / warning list */
.check-list { list-style: none; padding: 0; }
.check-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-bottom: .5rem; font-size: .92rem;
}
.check-list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1em;
}
.warn-list { list-style: none; padding: 0; }
.warn-list li {
  display: flex; align-items: flex-start; gap: .5rem;
  margin-bottom: .5rem; font-size: .92rem;
}
.warn-list li::before {
  content: '✕';
  color: var(--danger);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: .1em;
}

/* Blog CTA box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--primary) 0%, #122636 100%);
  border-radius: var(--radius-md);
  padding: 2rem 2.5rem;
  color: white;
  text-align: center;
  margin-top: 2.5rem;
  position: relative;
  overflow: hidden;
}
.blog-cta-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(201,168,76,.18) 0%, transparent 65%);
  pointer-events: none;
}
.blog-cta-box h3 { color: var(--accent); font-size: 1.2rem; margin-bottom: .5rem; position: relative; }
.blog-cta-box p { color: rgba(255,255,255,.78); font-size: .9rem; margin-bottom: 1.25rem; position: relative; }

/* Responsive blog layout */
@media (max-width: 1100px) {
  .blog-layout { grid-template-columns: 1fr 280px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-img { min-height: 220px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- Prevent GSAP flash of invisible content ---------- */
/* Elements that GSAP animates: ensure they're visible when GSAP hasn't loaded
   or when they're immediately in the viewport. GSAP fromTo will override these
   inline styles at animation time, then clearProps removes them after. */
.value-card, .service-card, .trust-badge-card, .process-step,
.team-card, .get-item, .trust-item, .mv-card, .contact-card,
.listing-card, .testimonial-card {
  will-change: opacity, transform;
}

/* ---------- Blog Post Hero ---------- */
.blog-post-hero {
  position: relative;
  width: 100%;
  max-height: 480px;
  overflow: hidden;
  background: var(--primary);
}

.blog-post-hero img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.55);
}

.blog-post-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  background: linear-gradient(to top, rgba(11,29,42,.85) 0%, rgba(11,29,42,.2) 60%, transparent 100%);
}

.blog-post-hero-content {
  max-width: 860px;
}

.blog-post-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

/* ---------- Blog CTA Buttons ---------- */
.cta-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
}

/* ---------- Blog Article Spacing ---------- */
.blog-article h2 {
  margin-top: 2.5rem;
  padding-top: .5rem;
}

.blog-article h2:first-child {
  margin-top: 1.5rem;
}

.blog-article > p:first-child {
  font-size: 1.05rem;
  line-height: 1.85;
}

/* ---------- Team Card Featured ---------- */
.featured-team {
  border: 2px solid var(--accent);
  background: linear-gradient(135deg, rgba(201,168,76,.06), var(--white));
}
.featured-team .team-img-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
