/*
 * RealBroks landing — visual redesign layer (UI only).
 * Loaded last on templates/index.html. Pure presentation: no markup, ids, data-lang
 * hooks or JS behaviour are changed. Remove this file + landing-redesign.js to revert.
 */

:root {
  --rd-ink: #0b1f18;
  --rd-ink-soft: #3d5a50;
  --rd-muted: #5f7a70;
  --rd-brand: #19a66c;
  --rd-brand-deep: #0f6b46;
  --rd-brand-glow: rgba(25, 166, 108, 0.28);
  --rd-mist: #f4faf7;
  --rd-line: rgba(11, 31, 24, 0.08);
  --rd-card: #ffffff;
  --rd-radius: 22px;
  --rd-radius-sm: 14px;
  --rd-shadow-sm: 0 1px 2px rgba(11, 31, 24, 0.05), 0 4px 14px rgba(11, 31, 24, 0.05);
  --rd-shadow-md: 0 2px 4px rgba(11, 31, 24, 0.04), 0 14px 38px rgba(11, 31, 24, 0.09);
  --rd-shadow-lg: 0 4px 8px rgba(11, 31, 24, 0.05), 0 28px 64px rgba(15, 107, 70, 0.16);
  --rd-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--rd-mist);
  color: var(--rd-ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .section-title, .lp-hero__title, .lp-pricing__title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: -0.025em;
  color: var(--rd-ink);
}

/* ---------- Navigation: floating pill (JS swaps the logo on .scrolled, so keep both states) ---------- */
.navbar,
.navbar.scrolled {
  top: 12px;
  left: 50%;
  right: auto;
  width: min(1180px, calc(100% - 24px));
  transform: translateX(-50%);
  border-radius: 999px;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: var(--rd-shadow-md);
}

.navbar {
  background: linear-gradient(135deg, rgba(11, 59, 42, 0.92), rgba(15, 107, 70, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.navbar .container { height: 60px; padding: 0 14px; }
.navbar-brand { margin-left: 8px; }
.navbar-login.btn { border-radius: 999px !important; padding: 0.5rem 1.2rem !important; }

/* ---------- Hero ---------- */
.lp-hero {
  background:
    radial-gradient(60% 55% at 12% 8%, rgba(25, 166, 108, 0.16), transparent 65%),
    radial-gradient(50% 50% at 92% 18%, rgba(16, 185, 129, 0.12), transparent 60%),
    linear-gradient(180deg, #f7fcf9 0%, var(--rd-mist) 100%);
}

.lp-hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  font-weight: 800;
}

.lp-hero__subtitle {
  color: var(--rd-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.65;
}

.lp-hero__badge {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--rd-line);
  box-shadow: var(--rd-shadow-sm);
  border-radius: 999px;
}

.lp-gradient-text {
  background: linear-gradient(120deg, #0f6b46 0%, #19a66c 55%, #34d399 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.lp-btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.95rem 1.7rem;
  transition: transform 0.3s var(--rd-ease), box-shadow 0.3s var(--rd-ease), background 0.3s ease;
}
.lp-btn--primary {
  background: linear-gradient(135deg, #0f6b46, #19a66c);
  box-shadow: 0 10px 28px var(--rd-brand-glow);
}
.lp-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px var(--rd-brand-glow); }
.lp-btn--secondary {
  background: #fff;
  border: 1px solid var(--rd-line);
  box-shadow: var(--rd-shadow-sm);
}
.lp-btn--secondary:hover { transform: translateY(-3px); box-shadow: var(--rd-shadow-md); }

/* ---------- Section rhythm + headers ---------- */
.section,
.languages-section,
.feature-section,
.partners-section {
  padding-top: clamp(56px, 8vw, 104px) !important;
  padding-bottom: clamp(56px, 8vw, 104px) !important;
}

#services.section { padding-top: clamp(56px, 8vw, 96px) !important; }

.section-header { margin-bottom: clamp(32px, 5vw, 56px); }

.section-label,
.lp-pricing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(25, 166, 108, 0.1);
  border: 1px solid rgba(25, 166, 108, 0.22);
  color: var(--rd-brand-deep);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title,
.lp-pricing__title {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.12;
  font-weight: 800;
}

.section-description,
.lp-pricing__subtitle {
  color: var(--rd-muted);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

.about-gradient {
  background:
    radial-gradient(55% 80% at 50% 0%, rgba(25, 166, 108, 0.1), transparent 70%),
    #fff;
}

/* ---------- Cards ---------- */
.card,
#services .card {
  background: var(--rd-card) !important;
  border: 1px solid var(--rd-line) !important;
  border-top: 1px solid var(--rd-line) !important;
  border-radius: var(--rd-radius) !important;
  padding: 26px !important;
  box-shadow: var(--rd-shadow-sm) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transition: transform 0.45s var(--rd-ease), box-shadow 0.45s var(--rd-ease), border-color 0.3s ease !important;
}

.card::before {
  height: 100%;
  width: 100%;
  inset: 0;
  background: radial-gradient(120% 90% at 0% 0%, rgba(25, 166, 108, 0.1), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.card:hover::before { width: 100%; opacity: 1; }

.card:hover,
#services .card:hover {
  transform: translateY(-8px) !important;
  box-shadow: var(--rd-shadow-lg) !important;
  border-color: rgba(25, 166, 108, 0.35) !important;
}

.card h3 { color: var(--rd-ink); font-weight: 700; letter-spacing: -0.015em; }
.card p, .feature-list li { color: var(--rd-ink-soft); }

.card-icon__badge {
  border-radius: 16px !important;
  background: linear-gradient(135deg, rgba(25, 166, 108, 0.16), rgba(52, 211, 153, 0.1)) !important;
  box-shadow: inset 0 0 0 1px rgba(25, 166, 108, 0.22) !important;
}

.card-grid { gap: clamp(16px, 2vw, 26px); }

/* ---------- Languages ---------- */
.languages-section { background: #fff; }
.language-pill {
  border-radius: 999px;
  border: 1px solid var(--rd-line);
  background: var(--rd-mist);
  box-shadow: var(--rd-shadow-sm);
}
.language-pill:hover { box-shadow: var(--rd-shadow-md); border-color: rgba(25, 166, 108, 0.4); }

/* ---------- "Start now" panel (#menu) ---------- */
#menu { background: linear-gradient(180deg, var(--rd-mist), #eaf7f0) !important; padding: clamp(40px, 6vw, 80px) 0 !important; }
#menu .cta-reveal {
  border-radius: 28px !important;
  border: 1px solid rgba(25, 166, 108, 0.18);
  box-shadow: var(--rd-shadow-lg) !important;
}

/* ---------- Store badges (square SVGs: scale up + crop to the badge) ---------- */
#menu a img[alt="App Store"],
#menu a img[alt="Play Store"] {
  width: 190px;
  height: 64px;
  object-fit: cover;
}

/* ---------- How it works / partners ---------- */
.feature-section { background: #fff; }
.partners-section { background: var(--rd-mist); }
.partner-item {
  border-radius: var(--rd-radius-sm);
  border: 1px solid var(--rd-line);
  background: #fff;
  box-shadow: var(--rd-shadow-sm);
}

/* ---------- Pricing polish ---------- */
.lp-pricing__notice { border-radius: var(--rd-radius-sm); }
.lp-pricing__grid > * { border-radius: var(--rd-radius) !important; }

/* ---------- Final CTA + footer ---------- */
.cta-section {
  background:
    radial-gradient(60% 90% at 85% 0%, rgba(52, 211, 153, 0.25), transparent 65%),
    linear-gradient(135deg, #0b3b2a 0%, #0f6b46 100%);
}
.cta-section h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }

.realbroks-footer {
  background: var(--rd-ink);
  border-top: 0;
  margin-top: 0;
}

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .lp-btn { transition: none !important; }
}

@media (max-width: 900px) {
  .navbar, .navbar.scrolled { top: 8px; border-radius: 22px; }
  .card, #services .card { padding: 20px !important; }
}

/* ---------- Between-section motion elements (created by landing-redesign.js) ---------- */
.rd-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, #0f6b46, #19a66c, #34d399);
  pointer-events: none;
}

.rd-band {
  overflow: hidden;
  padding: 18px 0;
  background: var(--rd-ink);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rd-band__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 28px;
  white-space: nowrap;
  will-change: transform;
}

.rd-band__track span {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.rd-band__track span:nth-of-type(even) {
  color: transparent;
  -webkit-text-stroke: 1px rgba(52, 211, 153, 0.85);
}

.rd-band__track i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #19a66c;
  flex: none;
}

/* ---------- Pricing effects ---------- */
.lp-plan.rd-plan-fx { transform-style: preserve-3d; will-change: transform; }

.lp-plan.rd-plan-fx::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px circle at var(--rd-mx, 50%) var(--rd-my, 0%), rgba(255, 255, 255, 0.75), transparent 60%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.lp-plan.rd-plan-fx:hover::after { opacity: 1; }

.lp-plan--popular {
  animation: rd-pop-glow 3.2s ease-in-out infinite;
}
@keyframes rd-pop-glow {
  0%, 100% { box-shadow: 0 10px 24px rgba(14, 56, 175, 0.1); }
  50% { box-shadow: 0 14px 40px rgba(14, 56, 175, 0.26); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-plan--popular { animation: none; }
}

/* ---------- Pricing: mobile swipe carousel ---------- */
.rd-dots { display: none; }

@media (max-width: 767px) {
  /* Room for the "Most popular" badge, card shadows and edge padding (the scroller clips overflow). */
  .lp-pricing__grid {
    padding: 24px 16px 26px !important;
    margin-inline: -16px !important;
    scroll-padding-inline: 16px !important;
    gap: 14px !important;
    scrollbar-width: none;
  }
  .lp-pricing__grid::-webkit-scrollbar { display: none; }

  .lp-pricing__grid > .lp-plan {
    flex: 0 0 min(80vw, 300px) !important;
    scroll-snap-stop: always;
    scale: 0.95;
    opacity: 0.8;
    transition: scale 0.35s var(--rd-ease), opacity 0.35s ease, box-shadow 0.35s ease;
  }
  .lp-pricing__grid > .lp-plan.is-active {
    scale: 1;
    opacity: 1;
    box-shadow: var(--rd-shadow-lg);
  }

  .rd-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: -6px 0 18px;
  }
  .rd-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(11, 31, 24, 0.18);
    transition: width 0.3s var(--rd-ease), background 0.3s ease;
  }
  .rd-dots button.is-on { width: 26px; background: var(--rd-brand); }

  /* No hover/tilt on touch; keep the glow pulse subtle. */
  .lp-plan--popular { animation-duration: 4s; }
}

@media (prefers-reduced-motion: reduce) {
  .lp-pricing__grid > .lp-plan { transition: none; }
}

/* Pricing section background: match the page instead of the old warm cream. */
.lp-pricing { background: var(--rd-mist); }

/* =====================================================================
   Without / With RealBroks comparison (React-rendered; CSS-only restyle)
   ===================================================================== */
#how-it-works.lp-showcase {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
  background:
    radial-gradient(50% 60% at 18% 30%, rgba(192, 57, 43, 0.07), transparent 70%),
    radial-gradient(50% 60% at 84% 60%, rgba(25, 166, 108, 0.12), transparent 70%),
    var(--rd-mist);
}

#comparison-showcase-root .rb-compare { max-width: 1060px; }

#comparison-showcase-root .rb-compare .rb-compare__header { margin-bottom: clamp(28px, 4vw, 48px); }
#comparison-showcase-root .rb-compare .rb-compare__title {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
#comparison-showcase-root .rb-compare .rb-compare__title-without { text-decoration: line-through; text-decoration-thickness: 3px; text-decoration-color: rgba(192, 57, 43, 0.45); }
#comparison-showcase-root .rb-compare .rb-compare__title-sep { font-weight: 300; margin: 0 0.5rem; }

/* Two panels with a VS badge between them */
#comparison-showcase-root .rb-compare .rb-compare__grid {
  position: relative;
  gap: clamp(18px, 3vw, 40px);
}
#comparison-showcase-root .rb-compare .rb-compare__grid::after {
  content: "VS";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--rd-ink);
  color: #fff;
  font: 800 0.8rem 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: 0.06em;
  box-shadow: 0 0 0 6px var(--rd-mist), 0 10px 24px rgba(11, 31, 24, 0.3);
}

#comparison-showcase-root .rb-compare .rb-compare__col {
  border-radius: 26px;
  padding: clamp(20px, 2.6vw, 30px);
  position: relative;
}

/* Without: messy, muted, dashed */
#comparison-showcase-root .rb-compare .rb-compare__col--without {
  background: linear-gradient(165deg, #fff6f4 0%, #fbe9e6 100%);
  border: 2px dashed rgba(192, 57, 43, 0.35);
  box-shadow: 0 1px 2px rgba(192, 57, 43, 0.05), 0 18px 40px rgba(192, 57, 43, 0.08);
}
#comparison-showcase-root .rb-compare .rb-compare__col--without .rb-compare__pains { gap: 14px; }
#comparison-showcase-root .rb-compare .rb-compare__pain {
  background: #fff;
  border: 1px solid rgba(192, 57, 43, 0.22);
  border-left: 4px solid var(--rb-red);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.1);
  rotate: -0.7deg;
}
#comparison-showcase-root .rb-compare .rb-compare__pain:nth-child(even) { rotate: 0.8deg; }
#comparison-showcase-root .rb-compare .rb-compare__pain-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.1);
}
#comparison-showcase-root .rb-compare .rb-compare__pain-copy strong { font-size: 1rem; }

/* With: clean, bright, gradient ring + glow */
#comparison-showcase-root .rb-compare .rb-compare__col--with {
  border: 2px solid transparent;
  background:
    linear-gradient(180deg, #ffffff 0%, #f1fbf5 100%) padding-box,
    linear-gradient(135deg, #0f6b46, #19a66c 50%, #34d399) border-box;
  box-shadow: 0 2px 4px rgba(15, 107, 70, 0.06), 0 28px 60px rgba(25, 166, 108, 0.22);
}
#comparison-showcase-root .rb-compare .rb-compare__col-title { font-size: 1.15rem; letter-spacing: -0.01em; }
#comparison-showcase-root .rb-compare .rb-compare__col-sub { font-size: 0.95rem; }
#comparison-showcase-root .rb-compare .rb-compare__col--without .rb-compare__col-title::before,
#comparison-showcase-root .rb-compare .rb-compare__col--with .rb-compare__col-title::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: 1px;
}
#comparison-showcase-root .rb-compare .rb-compare__col--without .rb-compare__col-title::before { background: var(--rb-red); box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.18); }
#comparison-showcase-root .rb-compare .rb-compare__col--with .rb-compare__col-title::before { background: #19a66c; box-shadow: 0 0 0 4px rgba(25, 166, 108, 0.2); }

/* Demo flow: cards joined by a dashed connector */
#comparison-showcase-root .rb-compare .rb-compare__demo { position: relative; gap: 14px; }
#comparison-showcase-root .rb-compare .rb-compare__demo::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 28px;
  bottom: 28px;
  border-left: 2px dashed rgba(25, 166, 108, 0.35);
  pointer-events: none;
}
#comparison-showcase-root .rb-compare .rb-compare__property,
#comparison-showcase-root .rb-compare .rb-compare__buyer {
  position: relative;
  background: #fff;
  border: 1px solid rgba(25, 166, 108, 0.25);
  border-radius: 16px;
  padding: 14px 16px 14px 46px;
  box-shadow: 0 8px 22px rgba(15, 107, 70, 0.1);
}
#comparison-showcase-root .rb-compare .rb-compare__property::before,
#comparison-showcase-root .rb-compare .rb-compare__buyer::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: #19a66c;
  box-shadow: 0 0 0 4px #e8f7ee;
}
#comparison-showcase-root .rb-compare .rb-compare__step-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0f6b46;
  padding-left: 46px;
}
#comparison-showcase-root .rb-compare .rb-compare__step--2 { padding-left: 46px; }
#comparison-showcase-root .rb-compare .rb-compare__match {
  background: linear-gradient(135deg, #0f6b46, #19a66c);
  padding: 8px 16px;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px rgba(25, 166, 108, 0.4);
}
#comparison-showcase-root .rb-compare .rb-compare__share {
  background: linear-gradient(135deg, #0f6b46, #19a66c);
  border: 0;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 0.98rem;
  box-shadow: 0 12px 28px rgba(25, 166, 108, 0.4);
}

#comparison-showcase-root .rb-compare .rb-compare__caption {
  display: table;
  margin: clamp(22px, 3vw, 34px) auto 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(25, 166, 108, 0.28);
  box-shadow: var(--rd-shadow-sm);
  font-size: 0.92rem;
  color: #0f6b46;
}

@media (max-width: 767px) {
  #comparison-showcase-root .rb-compare .rb-compare__grid::after { display: none; }
  #comparison-showcase-root .rb-compare .rb-compare__pain { rotate: 0deg; }
  #comparison-showcase-root .rb-compare .rb-compare__pain:nth-child(even) { rotate: 0deg; }
}

/* =====================================================================
   Footer
   ===================================================================== */
footer.realbroks-footer {
  position: relative;
  padding: clamp(40px, 5vw, 64px) 0 0;
  margin-top: 0;
  border-top: 0;
  background:
    radial-gradient(60% 120% at 12% 0%, rgba(25, 166, 108, 0.16), transparent 65%),
    var(--rd-ink);
  overflow: hidden;
}
footer.realbroks-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #19a66c 30%, #34d399 50%, #19a66c 70%, transparent);
}

footer.realbroks-footer .footer-content {
  max-width: 1180px;
  /* right padding keeps content clear of the fixed help/home/WhatsApp/mail buttons */
  padding: 0 clamp(16px, 3vw, 32px) clamp(32px, 4vw, 48px);
  padding-right: clamp(16px, 7vw, 96px);
  grid-template-columns: 1.1fr 1.3fr 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

footer.realbroks-footer .brand-column { border-right: 0; padding-right: 0; }
footer.realbroks-footer .footer-logo { height: 46px; }

footer.realbroks-footer .footer-section-label {
  margin: 0 0 14px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #34d399;
}

footer.realbroks-footer .contact-column { gap: 0; }
footer.realbroks-footer .contact-detail { margin: 0 0 12px; }
footer.realbroks-footer .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}
footer.realbroks-footer .contact-link:hover { color: #34d399; text-decoration: none; transform: translateX(3px); }
footer.realbroks-footer .contact-link::before {
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(52, 211, 153, 0.12);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  border: 1px solid rgba(52, 211, 153, 0.28);
}
footer.realbroks-footer .contact-link[href^="tel"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E");
}
footer.realbroks-footer .contact-link[href^="mailto"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
}

footer.realbroks-footer .social-column { padding-top: 26px; }
footer.realbroks-footer .social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
footer.realbroks-footer .social-icon:hover {
  background: rgba(52, 211, 153, 0.16);
  border-color: rgba(52, 211, 153, 0.6);
  box-shadow: 0 8px 22px rgba(25, 166, 108, 0.35);
  transform: translateY(-3px);
}
footer.realbroks-footer .social-icon:hover img { filter: none; }

footer.realbroks-footer .demo-column .btn {
  align-self: flex-start;
  padding: 0.8rem 2rem !important;
  font-size: 0.95rem !important;
  border-radius: 999px !important;
}

footer.realbroks-footer .footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px clamp(16px, 3vw, 32px) 22px;
  padding-right: clamp(16px, 7vw, 96px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  text-align: left;
}
footer.realbroks-footer .copyright,
footer.realbroks-footer .footer-link,
footer.realbroks-footer .footer-link-separator,
footer.realbroks-footer .tecstellar-link { color: rgba(255, 255, 255, 0.55); font-size: 0.8rem; }
footer.realbroks-footer .footer-link:hover,
footer.realbroks-footer .tecstellar-link:hover { color: #34d399; }

@media (max-width: 1024px) {
  footer.realbroks-footer .footer-content { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-right: clamp(16px, 3vw, 32px); }
  footer.realbroks-footer .social-column { padding-top: 0; }
  footer.realbroks-footer .footer-bottom { padding-right: clamp(16px, 3vw, 32px); }
}
@media (max-width: 640px) {
  footer.realbroks-footer .footer-content { grid-template-columns: 1fr; text-align: left; }
  footer.realbroks-footer .footer-column { align-items: flex-start; }
  footer.realbroks-footer .contact-detail { justify-content: flex-start; }
  footer.realbroks-footer .social-icons { justify-content: flex-start; }
  footer.realbroks-footer .footer-bottom { flex-direction: column; align-items: flex-start; text-align: left; padding-right: 72px; }
  /* leave room for the floating action buttons at the bottom-right */
  footer.realbroks-footer { padding-bottom: 8px; }
}
