/*
Theme Name: Consultio Child - Rejal Al Omran
Theme URI: https://rejalalomran.com/
Description: Child theme for Rejal Al-Omran brand header and footer.
Author: Marslia
Author URI: https://mrslia.com
Template: consultio
Version: 1.1.0
Text Domain: consultio-child
*/

:root {
  --ro-gold: #b1892c;
  --ro-gold-light: #d4ab4a;
  --ro-gold-dark: #8a6a1e;
  --ro-black: #0e0e0e;
  --ro-ink: #1a1a1a;
  --ro-muted: #6b6b6b;
  --ro-line: rgba(177, 137, 44, 0.28);
  --ro-header-h: 92px;
}

/* ── Header brand strip ── */
.ro-header-topbar {
  background: linear-gradient(90deg, var(--ro-black) 0%, #1c1a14 55%, var(--ro-black) 100%);
  color: #f5f0e6;
  font-size: 13px;
  line-height: 1.4;
  border-bottom: 1px solid var(--ro-line);
}

.ro-header-topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.ro-header-topbar__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ro-header-topbar__meta a {
  color: #f5f0e6;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease;
}

.ro-header-topbar__meta a:hover {
  color: var(--ro-gold-light);
}

.ro-header-topbar__meta i {
  color: var(--ro-gold);
  font-size: 14px;
}

.ro-header-topbar__tag {
  color: var(--ro-gold-light);
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ── Main header ── */
#ct-header-wrap.ct-header-layout19.ro-brand-header {
  background: #fff;
  box-shadow: 0 8px 28px rgba(14, 14, 14, 0.06);
}

#ct-header-wrap.ct-header-layout19.ro-brand-header #ct-header {
  border-bottom: 2px solid var(--ro-gold);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-header-branding-inner a img,
#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-header-branding img {
  max-height: 72px !important;
  width: auto !important;
  object-fit: contain;
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li > a {
  font-weight: 600;
  color: var(--ro-ink);
  position: relative;
  padding-inline: 12px;
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li > a span {
  position: relative;
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li > a span::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: -8px;
  height: 2px;
  background: var(--ro-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li:hover > a,
#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li.current-menu-item > a,
#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li.current_page_item > a {
  color: var(--ro-gold-dark);
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li:hover > a span::after,
#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li.current-menu-item > a span::after,
#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-menu > li.current_page_item > a span::after {
  transform: scaleX(1);
}

.ro-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ro-gold) 0%, var(--ro-gold-dark) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(177, 137, 44, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
}

.ro-header-cta:hover {
  color: #fff !important;
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px rgba(177, 137, 44, 0.35);
}

.ro-header-cta i {
  font-size: 15px;
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .h-btn-search {
  color: var(--ro-ink);
  transition: color 0.2s ease;
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .h-btn-search:hover {
  color: var(--ro-gold);
}

#ct-header-wrap.ct-header-layout19.ro-brand-header #ct-menu-mobile .btn-nav-mobile span,
#ct-header-wrap.ct-header-layout19.ro-brand-header #ct-menu-mobile .btn-nav-mobile span:before,
#ct-header-wrap.ct-header-layout19.ro-brand-header #ct-menu-mobile .btn-nav-mobile span:after {
  background: var(--ro-black);
}

#ct-header-wrap.ct-header-layout19.ro-brand-header .ct-main-navigation-inner {
  border-top: 3px solid var(--ro-gold);
}

@media (max-width: 991px) {
  .ro-header-topbar__tag {
    display: none;
  }

  .ro-header-cta {
    display: none;
  }

  #ct-header-wrap.ct-header-layout19.ro-brand-header .ct-header-branding-inner a img {
    max-height: 56px !important;
  }
}

/* ── Footer brand refresh ── */
#colophon.site-footer-custom,
.site-footer-custom .elementor-2699 {
  background: var(--ro-black);
  color: #ece7db;
}

.site-footer-custom .elementor-2699 .elementor-section.elementor-top-section {
  background: linear-gradient(180deg, #14120e 0%, var(--ro-black) 100%) !important;
  padding-top: 56px !important;
  padding-bottom: 28px !important;
  border-top: 3px solid var(--ro-gold);
}

.site-footer-custom .elementor-2699 .elementor-widget-image img {
  max-width: 180px !important;
  height: auto !important;
  filter: drop-shadow(0 8px 18px rgba(177, 137, 44, 0.18));
}

.site-footer-custom .elementor-2699 .ct-title1 h3,
.site-footer-custom .elementor-2699 .ct-title1 h3 span,
.site-footer-custom .elementor-2699 h2,
.site-footer-custom .elementor-2699 h3 {
  color: #fff !important;
  font-weight: 700 !important;
}

.site-footer-custom .elementor-2699 .ct-title1 h3 i,
.site-footer-custom .elementor-2699 .ct-title1.style1 h3::after {
  background: var(--ro-gold) !important;
  color: var(--ro-gold) !important;
}

.site-footer-custom .elementor-2699 .ct-navigation-menu1 a,
.site-footer-custom .elementor-2699 a {
  color: #e8e2d4 !important;
  transition: color 0.2s ease;
}

.site-footer-custom .elementor-2699 .ct-navigation-menu1 a:hover,
.site-footer-custom .elementor-2699 a:hover {
  color: var(--ro-gold-light) !important;
}

.site-footer-custom .elementor-2699 .elementor-widget-text-editor,
.site-footer-custom .elementor-2699 .elementor-widget-text-editor p {
  color: #cfc7b6 !important;
}

.site-footer-custom .elementor-2699 .elementor-widget-google_maps,
.site-footer-custom .elementor-2699 iframe {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.ro-footer-bottom {
  background: #090909;
  border-top: 1px solid rgba(177, 137, 44, 0.22);
  color: #bdb5a5;
  font-size: 13px;
  padding: 16px 0;
  text-align: center;
}

.ro-footer-bottom a {
  color: var(--ro-gold-light);
  text-decoration: none;
  font-weight: 600;
}

.ro-footer-bottom a:hover {
  color: #fff;
}

.scroll-top {
  background: var(--ro-gold) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(177, 137, 44, 0.35);
}

.scroll-top:hover {
  background: var(--ro-gold-dark) !important;
}
