/* México-2 — Emerald / charcoal growth palette */
.rtl-ltr-switcher-btn { display: none !important; }

:root {
  --font-primary: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-secondary: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-4: "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --brand: #047857;
  --brand-dark: #065F46;
  --brand-light: #10B981;
  --brand-soft: #ECFDF5;
  --brand-soft-2: #D1FAE5;
  --ink: #052E16;
  --ink-2: #14532D;
  --muted: #3F6212;
  --muted-safe: #3F4A3A;
  --surface: #FFFFFF;
  --surface-2: #F7FEF9;
  --border: #A7F3D0;
  --on-brand: #FFFFFF;
  --footer-bg: #022C22;
  --footer-text: #ECFDF5;
  --footer-muted: #A7F3D0;

  --color-blue: var(--brand);
  --color-sky: var(--brand-light);
  --color-primary: var(--ink);
  --color-secondary: var(--ink-2);
  --color-body: var(--muted-safe);
  --color-heading-1: var(--ink);
  --color-title: var(--ink);
  --color-heading-dark: var(--ink);
  --color-border: #BBF7D0;
  --bg-dark-1: var(--footer-bg);
}

html, body {
  background: var(--surface-2) !important;
  color: var(--muted-safe) !important;
}

/* Titles default on light surfaces; dark panels overridden in CONTRAST LOCK */
.rts-banner-five-wrapper .title,
.rts-about-five-area .title,
.service-area .title,
.rts-progress-area-main-wrapper .title,
.rts-blog-area .title,
.rts-pricing-area-one .title,
.title-style-five .title,
.color-title {
  color: var(--ink) !important;
}
.rts-banner-five-wrapper .title span,
.banner-five-content .title span,
.title-style-five .title > span {
  color: var(--brand) !important;
}

p, .disc, .bototm, .price-details, li {
  color: var(--muted-safe);
}

a { color: var(--brand); }
a:hover { color: var(--brand-dark); }

.rts-btn.btn-primary:not(.btn-white):not(.btn-border) {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: var(--on-brand) !important;
}
.rts-btn.btn-primary:not(.btn-white):not(.btn-border):hover,
.rts-btn.btn-primary:not(.btn-white):not(.btn-border):focus {
  background: var(--brand-dark) !important;
  border-color: var(--brand-dark) !important;
  color: var(--on-brand) !important;
}
.rts-btn.btn-primary.btn-white {
  background: #fff !important;
  color: var(--ink) !important;
  border-color: #fff !important;
}
.rts-btn.btn-primary.btn-border,
.rts-btn.btn-primary.with-border {
  background: transparent !important;
  color: var(--on-brand) !important;
  border: 1px solid rgba(255,255,255,.85) !important;
}

.title-style-five .pre,
.banner-five-content .title-area .pre span,
.banner-five-content .title span,
.header-top-three .top-left a,
.service-single-main-wrapper-five .read-more,
.accordion-button:not(.collapsed) {
  color: var(--brand) !important;
}
.progress-bar,
.rts-progress-area-main-wrapper .progress-bar {
  background-color: var(--brand) !important;
}

/* Banner five: ensure readable text over photo */
.rts-banner-five-wrapper .banner-five-content .title,
.rts-banner-five-wrapper .banner-five-content .title span {
  color: var(--ink) !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}
.rts-banner-five-wrapper .banner-five-content .disc,
.rts-banner-five-wrapper .banner-five-content p {
  color: var(--muted-safe) !important;
}
.banner-contact-form-five {
  background: rgba(255,255,255,.96) !important;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(2, 44, 34, 0.12);
}
.banner-contact-form-five label,
.banner-contact-form-five h3,
.banner-contact-form-five .title {
  color: var(--ink) !important;
}

.rts-about-five-area,
.service-area,
.rts-blog-area,
.rts-faq-area {
  background-color: var(--surface) !important;
}
.bg_team-area-five,
.rts-business-groth-area,
.rts-testimonials-area-five,
.rts-progress-area-main-wrapper {
  background-color: var(--brand-soft) !important;
}

.service-single-main-wrapper-five,
.single-team-style-5,
.single-blog-area-start,
.pricing-wrapper-one {
  background: var(--surface) !important;
  border: 1px solid #BBF7D0;
  box-shadow: 0 8px 24px rgba(2, 44, 34, 0.06);
}
.service-single-main-wrapper-five .title,
.single-team-style-5 .title {
  color: var(--ink) !important;
}

.header-five .header-main,
.header-five .main-header-three {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #BBF7D0;
}
.header-top-three {
  background: var(--footer-bg) !important;
}
.header-top-three,
.header-top-three a,
.header-top-three p,
.header-top-three span {
  color: var(--footer-text) !important;
}
.header-top-three a:hover { color: var(--brand-light) !important; }
.header-five .main-nav > a,
.main-header-three .main-nav > a { color: var(--ink-2) !important; }
.header-five .main-nav > a:hover { color: var(--brand) !important; }

body, h1, h2, h3, h4, h5, h6, .brand-wordmark {
  font-family: var(--font-primary) !important;
}

.brand-wordmark {
  font-weight: 800 !important;
  font-size: clamp(1.75rem, 2.2vw, 2.35rem) !important;
  letter-spacing: -0.03em;
  color: var(--ink) !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  line-height: 1.15;
  white-space: nowrap;
}
.header-five .thumbnail-logo.brand-wordmark { min-height: 48px; }
.header-five.header--sticky.sticky .brand-wordmark { color: var(--ink) !important; }
.logo_footer.brand-wordmark {
  color: #ffffff !important;
  font-size: clamp(1.85rem, 2.4vw, 2.5rem) !important;
  margin-bottom: 1.1rem;
  display: inline-flex;
}
.side-bar .brand-wordmark,
.logo-1.brand-wordmark {
  color: var(--ink) !important;
  font-size: 1.85rem !important;
  margin-bottom: 1rem;
}

.rts-call-to-action-area-three,
.footer-two,
.footer-bg-two,
footer {
  background-color: var(--footer-bg) !important;
}
.rts-call-to-action-area-three .title,
.rts-call-to-action-area-three .title span,
.footer-two *,
.footer-two a,
.footer-two p,
.footer-two .title {
  color: var(--footer-text) !important;
}
.footer-two a:hover { color: var(--brand-light) !important; }
.footer-two .disc { color: var(--footer-muted) !important; }

input, textarea, select {
  color: var(--ink) !important;
  background: #fff !important;
  border-color: #86EFAC !important;
}
input::placeholder, textarea::placeholder { color: #6B7280 !important; }
label { color: var(--ink-2) !important; }

.accordion-button {
  color: var(--ink) !important;
  background: var(--surface) !important;
}
.accordion-body {
  color: var(--muted-safe) !important;
  background: var(--brand-soft) !important;
}

.progress-wrap svg path { stroke: var(--brand) !important; }


/* --- header overlap fix --- */
.header-five .thumbnail-logo.brand-wordmark {
  font-size: clamp(1.15rem, 1.4vw, 1.55rem) !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-five .main-header-three {
  align-items: center;
}
.header-five .nav-area ul {
  flex-wrap: nowrap;
  gap: 0;
}
.header-five .main-nav > a {
  padding-left: 10px !important;
  padding-right: 10px !important;
  font-size: 14px !important;
  white-space: nowrap;
}
.header-five .button-area-wrapper {
  gap: 10px !important;
  padding-right: 0 !important;
  flex-wrap: nowrap;
}
.header-five .button-area-wrapper .rts-btn.btn-primary.header-one-btn {
  margin: 0 !important;
  padding: 12px 18px !important;
  white-space: nowrap;
  font-size: 14px !important;
}

/* phone in top bar — one line, not crooked */
.header-five .header-top-right {
  flex-wrap: nowrap;
  gap: 18px;
  margin-right: 0;
}
.header-five .header-top-right .email,
.header-five .header-top-right .call {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  margin-right: 0 !important;
}
.header-five .header-top-right .call a,
.header-five .header-top-right .email a {
  white-space: nowrap;
  letter-spacing: 0;
}

/* footer solid dark — no light footer photo */
.rts-footer-area,
.rts-footer-area.footer-two,
.footer-two,
.footer-bg-two,
.footer-two.footer-bg-two {
  background: var(--footer-bg) !important;
  background-image: none !important;
  background-color: var(--footer-bg) !important;
}
.rts-footer-area.footer-two *,
.footer-two *,
.footer-two .title,
.footer-two .title span,
.footer-two a,
.footer-two p,
.footer-two .disc,
.copyright-h-2-wrapper,
.copyright-h-2-wrapper p,
.copyright-h-2-wrapper a {
  color: var(--footer-text) !important;
}
.footer-two a:hover,
.copyright-h-2-wrapper a:hover { color: var(--brand-light) !important; }
.footer-two .disc { color: var(--footer-muted) !important; }
.copyright-h-2-wrapper {
  border-top: 1px solid rgba(167, 243, 208, 0.25) !important;
}

/* testimonials: equal vertical thumbs */
.single-testimonials-style-five .thumbnail {
  flex: 0 0 220px;
  width: 220px;
  max-width: 220px;
}
.single-testimonials-style-five .thumbnail img {
  width: 220px !important;
  height: 264px !important;
  min-width: 220px !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 12px;
  display: block;
}

@media only screen and (max-width: 575px) {
  .brand-wordmark { font-size: 1.55rem !important; }
}

/* === CONTRAST LOCK AR2 === */
/* Dark panels => white text. Light panels => dark text. No photo under copy. */

.rts-call-to-action-area-three,
.rts-call-to-action-area-three.bg_image {
  background: #022C22 !important;
  background-image: none !important;
  background-color: #022C22 !important;
}
.rts-call-to-action-area-three .cta-main-wrapper-inner,
.rts-call-to-action-area-three .cta-main-wrapper-inner *,
.rts-call-to-action-area-three .title,
.rts-call-to-action-area-three h2.title,
.rts-call-to-action-area-three .title span,
.rts-call-to-action-area-three a,
.rts-call-to-action-area-three .call-area a,
.rts-call-to-action-area-three .call-area .icon i {
  color: #ffffff !important;
}
.rts-call-to-action-area-three .call-area a {
  font-weight: 700 !important;
  white-space: nowrap;
  text-decoration: none !important;
}
.rts-call-to-action-area-three .title span {
  color: #6EE7B7 !important;
}

.rts-faq-area,
.rts-faq-area.faq-bg-one,
.rts-faq-area.bg_image {
  background: #ffffff !important;
  background-image: none !important;
  background-color: #ffffff !important;
}
.rts-faq-area .title-style-five .pre {
  color: #047857 !important;
}
.rts-faq-area .title-style-five .title,
.rts-faq-area h2.title,
.rts-faq-area .faq-main-wrapper-content-inner-four .title {
  color: #052E16 !important;
}
.rts-faq-area .accordion-button {
  color: #052E16 !important;
  background: #ffffff !important;
}
.rts-faq-area .accordion-body {
  color: #3F4A3A !important;
  background: #ECFDF5 !important;
}

.cta-main-area-wrapper-one,
.cta-main-area-wrapper-one.bg_image {
  background: #022C22 !important;
  background-image: none !important;
  background-color: #022C22 !important;
}
.cta-main-area-wrapper-one .left-areas,
.cta-main-area-wrapper-one .left-areas *,
.cta-main-area-wrapper-one .left-areas .title,
.cta-main-area-wrapper-one h3.title,
.cta-main-area-wrapper-one .left-areas span {
  color: #ffffff !important;
}
.cta-main-area-wrapper-one .left-areas > span,
.cta-main-area-wrapper-one .left-areas span.pre {
  color: #6EE7B7 !important;
}
.cta-main-area-wrapper-one input {
  color: #052E16 !important;
  background: #ffffff !important;
}

.bg_project-5,
.rts-project-area.bg_project-5,
.rts-project-area.bg_image {
  background: #022C22 !important;
  background-image: none !important;
}
.bg_project-5 .title-style-five,
.bg_project-5 .title-style-five *,
.bg_project-5 .title {
  color: #ffffff !important;
}
.bg_project-5 .title-style-five .pre {
  color: #6EE7B7 !important;
}

.bg_team-area-five,
.rts-team-area.bg_team-area-five,
.rts-team-area.bg_image {
  background: #ECFDF5 !important;
  background-image: none !important;
}
.bg_team-area-five .title-style-five .title,
.bg_team-area-five .title {
  color: #052E16 !important;
}
.bg_team-area-five .title-style-five .pre {
  color: #047857 !important;
}

.rts-footer-area.footer-two a[href^="tel"],
.footer-two a[href^="tel"] {
  color: #ffffff !important;
  font-weight: 600;
}

/* ===== CONTRAST HARDENING v2: text never blends ===== */
/* Default readable text on light UI */
body, p, .disc, li, span.bototm, .price-details {
  color: var(--muted-safe, #475569) !important;
}
.rts-about-area .title,
.rts-about-area h1, .rts-about-area h2, .rts-about-area h3,
.why-choose-us-area .title,
.business-solution-area .title,
.rts-brand-area .title,
.rts-blog-area .title,
.rts-team-area .title,
.rts-service .title,
.single-feature-wrapper .title,
.single-why-choose-four .title,
.single-team-area-one-start .title,
.title-style-one .title,
.title-style-four .title,
.color-title {
  color: var(--ink, #0B1220) !important;
  text-shadow: none !important;
}
.title span, .title > span, .title span.in {
  color: var(--brand) !important;
}

/* Photo / dark panels ONLY — force light text + veil */
.banner-four-area-main-wrapper,
.banner-seven,
.banner-ten-area,
.banner-accountent-two,
.banner-service-wrapper-bg,
.banner-swiper-two,
.rts-banner-area-two,
.rts-banner-area-six,
.rts-banner-area-9,
.rts-banner-area-start-11,
.rts-banner-area,
[class*="rts-banner"],
.rts-call-to-action-area-two,
.rts-call-to-action-area-three,
.rts-cta-area-six,
.cta-main-area-wrapper-one,
.rts-appoinment-area-9,
.business-solution-cta,
.rts-callto-action-area,
.bg_testimonials-6,
.brand-bg-three,
.gallery-bg,
.faq-bg-dark,
[class*="newsletter-area"],
.rts-footer-area,
footer {
  position: relative !important;
  isolation: isolate;
}
.banner-four-area-main-wrapper::before,
.banner-seven::before,
.banner-ten-area::before,
.banner-accountent-two::before,
.banner-service-wrapper-bg::before,
.banner-swiper-two::before,
.rts-banner-area-two::before,
.rts-banner-area-six::before,
.rts-banner-area-9::before,
.rts-banner-area-start-11::before,
.rts-banner-area::before,
.rts-call-to-action-area-two::before,
.rts-call-to-action-area-three::before,
.rts-cta-area-six::before,
.cta-main-area-wrapper-one::before,
.rts-appoinment-area-9::before,
.bg_testimonials-6::before,
.brand-bg-three::before,
.gallery-bg::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(105deg, rgba(8,15,28,.88) 0%, rgba(8,15,28,.62) 48%, rgba(8,15,28,.45) 100%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.banner-four-area-main-wrapper > *,
.banner-seven > *,
.banner-ten-area > *,
.banner-accountent-two > *,
.banner-service-wrapper-bg > *,
.banner-swiper-two > *,
.rts-banner-area-two > *,
.rts-banner-area-six > *,
.rts-banner-area-9 > *,
.rts-banner-area-start-11 > *,
.rts-banner-area > *,
.rts-call-to-action-area-two > *,
.rts-call-to-action-area-three > *,
.rts-cta-area-six > *,
.cta-main-area-wrapper-one > *,
.rts-appoinment-area-9 > * {
  position: relative !important;
  z-index: 1 !important;
}

/* Light text only inside dark/photo panels */
.banner-four-area-main-wrapper .title,
.banner-four-area-main-wrapper h1,
.banner-four-area-main-wrapper h2,
.banner-four-area-main-wrapper p,
.banner-four-area-main-wrapper .disc,
.banner-four-area-main-wrapper .pre,
.banner-four-area-main-wrapper .pre-title,
.banner-seven .title,
.banner-seven h1,
.banner-seven h2,
.banner-seven p,
.banner-seven .disc,
.banner-seven .pre,
.banner-ten-area .title,
.banner-ten-area h1,
.banner-ten-area p,
.banner-ten-area .disc,
.banner-ten-area .pre,
.banner-accountent-two .title,
.banner-accountent-two h1,
.banner-accountent-two p,
.banner-accountent-two .disc,
.banner-service-wrapper-bg .title,
.banner-service-wrapper-bg h1,
.banner-service-wrapper-bg p,
.banner-service-wrapper-bg .disc,
.banner-swiper-two .title,
.banner-swiper-two h1,
.banner-swiper-two p,
.banner-swiper-two .disc,
.banner-swiper-two .pre-title,
.rts-banner-area-two .title,
.rts-banner-area-two h1,
.rts-banner-area-two p,
.rts-banner-area-two .disc,
.rts-banner-area-six .title,
.rts-banner-area-six h1,
.rts-banner-area-six p,
.rts-banner-area-six .disc,
.rts-banner-area-9 .title,
.rts-banner-area-9 h1,
.rts-banner-area-9 p,
.rts-banner-area-9 .disc,
.rts-banner-area-9 .pre,
.rts-banner-area-start-11 .title,
.rts-banner-area-start-11 h1,
.rts-banner-area-start-11 h2,
.rts-banner-area-start-11 p,
.rts-banner-area-start-11 .disc,
.rts-banner-area-start-11 .pre,
.rts-call-to-action-area-two .title,
.rts-call-to-action-area-two h2,
.rts-call-to-action-area-two p,
.rts-call-to-action-area-two .disc,
.rts-call-to-action-area-three .title,
.rts-call-to-action-area-three p,
.rts-cta-area-six .title,
.rts-cta-area-six h2,
.rts-cta-area-six p,
.cta-main-area-wrapper-one .title,
.cta-main-area-wrapper-one h2,
.cta-main-area-wrapper-one p,
.rts-appoinment-area-9 .title,
.rts-appoinment-area-9 p,
.rts-appoinment-area-9 label,
.faq-bg-dark .title,
.faq-bg-dark p,
.faq-bg-dark .accordion-button,
[class*="newsletter-area"] .title,
[class*="newsletter-area"] p {
  color: #F8FAFC !important;
  text-shadow: 0 1px 12px rgba(0,0,0,.45) !important;
}
.banner-four-area-main-wrapper .title span,
.banner-seven .title span,
.banner-ten-area .title span,
.banner-accountent-two .title span,
.banner-service-wrapper-bg .title span,
.rts-banner-area-two .title span,
.rts-banner-area-six .title span,
.rts-banner-area-9 .title span,
.rts-banner-area-start-11 .title span {
  color: var(--accent, var(--brand-light)) !important;
}

/* Footer always dark + light text */
.rts-footer-area, footer, .footer-area {
  background: var(--footer-bg, #0B1220) !important;
}
.rts-footer-area,
.rts-footer-area a,
.rts-footer-area p,
.rts-footer-area .title,
.rts-footer-area .disc,
.rts-footer-area li,
footer,
footer a,
footer p,
footer .title,
footer .disc,
footer li {
  color: #F8FAFC !important;
}
footer .disc, .rts-footer-area .disc, footer p {
  color: var(--footer-muted, #94A3B8) !important;
}

/* Light sections must stay dark text (override accidental white) */
.rts-about-area .title,
.rts-about-area p,
.rts-about-area .disc,
.about-area-wrapper-content-10 .title,
.about-area-wrapper-content-10 p,
.why-choose-us-area .title,
.why-choose-us-area p,
.why-choose-us-area .disc,
.business-solution-area .title,
.business-solution-area p,
.business-solution-area .disc,
.rts-brand-area .title,
.rts-blog-area .title,
.rts-blog-area p,
.rts-blog-area .disc,
.rts-team-area .title,
.rts-team-area p,
.single-blog-area-one .title,
.single-blog-area-one p,
.project-style-one .title,
.project-style-one p,
.single-team-area-one-start .title,
.single-why-choose-four .title,
.single-why-choose-four p,
.single-feature-wrapper .title,
.single-feature-wrapper p,
.pricing-wrapper .title,
.pricing-wrapper p,
.rts-service .title,
.rts-service p,
.accordion-button,
.accordion-body,
.faq-area:not(.faq-bg-dark) .title,
.faq-area:not(.faq-bg-dark) p {
  color: var(--ink, #0B1220) !important;
  text-shadow: none !important;
}
.single-why-choose-four .disc,
.single-feature-wrapper .disc,
.business-solution-area .disc,
.about-area-wrapper-content-10 .disc,
.rts-blog-area .disc {
  color: var(--muted-safe, #475569) !important;
}

/* CTA request bar — ensure dark panel + white text */
.rts-callto-acction-area-4,
.rts-call-to-action-area,
.callto-action-area,
.request-a-call-area {
  background: var(--footer-bg, #0B1220) !important;
}
.rts-callto-acction-area-4 .title,
.rts-callto-acction-area-4 h3,
.rts-callto-acction-area-4 span,
.rts-call-to-action-area .title,
.rts-call-to-action-area h3 {
  color: #F8FAFC !important;
}

/* Forms */
input, textarea, select, .form-control {
  background: #fff !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
}


/* Extra dark panels: FAQ photo bg + CTA call bars */
.faq-bg-one,
.faq-bg-one.bg_image,
.rts-faq-area.bg_image,
.bg_call-toaction-4,
.rts-call-to-action-area.bg_image,
.cta-four-wrapper {
  position: relative !important;
  isolation: isolate;
}
.faq-bg-one::before,
.rts-faq-area.bg_image::before,
.bg_call-toaction-4::before,
.rts-call-to-action-area.bg_image::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(105deg, rgba(8,15,28,.90) 0%, rgba(8,15,28,.72) 55%, rgba(8,15,28,.55) 100%) !important;
  z-index: 0 !important;
  pointer-events: none !important;
}
.faq-bg-one > *,
.rts-faq-area.bg_image > *,
.bg_call-toaction-4 > *,
.rts-call-to-action-area.bg_image > *,
.cta-four-wrapper > * {
  position: relative !important;
  z-index: 1 !important;
}
.faq-bg-one .title,
.faq-bg-one h2,
.faq-bg-one h3,
.faq-bg-one p,
.faq-bg-one .disc,
.faq-bg-one .accordion-button,
.faq-bg-one .accordion-body,
.rts-faq-area.bg_image .title,
.rts-faq-area.bg_image h2,
.rts-faq-area.bg_image p,
.rts-call-to-action-area .title,
.rts-call-to-action-area h2,
.rts-call-to-action-area h3,
.rts-call-to-action-area span,
.rts-call-to-action-area p,
.cta-four-wrapper .title,
.cta-four-wrapper h2,
.cta-four-wrapper h3,
.cta-four-wrapper span,
.cta-four-wrapper p {
  color: #F8FAFC !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.4) !important;
}
.faq-bg-one .accordion-button,
.faq-bg-one .accordion-item,
.faq-bg-one .accordion-body {
  background: rgba(15,23,42,.55) !important;
  border-color: rgba(255,255,255,.12) !important;
}
/* Keep accordion answers readable */
.faq-bg-one .accordion-body,
.faq-bg-one .accordion-body p {
  color: #E2E8F0 !important;
}

/* Banner inner content safety */
.inner-content-wrapper-four-banner .title,
.inner-content-wrapper-four-banner h1,
.inner-content-wrapper-four-banner p,
.inner-content-wrapper-four-banner .disc,
.inner-content-wrapper-four-banner .pre {
  color: #F8FAFC !important;
  text-shadow: 0 1px 14px rgba(0,0,0,.5) !important;
}
.inner-content-wrapper-four-banner .title span {
  color: var(--accent, var(--brand-light)) !important;
}


/* Kill hollow/outline title spans — they blend into photo/dark panels */
.title span,
.title .in,
h1 span, h2 span, h3 span {
  -webkit-text-fill-color: currentColor !important;
  -webkit-text-stroke: 0 !important;
  text-stroke: 0 !important;
  color: inherit !important;
}
.banner-four-area-main-wrapper .title span,
.banner-seven .title span,
.banner-ten-area .title span,
.banner-accountent-two .title span,
.banner-service-wrapper-bg .title span,
.rts-banner-area-two .title span,
.rts-banner-area-six .title span,
.rts-banner-area-9 .title span,
.rts-banner-area-start-11 .title span,
.inner-content-wrapper-four-banner .title span,
.faq-bg-one .title span {
  color: var(--accent, var(--brand-light, #E8B86D)) !important;
  -webkit-text-fill-color: var(--accent, var(--brand-light, #E8B86D)) !important;
}
/* Light sections: brand-colored span stays solid brand */
.rts-about-area .title span,
.why-choose-us-area .title span,
.business-solution-area .title span,
.single-why-choose-four .title span,
.rts-blog-area .title span,
.rts-team-area .title span,
.pricing-wrapper .title span {
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
}


/* Header contrast over dark heroes */
header,
.header-one,
.header-two,
.header-three,
.header-four,
.header-five,
.rts-header-area,
.header-main-wrapper,
.header-style-four {
  background: rgba(255,255,255,.96) !important;
  backdrop-filter: blur(8px);
}
header .logo a,
header .logo,
.header-one .logo a,
.logo-area a,
.logo a,
.header-top a,
.header-main a,
.rts-header-area a:not(.rts-btn):not(.btn),
.header-style-four .logo a {
  color: #0B1220 !important;
}
/* ensure brand wordmark readable */
.logo a, .logo_footer a, a.logo {
  font-weight: 700 !important;
}


/* === CONTRAST FIX v3: dark cards / light links === */
.read-more,
a.read-more,
.rts-blog-area a.read-more,
.single-blog-area-style a {
  color: var(--brand) !important;
  -webkit-text-fill-color: var(--brand) !important;
}
/* Project / case overlays on photos */
.project-style-one .title,
.project-style-one h3,
.project-style-one h4,
.single-project .title,
.case-study .title,
.rts-business-case .title,
.swiper-slide .project-style-one .title {
  color: #F8FAFC !important;
  text-shadow: 0 1px 10px rgba(0,0,0,.55) !important;
}
/* Pricing amounts readable */
.pricing-wrapper .title,
.single-pricing .title,
.price-area .title,
.pricing-wrapper h3,
.single-pricing h3,
.pricing-wrapper h4 {
  color: var(--ink, #0B1220) !important;
}
.single-pricing.active .title,
.single-pricing.active h3,
.pricing-wrapper .active .title {
  color: #F8FAFC !important;
}
/* Top header strip */
.header-top,
.header-top-one,
.header-top-area {
  background: #0B1220 !important;
}
.header-top a,
.header-top p,
.header-top span,
.header-top-one a,
.header-top-one p,
.header-top-area a {
  color: #F8FAFC !important;
}
/* Appointment / contact light section titles */
.rts-appoinment-area:not(.rts-appoinment-area-9) .title,
.rts-contact-area .title,
.appoinment-area .title {
  color: var(--ink, #0B1220) !important;
  text-shadow: none !important;
}
.rts-appoinment-area:not(.rts-appoinment-area-9) .pre,
.rts-contact-area .pre {
  color: var(--brand) !important;
}
/* Hide decorative near-invisible watermark letters if present */
.section-title-watermark,
.title-watermark,
.big-text,
.water-mark {
  opacity: 0.12 !important;
  color: var(--ink) !important;
}


/* ===== HEADER-TOP: never blend (beats .top-transparent-header * rule) ===== */
.top-transparent-header .header-top-area-wrapper,
header .header-top-area-wrapper,
.header-one .header-top-area-wrapper,
.header-top-area-wrapper {
  background: #0B1220 !important;
  border-bottom: 1px solid rgba(255,255,255,.12) !important;
}
.top-transparent-header .header-top-area-wrapper,
.top-transparent-header .header-top-area-wrapper *,
.top-transparent-header .header-top-area-wrapper a,
.top-transparent-header .header-top-area-wrapper p,
.top-transparent-header .header-top-area-wrapper span,
.top-transparent-header .header-top-area-wrapper i,
.header-top-area-wrapper,
.header-top-area-wrapper *,
.header-top-area-wrapper a,
.header-top-area-wrapper p,
.header-top-area-wrapper span,
.header-top-area-wrapper i,
.header-top-one-wrapper,
.header-top-one-wrapper *,
.header-top-one-wrapper a,
.header-top-one-wrapper p {
  color: #F8FAFC !important;
  -webkit-text-fill-color: #F8FAFC !important;
  text-shadow: none !important;
}
.top-transparent-header .header-top-area-wrapper .header-top-one-wrapper .right p a,
.top-transparent-header .header-top-area-wrapper .header-top-one-wrapper .right p a i,
.header-top-area-wrapper a:hover,
.header-top-one-wrapper a:hover {
  color: var(--accent, #E8B86D) !important;
  -webkit-text-fill-color: var(--accent, #E8B86D) !important;
}
.header-top-area-wrapper .mail::after,
.header-top-area-wrapper .left .mail::after {
  background: rgba(255,255,255,.35) !important;
}

/* Brand logos strip: clean contain, no weird crop overlays */
.rts-brand-area .mySwiper-brand-2 img,
.rts-brand-area .mySwiper-brand img,
.rts-brand-area .single-brand img,
.brand-style-two-wrapper img,
.mySwiper-brand-2 .single-brand img {
  width: auto !important;
  max-width: 160px !important;
  height: 56px !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  background: transparent !important;
}
.rts-brand-area .single-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  box-shadow: none !important;
}
.rts-brand-area .single-brand::before,
.rts-brand-area .single-brand::after,
.mySwiper-brand-2 .single-brand::before,
.mySwiper-brand-2 .single-brand::after,
.mySwiper-brand-2 .swiper-slide::before,
.mySwiper-brand-2 .swiper-slide::after {
  content: none !important;
  display: none !important;
}

/* Hero index-five: copy on solid panel, photo only in image column */
.rts-banner-five-wrapper {
  background: var(--surface-2) !important;
  padding-top: 0 !important;
}
.rts-banner-five-wrapper .banner-five-content {
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid #BBF7D0 !important;
  border-radius: 18px !important;
  padding: 32px 36px !important;
  box-shadow: 0 16px 40px rgba(2, 44, 34, 0.08) !important;
}
.rts-banner-five-wrapper .banner-five-content .pre,
.rts-banner-five-wrapper .banner-five-content .pre span {
  color: var(--ink-2) !important;
}
.rts-banner-five-wrapper .banner-five-content .pre span {
  color: var(--brand) !important;
}
.rts-banner-five-wrapper .banner-image-primary-five img {
  border-radius: 16px !important;
  box-shadow: 0 12px 32px rgba(2, 44, 34, 0.12) !important;
}
.rts-banner-five-wrapper .shape-area {
  opacity: 0.35 !important;
  pointer-events: none !important;
}

/* ===== mexico-2 fixes v3 ===== */
body.index-five {
  scroll-padding-top: 132px;
}
body.index-five header.header-five {
  position: relative !important;
  width: 100% !important;
}
body.index-five header.header-five.header--sticky.sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 8px 24px rgba(5, 46, 22, 0.08) !important;
}
.rts-banner-five-wrapper .banner-five-content {
  padding-top: 36px !important;
}
@media only screen and (max-width: 1199px) {
  .rts-banner-five-wrapper .banner-five-content {
    padding-top: 28px !important;
  }
}

.service-single-main-wrapper-five .icon {
  background: var(--brand-soft) !important;
  border: 2px solid var(--brand) !important;
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.18) !important;
}
.service-single-main-wrapper-five .icon img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
}
.about-content-inner-five .about-single-home-7 .icon {
  background: var(--brand-soft) !important;
  border: 1px solid var(--brand) !important;
  border-radius: 50% !important;
  padding: 10px !important;
}
.rts-project-area .project-content-left-5 {
  padding: 2rem 2.25rem 2.25rem !important;
}
.rts-project-area .mySwiper-project-five .row.g-5 {
  align-items: center !important;
  --bs-gutter-x: 3rem;
}
.rts-project-area .mySwiper-project-five .col-lg-7 {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .rts-project-area .mySwiper-project-five .col-lg-5,
  .rts-project-area .mySwiper-project-five .col-lg-7 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.rts-project-area .project-swiper-5-area {
  max-width: 100%;
  overflow: hidden;
}
body.index-five .rts-blog-h-2-wrapper a.thumbnail {
  clip-path: none !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  max-width: 100%;
  width: min(100%, 320px);
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1;
}
body.index-five .rts-blog-h-2-wrapper a.thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  clip-path: none !important;
}
body.index-five .single-testimonials-style-five .thumbnail img {
  min-width: 0 !important;
}
.project-content-left-5 > .icon {
  width: 88px;
  height: 88px;
  margin: 0 0 1.25rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--brand) !important;
  border-radius: 50% !important;
  clip-path: none !important;
  box-shadow: 0 10px 24px rgba(4, 120, 87, 0.35);
  position: relative !important;
  top: auto !important;
  left: auto !important;
}
.project-content-left-5 > .icon img {
  width: 42px !important;
  height: 42px !important;
  filter: brightness(0) invert(1);
}

.rts-pricing-area-one .pricing-wrapper-one .plane-process .title,
.rts-pricing-area-one .pricing-wrapper-one .plane-process span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.pricing-wrapper-one .plane-process {
  animation: none !important;
  background: var(--brand) !important;
  box-shadow: 0 8px 22px rgba(4, 120, 87, 0.35);
}
.pricing-wrapper-one .pricing-body .single-pricing.available .icon i {
  background: var(--brand) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

.footer-two .contact-info-1 .icon i,
.rts-footer-area.footer-two .contact-info-1 .icon i {
  color: var(--brand-light) !important;
  font-size: 16px !important;
}
.footer-two .contact-info-1 .icon i::after,
.rts-footer-area.footer-two .contact-info-1 .icon i::after {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(167, 243, 208, 0.45) !important;
  height: 42px !important;
  width: 42px !important;
}

.rts-call-to-action-area-three .call-area .icon {
  border: 2px solid var(--brand-light) !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.rts-call-to-action-area-three .call-area .icon i {
  color: var(--brand) !important;
}

/* Escenarios / case studies — hover caption + centered layout */
.rts-business-case-area .flowating-right,
.rts-project-area .flowating-right {
  width: 100% !important;
  max-width: 1140px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.rts-business-case-area .container-1680 {
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.mySwiper-case-studies-5 .swiper-slide {
  display: flex !important;
  justify-content: center !important;
}
.single-case-studies-four {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.single-case-studies-four .inner,
.single-case-studies-four:hover .inner {
  background: rgba(11, 18, 32, 0.94) !important;
  border-left: 6px solid var(--brand-light) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35) !important;
  z-index: 4;
}
.single-case-studies-four .inner a,
.single-case-studies-four .inner .title,
.single-case-studies-four .inner h3,
.single-case-studies-four .inner h3.title,
.single-case-studies-four .inner span,
.single-case-studies-four:hover .inner .title,
.single-case-studies-four:hover .inner span,
.single-case-studies-four .inner *,
.single-case-studies-four:hover .inner * {
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

/* All content photos: circles, no polygon clip-path */
body.index-five .thumbnail-about-five,
body.index-five .business-groth-5-thumbnail,
body.index-five .single-team-style-5 a.thumbnail,
body.index-five .single-testimonials-style-five .thumbnail,
body.index-five .faq-one-thumbnail-wrapper-right .thumbnail,
body.index-five .thumbnail-project-5,
body.index-five .cta-four-wrapper .img-area,
body.index-five .rts-blog-area a.thumbnail {
  clip-path: none !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  display: block;
}
body.index-five .thumbnail-about-five {
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1;
}
body.index-five .business-groth-5-thumbnail {
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 1;
}
body.index-five .single-team-style-5 a.thumbnail {
  max-width: 280px;
  margin: 0 auto 1.5rem;
  aspect-ratio: 1;
}
body.index-five .thumbnail-project-5 {
  max-width: min(100%, 480px);
  margin: 0 auto;
  aspect-ratio: 1;
}
body.index-five .faq-one-thumbnail-wrapper-right .thumbnail {
  max-width: 100%;
  aspect-ratio: 1;
}
body.index-five .thumbnail-about-five img,
body.index-five .business-groth-5-thumbnail img,
body.index-five .single-team-style-5 a.thumbnail img,
body.index-five .single-testimonials-style-five .thumbnail img,
body.index-five .faq-one-thumbnail-wrapper-right .thumbnail img,
body.index-five .thumbnail-project-5 img,
body.index-five .cta-four-wrapper .img-area img,
body.index-five .rts-blog-area a.thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  clip-path: none !important;
  border-radius: 0 !important;
}
body.index-five .single-testimonials-style-five .thumbnail {
  width: 220px !important;
  height: 220px !important;
  flex: 0 0 220px;
}
