/*
 * Rivera Realty brand styles (public as of v1.2.0).
 * Applied when html has class rr-marca (the plugin adds it for every front-end page).
 * Never touches the logo image, photos, or any <img>.
 * Fonts: Fraunces 600 headings, Outfit 400/600 body + buttons (loaded with display=swap).
 * Colors: green #2C6B4D, deep #0B1C14, mid #24553F, gold #FBB424 (CTAs only),
 *         ivory #FBF9F6, sand #F5F1EA, ink #14251D.
 */
html.rr-marca {
	--rr-green: #2C6B4D;
	--rr-deep: #0B1C14;
	--rr-mid: #24553F;
	--rr-gold: #FBB424;
	--rr-ivory: #FBF9F6;
	--rr-sand: #F5F1EA;
	--rr-ink: #14251D;
}

/* ---------- Base: body, fonts, colors ---------- */
html.rr-marca body {
	background-color: var(--rr-ivory);
	color: var(--rr-ink);
	font-family: 'Outfit', sans-serif;
	font-weight: 400;
}
html.rr-marca body :where(p, li, a, span, div, label, input, button, select, textarea, td, th, small, strong, b, em, address, dt, dd, figcaption):not([class*="fa"]):not([class*="icofont"]):not([class*="eicon"]):not([class*="icon"]):not([class*="mapbox"]):not([class*="gm-"]) {
	font-family: 'Outfit', sans-serif;
}
html.rr-marca body :where(strong, b) { font-weight: 600; }
html.rr-marca body :where(h1, h2, h3, h4, h5, h6),
html.rr-marca .elementor-heading-title,
html.rr-marca .widget-title,
html.rr-marca .sina-banner-subtitle,
html.rr-marca .elementor-widget-heading .elementor-heading-title,
html.rr-marca .elementor-counter-number-wrapper,
html.rr-marca .elementor-icon-box-title,
html.rr-marca .elementor-image-box-title {
	font-family: 'Fraunces', serif !important;
	font-weight: 600 !important;
	letter-spacing: 0;
}

/* Default heading + text color: ink green. Low specificity on purpose, so
   per-element light text on dark photos (set by Elementor) keeps winning. */
html.rr-marca :where(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .entry-title, .page-title) { color: var(--rr-ink); }

/* ---------- Links ---------- */
html.rr-marca a { color: var(--rr-green); }
html.rr-marca a:hover, html.rr-marca a:focus { color: var(--rr-mid); }

/* ---------- Top bar + header ---------- */
html.rr-marca .top-header,
html.rr-marca .top-header a,
html.rr-marca .top-header .header-contact li { font-family: 'Outfit', sans-serif; }
html.rr-marca .main-navigation a,
html.rr-marca .main-navigation li a {
	font-family: 'Outfit', sans-serif !important;
	font-weight: 600;
	color: var(--rr-green) !important;
}
html.rr-marca .main-navigation a:hover,
html.rr-marca .main-navigation .current-menu-item > a,
html.rr-marca .main-navigation .current_page_item > a {
	color: var(--rr-deep) !important;
}
html.rr-marca .site-header .social-profile a,
html.rr-marca .site-header .header-search-wrap button { color: var(--rr-green); }

/* Header: soft ivory band so the menu stays readable over the hero photo */
html.rr-marca .site-header .bottom-header,
html.rr-marca .site-header.header-two .bottom-header.fixed-header {
	background-color: rgba(251, 249, 246, .94) !important;
}
html.rr-marca .site-header .top-header { background-color: rgba(251, 249, 246, .94) !important; color: var(--rr-ink); }
html.rr-marca .site-header .top-header a,
html.rr-marca .site-header .top-header li { color: var(--rr-ink); }
html.rr-marca .site-header .top-header i { color: var(--rr-green); }

/* ---------- Hero slider ---------- */
html.rr-marca .sina-slider-content { position: relative; }
html.rr-marca .sina-slider-content::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(11, 28, 20, .45) 0%, rgba(11, 28, 20, .38) 100%);
}
html.rr-marca .sina-banner-container { position: relative; z-index: 1; }
html.rr-marca .sina-banner-title {
	font-family: 'Outfit', sans-serif !important;
	font-weight: 600 !important;
	color: var(--rr-ivory) !important;
	text-shadow: 0 2px 10px rgba(11, 28, 20, .65);
}
html.rr-marca .sina-banner-subtitle {
	color: #fff !important;
	text-shadow: 0 2px 14px rgba(11, 28, 20, .7);
}
html.rr-marca .sina-banner-desc {
	color: var(--rr-ivory) !important;
	font-weight: 600;
	text-shadow: 0 2px 10px rgba(11, 28, 20, .65);
}

/* ---------- Gold -> green for non-CTA accents ---------- */
html.rr-marca .elementor-icon,
html.rr-marca .elementor-icon i,
html.rr-marca .elementor-icon svg,
html.rr-marca .elementor-widget-icon-box i,
html.rr-marca .elementor-widget-icon-list i,
html.rr-marca .sina-counter i,
html.rr-marca .elementor-widget i.fas,
html.rr-marca .elementor-widget i.far,
html.rr-marca .elementor-widget i.fab,
html.rr-marca .elementor-widget i.fa,
html.rr-marca .elementor-widget i.icofont {
	color: var(--rr-green) !important;
	fill: var(--rr-green) !important;
}
html.rr-marca .elementor-icon svg path { fill: var(--rr-green) !important; }
/* Eyebrow labels that were gold (ids from the live Elementor page) */
html.rr-marca .elementor-element-d3a47c3 .elementor-heading-title,
html.rr-marca .elementor-element-dfa6685 .elementor-heading-title,
html.rr-marca .elementor-element-67f671d .elementor-heading-title { color: var(--rr-green) !important; }
html.rr-marca .elementor-element-295b855 .elementor-heading-title { color: var(--rr-ivory) !important; }

/* Gold overlay cards (01/02/03) -> deep green translucent, text stays light */
html.rr-marca .elementor-element-6e94e49 > .elementor-element-populated,
html.rr-marca .elementor-element-449a3e3 > .elementor-element-populated,
html.rr-marca .elementor-element-7de6210 > .elementor-element-populated,
html.rr-marca .elementor-element-46368d7 > .elementor-element-populated,
html.rr-marca .elementor-element-6e94e49 > .elementor-widget-wrap,
html.rr-marca .elementor-element-449a3e3 > .elementor-widget-wrap,
html.rr-marca .elementor-element-7de6210 > .elementor-widget-wrap,
html.rr-marca .elementor-element-46368d7 > .elementor-widget-wrap {
	background-color: rgba(11, 28, 20, .82) !important;
}
html.rr-marca .elementor-widget-wrap.elementor-element-populated { border-top-color: var(--rr-green) !important; }
html.rr-marca .elementor-element-46368d7 .elementor-heading-title,
html.rr-marca .elementor-element-46368d7 .elementor-icon-box-title,
html.rr-marca .elementor-element-46368d7 .elementor-icon-box-description,
html.rr-marca .elementor-element-46368d7 p { color: var(--rr-ivory) !important; }
html.rr-marca .elementor-element-46368d7 .elementor-widget i,
html.rr-marca .elementor-element-46368d7 .elementor-widget .elementor-icon,
html.rr-marca .elementor-element-46368d7 .elementor-widget svg,
html.rr-marca .elementor-element-46368d7 .elementor-widget svg path { color: var(--rr-gold) !important; fill: var(--rr-gold) !important; }
html.rr-marca .sina-team-overlay,
html.rr-marca .sina-overlay { background-color: rgba(11, 28, 20, .72) !important; }

/* Carousel nav + dots: green */
html.rr-marca .owl-prev,
html.rr-marca .owl-next,
html.rr-marca button.owl-dot { background-color: var(--rr-green) !important; border-color: var(--rr-green) !important; color: #fff !important; }
html.rr-marca button.owl-dot.active { background-color: var(--rr-deep) !important; border-color: var(--rr-deep) !important; }

/* ---------- Buttons / CTAs: gold, rounded, Outfit 600 ---------- */
html.rr-marca .elementor-button,
html.rr-marca .sina-dynamic-btn,
html.rr-marca .sina-video-play,
html.rr-marca .wpcf7-submit,
html.rr-marca input[type="submit"],
html.rr-marca button[type="submit"]:not(.search-button):not(.search-icon),
html.rr-marca .btn,
html.rr-marca .button,
html.rr-marca .bosa-btn,
html.rr-marca a.more-link,
html.rr-marca .search-submit {
	font-family: 'Outfit', sans-serif !important;
	font-weight: 600 !important;
	background-color: var(--rr-gold) !important;
	border-color: var(--rr-gold) !important;
	color: var(--rr-deep) !important;
	border-radius: 999px !important;
	text-shadow: none !important;
	box-shadow: 0 2px 8px rgba(11, 28, 20, .14);
	transition: background-color .2s, transform .2s;
}
html.rr-marca .elementor-button:hover,
html.rr-marca .sina-dynamic-btn:hover,
html.rr-marca .wpcf7-submit:hover,
html.rr-marca input[type="submit"]:hover,
html.rr-marca .btn:hover,
html.rr-marca .button:hover {
	background-color: #e9a312 !important;
	border-color: #e9a312 !important;
	color: var(--rr-deep) !important;
}
html.rr-marca .elementor-button .elementor-button-text,
html.rr-marca .sina-dynamic-btn span { color: var(--rr-deep) !important; }
html.rr-marca .sina-video-play { color: var(--rr-deep) !important; }
html.rr-marca .sina-video-play i { color: var(--rr-deep) !important; }

/* Form fields */
html.rr-marca input[type="text"],
html.rr-marca input[type="email"],
html.rr-marca input[type="tel"],
html.rr-marca input[type="search"],
html.rr-marca textarea,
html.rr-marca select {
	color: var(--rr-ink);
	border-color: #cfd8d2;
	border-radius: 12px;
	background-color: #fff;
}
html.rr-marca input:focus,
html.rr-marca textarea:focus,
html.rr-marca select:focus {
	outline: 2px solid var(--rr-green);
	outline-offset: 1px;
	border-color: var(--rr-green);
}

/* ---------- Light grey bands -> sand ---------- */
html.rr-marca .elementor-section.elementor-top-section,
html.rr-marca .elementor-inner-section { background-color: transparent; }
html.rr-marca .elementor-inner-section[data-settings*="background_background"],
html.rr-marca .elementor-column[data-settings*="background_background"]:not([data-settings*="animation"]) { background-color: var(--rr-sand) !important; }

/* ---------- Footer: deep green, ivory text ---------- */
html.rr-marca .site-footer,
html.rr-marca .site-footer .site-footer-inner,
html.rr-marca .site-footer .top-footer,
html.rr-marca .site-footer .bottom-footer { background-color: var(--rr-deep) !important; }
html.rr-marca .site-footer,
html.rr-marca .site-footer p,
html.rr-marca .site-footer li,
html.rr-marca .site-footer div { color: #e8eee9; }
html.rr-marca .site-footer a { color: var(--rr-ivory); }
html.rr-marca .site-footer a:hover { color: var(--rr-gold); }
html.rr-marca .site-footer .widget-title { color: var(--rr-ivory) !important; }
html.rr-marca .site-footer .social-profile a { background-color: var(--rr-mid); color: var(--rr-ivory); }

/* ---------- Mobile menu ---------- */
html.rr-marca .slicknav_menu,
html.rr-marca .mobile-menu-container,
html.rr-marca .offcanvas-menu a { font-family: 'Outfit', sans-serif; }

/* ---------- IDX search page (Showcase IDX): brand greens + gold CTAs ---------- */
html.rr-marca [class*="idx"] button[class*="primary"],
html.rr-marca [class*="showcase"] button[class*="primary"] {
	background-color: var(--rr-green);
	border-radius: 999px;
}

/* IDX map price pins: white text needs a darker green for contrast (was 2.1:1) */
html.rr-marca .sidx-map-listing[class*="sidx-map-marker"] { background-color: var(--rr-green) !important; color: #fff !important; }
html.rr-marca .sidx-map-listing[class*="sidx-map-marker"]::after,
html.rr-marca .sidx-map-listing[class*="sidx-map-marker"]::before { border-top-color: var(--rr-green) !important; border-color: var(--rr-green) transparent transparent transparent; }
