/* ==========================================================================
   RightMoveAspects - Chennai Local Revamp Stylesheet
   Layered on top of main.css (Serenity template) without modifying it.
   Palette: Fresh & Friendly (derived from the brand logo)
     - Primary green (logo roof): #6BC74D
     - Primary dark (hover/depth): #4FA82E
     - Yellow accent (logo "aspects"): #F8E71C
     - Ink (text/headings): #1A2E14
   ========================================================================== */

:root {
  --rma-primary: #4FA82E;       /* deeper green for headings, dark sections */
  --rma-primary-soft: #6BC74D;  /* main brand green from logo */
  --rma-accent: #6BC74D;        /* primary CTA green */
  --rma-accent-dark: #4FA82E;   /* hover state */
  --rma-yellow: #F8E71C;        /* logo highlight yellow */
  --rma-yellow-soft: #FFF4A3;   /* soft yellow background tint */
  --rma-ink: #1A2E14;           /* near-black with green undertone */
  --rma-muted: #5A6F55;         /* secondary text */
  --rma-bg-tint: #F4FAF0;       /* light section bg */
  --rma-surface: #FFFFFF;
  --rma-radius: 14px;
  --rma-shadow-sm: 0 4px 14px rgba(26, 46, 20, 0.08);
  --rma-shadow-md: 0 12px 30px rgba(26, 46, 20, 0.12);
}

/* ==========================================================================
   Override Serenity main.css palette variables so every section/component
   picks up the Fresh & Friendly palette automatically.
   ========================================================================== */
:root {
  --background-color: #FFFFFF;
  --default-color: #1A2E14;
  --heading-color: #1A2E14;
  --accent-color: #6BC74D;
  --surface-color: #FFFFFF;
  --contrast-color: #FFFFFF;
  --nav-color: #1A2E14;
  --nav-hover-color: #4FA82E;
  --nav-mobile-background-color: #FFFFFF;
  --nav-dropdown-background-color: #FFFFFF;
  --nav-dropdown-color: #1A2E14;
  --nav-dropdown-hover-color: #4FA82E;
}

.light-background {
  --background-color: #F4FAF0;
  --surface-color: #FFFFFF;
}

.dark-background {
  --background-color: #1A2E14;
  --default-color: #F4FAF0;
  --heading-color: #FFFFFF;
  --surface-color: #2A4521;
  --contrast-color: #FFFFFF;
}

.accent-background {
  --background-color: #6BC74D;
  --default-color: #FFFFFF;
  --heading-color: #FFFFFF;
  --surface-color: #4FA82E;
  --contrast-color: #FFFFFF;
}

/* Subtle yellow highlight class — use sparingly */
.brand-highlight {
  background: linear-gradient(120deg, transparent 0%, transparent 40%, var(--rma-yellow) 40%, var(--rma-yellow) 100%);
  padding: 0 4px;
}

/* ----- Top Bar ----- */
.topbar {
  background: var(--rma-ink);
  color: #f4faf0;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 2px solid var(--rma-yellow);
}
.topbar a {
  color: #f8fef5;
  text-decoration: none;
  transition: color .2s ease;
}
.topbar a:hover { color: var(--rma-accent); }
.topbar .topbar-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}
.topbar .topbar-whatsapp:hover { color: #fff; opacity: .9; }

/* ----- Header CTA Button ----- */
.btn-call-now {
  display: inline-flex;
  align-items: center;
  margin-left: 18px;
  padding: 10px 22px;
  background: linear-gradient(135deg, var(--rma-accent) 0%, var(--rma-accent-dark) 100%);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--rma-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-call-now:hover {
  transform: translateY(-2px);
  box-shadow: var(--rma-shadow-md);
  color: #fff !important;
}

/* ----- Hero ----- */
#hero { padding: 110px 0 90px; }
#hero .hero-eyebrow {
  display: inline-block;
  background: rgba(107, 199, 77, 0.18);
  color: #d6ffc8;
  font-weight: 600;
  letter-spacing: .5px;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  border: 1px solid rgba(107, 199, 77, 0.35);
}
#hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #fff;
}
#hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--rma-yellow);
  border-radius: 2px;
  margin: 16px auto 0;
}
#hero .hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

/* Hero Search */
.hero-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  background: #fff;
  padding: 12px;
  border-radius: var(--rma-radius);
  box-shadow: var(--rma-shadow-md);
  max-width: 900px;
  margin: 0 auto;
}
.hero-search-field {
  flex: 1 1 140px;
  min-width: 140px;
}
.hero-search-field--grow { flex: 2 1 260px; }
.hero-search .form-select,
.hero-search .form-control {
  border: 1px solid #e3eedb;
  background: #f7fbf3;
  color: #1a3318;
  height: 48px;
  font-weight: 500;
  border-radius: 10px;
}
.hero-search .form-select:focus,
.hero-search .form-control:focus {
  border-color: var(--rma-accent);
  box-shadow: 0 0 0 .2rem rgba(107, 199, 77, 0.18);
}
.hero-search-btn {
  flex: 1 1 180px;
  height: 48px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--rma-accent) 0%, var(--rma-accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(78, 165, 54, 0.4);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 500;
}
.hero-trust i { color: var(--rma-accent); margin-right: 6px; }

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  margin-top: 28px;
}

/* Shared button spec — paired primary/secondary CTAs in the hero.
   Same height, padding, font, radius, icon — only fill differs. */
.hero-cta-row .btn-get-started,
.hero-cta-row .btn-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  margin: 0;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  line-height: 1;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.hero-cta-row .btn-get-started i,
.hero-cta-row .btn-secondary-cta i {
  font-size: 17px;
  line-height: 1;
  margin: 0;
}

/* Primary: filled green */
.hero-cta-row .btn-get-started {
  background: var(--rma-accent);
  color: #ffffff;
  border-color: var(--rma-accent);
  box-shadow: 0 8px 20px rgba(78, 165, 54, 0.35);
}
.hero-cta-row .btn-get-started:hover {
  background: var(--rma-accent-dark);
  border-color: var(--rma-accent-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(78, 165, 54, 0.45);
}

/* Secondary: white outline on the dark hero background */
.hero-cta-row .btn-secondary-cta {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}
.hero-cta-row .btn-secondary-cta:hover {
  background: #ffffff;
  color: var(--rma-ink);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

/* ----- Quick Stats Strip ----- */
.quick-stats-strip {
  background: linear-gradient(135deg, #f4faf0 0%, #ffffff 100%);
  padding: 28px 0;
  border-bottom: 1px solid #e3eedb;
}
.quick-stats-strip strong {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  color: var(--rma-primary);
  font-weight: 800;
}
.quick-stats-strip span {
  color: #5a6f55;
  font-size: 14px;
}

/* ----- Locality Cards ----- */
.localities .section-title h2,
.coverage .section-title h2 {
  position: relative;
}
.locality-card {
  display: block;
  background: #fff;
  border: 1px solid #eaf2e2;
  border-radius: var(--rma-radius);
  padding: 26px 22px;
  text-decoration: none;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.locality-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--rma-accent), var(--rma-gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.locality-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--rma-shadow-md);
  border-color: var(--rma-accent);
}
.locality-card:hover::before { transform: scaleX(1); }
.locality-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--rma-primary);
}
.locality-card p {
  font-size: 14px;
  color: #5a6f55;
  margin-bottom: 14px;
  line-height: 1.5;
}
.locality-card .locality-rent {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--rma-accent-dark);
  background: rgba(107, 199, 77, 0.12);
  padding: 5px 12px;
  border-radius: 999px;
}

.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rma-accent-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease, gap .2s ease;
}
.btn-link-arrow:hover {
  border-color: var(--rma-accent);
  gap: 12px;
  color: var(--rma-accent-dark);
}

/* ----- CTA Section ----- */
.call-to-action .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 12px;
}
.cta-btn-outline {
  background: transparent !important;
  border: 2px solid var(--rma-primary) !important;
  color: var(--rma-primary) !important;
}
.cta-btn-outline:hover {
  background: var(--rma-primary) !important;
  color: #fff !important;
}

/* ----- FAQ ----- */
.faq-accordion .accordion-item {
  border: 1px solid #e3eedb;
  border-radius: var(--rma-radius) !important;
  margin-bottom: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--rma-shadow-sm);
}
.faq-accordion .accordion-button {
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
  color: var(--rma-primary);
  background: #fff;
  padding: 18px 22px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(107, 199, 77, 0.08);
  color: var(--rma-primary);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(107, 199, 77, 0.18);
  border-color: var(--rma-accent);
}
.faq-accordion .accordion-body {
  padding: 16px 22px 22px;
  color: #4a5e45;
  line-height: 1.65;
}

/* ----- Process Steps ----- */
.process-step {
  background: #fff;
  padding: 28px 22px;
  border-radius: var(--rma-radius);
  height: 100%;
  text-align: center;
  border: 1px solid #eaf2e2;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--rma-shadow-md);
}
.process-step .process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rma-accent), var(--rma-accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(78, 165, 54, 0.28);
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rma-primary);
  margin-bottom: 10px;
}
.process-step p {
  font-size: 14px;
  color: #5a6f55;
  margin: 0;
  line-height: 1.55;
}

/* ----- Coverage Pills ----- */
.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.coverage-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #fff;
  border: 1px solid #d8e8cd;
  color: var(--rma-primary);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.coverage-pill i { color: var(--rma-accent-dark); }
.coverage-pill:hover {
  background: var(--rma-accent);
  border-color: var(--rma-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--rma-shadow-sm);
}
.coverage-pill:hover i { color: #fff; }

/* ----- Page Title sub-line ----- */
.page-title .page-title-sub {
  margin-top: 12px;
  color: #4a5e45;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.6;
}

/* ----- Footer refresh ----- */
#footer .footer-top { padding: 60px 0 30px; }
#footer h4 {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
  color: #f8fef5;
}
#footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--rma-accent);
}
#footer .footer-about .sitename {
  font-family: 'Raleway', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}
#footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-links ul li {
  padding: 6px 0;
  position: relative;
  padding-left: 16px;
}
#footer .footer-links ul li::before {
  content: "›";
  position: absolute;
  left: 0;
  color: var(--rma-accent);
  font-weight: 700;
}
#footer .footer-links a {
  color: rgba(248, 254, 245, 0.82);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, padding-left .2s ease;
}
#footer .footer-links a:hover {
  color: var(--rma-accent);
  padding-left: 4px;
}
#footer .footer-contact p {
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(248, 254, 245, 0.82);
  line-height: 1.5;
}
#footer .footer-contact a {
  color: rgba(248, 254, 245, 0.92);
  text-decoration: none;
}
#footer .footer-contact a:hover { color: var(--rma-accent); }
#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  margin-right: 8px;
  transition: all .25s ease;
}
#footer .social-links a:hover {
  background: var(--rma-accent);
  color: #fff;
  transform: translateY(-3px);
}
#footer .copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  margin-top: 30px !important;
  color: rgba(248, 254, 245, 0.7);
  font-size: 14px;
}
#footer .copyright .credits {
  margin-top: 6px;
  font-size: 13px;
  color: rgba(248, 254, 245, 0.55);
}

/* ----- Responsive tweaks ----- */
@media (max-width: 768px) {
  #hero { padding: 70px 0 60px; }
  #hero h1 { font-size: 2rem; }
  .hero-search { padding: 10px; }
  .hero-search-field,
  .hero-search-btn { flex: 1 1 100%; }
  .hero-trust { gap: 14px; font-size: 13px; }
  .hero-cta-row .btn-get-started,
  .hero-cta-row .btn-secondary-cta { width: 100%; justify-content: center; }
  .quick-stats-strip strong { font-size: 1.5rem; }
  .btn-call-now { display: none !important; }
  .topbar { display: none !important; }
}

@media (max-width: 1199px) {
  .btn-call-now { margin-right: 50px; }
}

/* ==========================================================================
   Section title yellow accent (logo flavor)
   ========================================================================== */
.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 70px;
  height: 4px;
  background: var(--rma-yellow);
  border-radius: 2px;
  transform: translateX(-50%);
}

/* ==========================================================================
   Featured / Sale / Rent badges (logo palette)
   ========================================================================== */
.property-type-badge {
  background: var(--rma-ink) !important;
  color: #fff !important;
}
.property-listing-badge.badge-rent {
  background-color: var(--rma-accent) !important;
  color: #fff !important;
}
.property-listing-badge.badge-sale {
  background-color: var(--rma-ink) !important;
  color: var(--rma-yellow) !important;
}
.property-card .badge.bg-warning,
.bg-warning {
  background-color: var(--rma-yellow) !important;
  color: var(--rma-ink) !important;
}

/* ==========================================================================
   Properties listing page – local SEO intro
   ========================================================================== */
.listing-intro {
  background: linear-gradient(135deg, var(--rma-bg-tint) 0%, #ffffff 100%);
  border-left: 4px solid var(--rma-yellow);
  padding: 24px 28px;
  border-radius: var(--rma-radius);
  margin-bottom: 28px;
  box-shadow: var(--rma-shadow-sm);
}
.listing-intro h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--rma-ink);
  margin-bottom: 10px;
}
.listing-intro p {
  color: var(--rma-muted);
  margin: 0;
  line-height: 1.65;
  font-size: 15px;
}
.listing-intro .quick-locality-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.listing-intro .quick-locality-chips a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #d8e8cd;
  border-radius: 999px;
  color: var(--rma-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.listing-intro .quick-locality-chips a:hover {
  background: var(--rma-accent);
  border-color: var(--rma-accent);
  color: #fff;
}

/* ==========================================================================
   Property detail — About locality + Nearby pills
   ========================================================================== */
.locality-blurb {
  color: var(--rma-muted);
  line-height: 1.7;
  font-size: 15px;
  margin: 0;
  padding-left: 14px;
  border-left: 3px solid var(--rma-yellow);
}
.nearby-localities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nearby-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #d8e8cd;
  border-radius: 999px;
  color: var(--rma-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.nearby-pill i { color: var(--rma-accent-dark); }
.nearby-pill:hover {
  background: var(--rma-accent);
  border-color: var(--rma-accent);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: var(--rma-shadow-sm);
}
.nearby-pill:hover i { color: #ffffff; }
.nearby-pill--all {
  background: var(--rma-ink);
  border-color: var(--rma-ink);
  color: #ffffff;
}
.nearby-pill--all i { color: var(--rma-yellow); }
.nearby-pill--all:hover {
  background: var(--rma-accent-dark);
  border-color: var(--rma-accent-dark);
}

/* ==========================================================================
   Property detail page polish
   ========================================================================== */
.property-price-box {
  background: linear-gradient(135deg, var(--rma-accent) 0%, var(--rma-accent-dark) 100%);
  color: #fff;
  padding: 24px;
  border-radius: var(--rma-radius);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--rma-shadow-sm);
}
.property-price-box::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--rma-yellow);
}
.property-price-box h3 {
  color: #fff;
  font-weight: 800;
  font-size: 2rem;
  margin: 0;
}
.property-price-box p {
  color: rgba(255,255,255,0.9);
  margin: 4px 0 0;
  font-size: 14px;
}
.property-contact-box {
  background: var(--rma-bg-tint);
  border: 1px solid #e3eedb;
  border-radius: var(--rma-radius);
  padding: 22px;
}
.property-contact-box h4 { color: var(--rma-ink); font-weight: 700; }
.property-contact-box .btn-primary {
  background: var(--rma-accent);
  border-color: var(--rma-accent);
  font-weight: 700;
  padding: 10px;
}
.property-contact-box .btn-primary:hover {
  background: var(--rma-accent-dark);
  border-color: var(--rma-accent-dark);
}

/* ==========================================================================
   Branded 404 page
   ========================================================================== */
.error-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--rma-bg-tint) 0%, #ffffff 100%);
  text-align: center;
}
.error-page .error-code {
  font-size: clamp(5rem, 14vw, 9rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--rma-accent) 0%, var(--rma-accent-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.error-page .error-code .yellow-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  background: var(--rma-yellow);
  border-radius: 50%;
  margin: 0 4px;
  transform: translateY(-30%);
  -webkit-background-clip: initial;
  background-clip: initial;
}
.error-page h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--rma-ink);
  margin-bottom: 12px;
}
.error-page p {
  color: var(--rma-muted);
  max-width: 560px;
  margin: 0 auto 24px;
  font-size: 16px;
  line-height: 1.65;
}
.error-page .error-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0;
}
.error-page .error-suggestions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #d8e8cd;
  border-radius: 999px;
  color: var(--rma-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.error-page .error-suggestions a:hover {
  background: var(--rma-accent);
  border-color: var(--rma-accent);
  color: #fff;
}
.error-page .btn-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--rma-accent) 0%, var(--rma-accent-dark) 100%);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--rma-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.error-page .btn-home:hover {
  transform: translateY(-2px);
  box-shadow: var(--rma-shadow-md);
  color: #fff;
}

/* ==========================================================================
   Brand Logo — use the JPG asset as-is
   ========================================================================== */
.header .logo .brand-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

/* Footer logo sits on a dark background and the JPG has a white background.
   Wrap it in a light surface so it doesn't look like a render glitch. */
.footer-logo {
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}
.footer-logo .brand-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

@media (max-width: 575px) {
  .header .logo .brand-logo-img { height: 36px; }
}

/* ==========================================================================
   Floating WhatsApp button — brand-matched, always-visible tooltip
   (overrides main.css)
   ========================================================================== */
.whatsapp-container {
  bottom: 24px;
  right: 24px;
}

.whatsapp-float {
  width: 62px;
  height: 62px;
  background: #25D366;
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.15);
  border: 3px solid #ffffff;
}
.whatsapp-float:hover {
  background: #20BA5A;
  transform: translateY(-3px) scale(1.05);
  box-shadow:
    0 12px 30px rgba(37, 211, 102, 0.55),
    0 4px 10px rgba(0, 0, 0, 0.2);
}
.whatsapp-float i { font-size: 32px; }

/* Tooltip — white card with green left border + ink text. Cleaner than the
   gradient default and aligned with the new Fresh & Friendly palette. */
.whatsapp-tooltip {
  background: #ffffff;
  color: var(--rma-ink);
  border: none;
  border-left: 4px solid #25D366;
  border-radius: 12px;
  padding: 14px 38px 14px 18px;
  width: 280px;
  box-shadow:
    0 10px 30px rgba(26, 46, 20, 0.18),
    0 2px 6px rgba(26, 46, 20, 0.08);
  animation: rmaTooltipIn 0.45s ease-out;
}
.whatsapp-tooltip::before {
  border-left-color: #ffffff;
}
.whatsapp-tooltip .tooltip-text {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--rma-ink);
  line-height: 1.5;
  letter-spacing: 0;
}
.whatsapp-tooltip .tooltip-text strong {
  display: inline-block;
  background: var(--rma-yellow);
  color: var(--rma-ink);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 800;
  margin-right: 4px;
}
.whatsapp-tooltip .tooltip-close {
  background: var(--rma-bg-tint);
  color: var(--rma-muted);
  width: 22px;
  height: 22px;
  font-size: 16px;
  top: 8px;
  right: 8px;
}
.whatsapp-tooltip .tooltip-close:hover {
  background: var(--rma-accent);
  color: #ffffff;
}

@keyframes rmaTooltipIn {
  from { opacity: 0; transform: translateY(-50%) translateX(12px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

@media (max-width: 768px) {
  .whatsapp-container { bottom: 18px; right: 18px; }
  .whatsapp-float { width: 56px; height: 56px; border-width: 2px; }
  .whatsapp-float i { font-size: 28px; }
  .whatsapp-tooltip { width: 220px; padding: 10px 32px 10px 14px; }
  .whatsapp-tooltip .tooltip-text { font-size: 12.5px; }
}

