/* RCONSOFT 2026 — Professional white-card design system.
   Loaded after existing CSS so desktop-on-mobile, video, navigation and content stay intact.
   All content cards use bright white surfaces; backgrounds stay subtly blue for contrast. */
:root { --wc-ink:#10263e; --wc-text:#51657b; --wc-line:#e2ebf5; --wc-accent:#0284c7; --wc-soft:#f3f9ff; }

/* Unified editorial styling for internal pages. Keep the blue/navy global brand from home. */
.page-hero {
  background: radial-gradient(ellipse 44% 88% at 88% 18%,rgba(35,158,222,.23),transparent 72%),
  linear-gradient(112deg,#051b33 3%,#0b2e50 56%,#0a406c 100%) !important;
  border-bottom:1px solid rgba(125,211,252,.22);
  padding-top:148px;
  padding-bottom:84px;
}
.page-hero::before { opacity:.42; }
.page-hero-content { max-width:830px; }
.page-hero h1 { color:#fff !important; font-family:'Poppins','Inter',sans-serif; font-weight:800; letter-spacing:-.052em; font-size:clamp(2.9rem,3.8vw,3.9rem); line-height:1.14; }
.page-hero p { color:#cce3f5 !important; font-size:1.12rem;line-height:1.8;max-width:735px; }
.breadcrumb { background:#f4f9fe; border-bottom:1px solid var(--wc-line); }
.breadcrumb-inner { color:#617b96; }
.section-title, .service-detail h2 { color:var(--wc-ink);letter-spacing:-.035em; }
.section-subtitle { color:var(--wc-text); line-height:1.75; }
.section-label { color:var(--wc-accent); }

/* Calm pale section backdrops frame cards but NEVER tint the card itself. */
.premium-services-surface,.premium-portfolio-surface,.premium-testimonial-surface,
.delivery-section,.service-detail,.process-section { background:#f5f9ff !important; }
.premium-services-surface { background:linear-gradient(180deg,#f6fbff,#f0f6fd) !important; }
.premium-portfolio-surface { background:#f7fbff !important; }
.premium-testimonial-surface { background:#f1f7fe !important; }
.premium-about-surface { background:linear-gradient(130deg,#f7fbff,#f0f7ff) !important; }
.process-section { background:#f3f8fe !important; }
.service-detail { background:#fff !important; }
.team-section-v2 {background:#fff!important;}

/* Homepage and services page: WHITE cards, no full-card photographic backgrounds. */
.card.service-visual-card,
.premium-services-surface .card.service-visual-card,
.service-card-item.service-visual-card,
.premium-services-surface .services-grid .service-visual-card {
  background:#fff !important;
  color:var(--wc-ink) !important;
  border:1px solid #dfebf7 !important;
  border-radius:24px;
  box-shadow:0 13px 34px rgba(11,54,95,.072) !important;
}
.service-visual-card::before,.service-visual-card::after {content:none !important; display:none !important; background:none !important;}
.service-visual-card h3,.service-visual-card .service-card-inner h3 {
  color:#122b45 !important; text-shadow:none !important; font-weight:760;
}
.service-visual-card p,.service-visual-card .service-card-inner p {
  color:#526982 !important; text-shadow:none !important; line-height:1.74 !important;
}
.service-visual-card .card-icon,
.service-card-item.service-visual-card .card-icon {
  background:#eaf7ff !important;
  color:#0284c7 !important;
  border:1px solid #d1eaf9 !important;
  box-shadow:none !important;
  backdrop-filter:none;
}
.service-visual-card:hover .card-icon {
  background:#d6f0ff !important;color:#0369a1 !important;transform:translateY(-2px);
}
.service-visual-card .service-card-inner span[style] {
  background:#f0f8ff !important; color:#176ca1 !important; border:1px solid #deeffa !important;
}
.service-visual-card > div[style*="margin-top"],
.service-card-item.service-visual-card .service-card-inner div[style*="margin-top"] {color:#0284c7 !important;}
.service-visual-card:hover { border-color:#98d6f6!important; box-shadow:0 22px 48px rgba(10,77,126,.135)!important; }

/* Global cards, internal-page service features, timelines and feedback. */
.card:not(.service-visual-card),.delivery-step,.process-step,.tech-item,
.faq-item,.testimonial-card,.portfolio-card,.contact-info-item,
.contact-form-wrapper,.team-profile {
  background:#fff !important;
  border:1px solid var(--wc-line) !important;
  box-shadow:0 11px 31px rgba(13,54,94,.065) !important;
}
.card:not(.service-visual-card):hover,.delivery-step:hover,.process-step:hover,
.tech-item:hover,.faq-item:hover,.portfolio-card:hover,.contact-info-item:hover,.team-profile:hover {
  box-shadow:0 22px 45px rgba(15,83,137,.12) !important;
  border-color:#aadcf7 !important;
}
.process-step { border-radius:22px; padding:29px 20px; }
.process-step:not(:last-child)::after {background:#8fcaf2;opacity:.45;}
.process-number {background:#eaf7ff; border:2px solid #b9e3fa; color:#0284c7;box-shadow:none;}
.process-step h3,.tech-item span {color:var(--wc-ink);}
.process-step p,.faq-answer,.testimonial-card p {color:var(--wc-text);}
.tech-item { border-radius:19px; }
.faq-item {border-radius:18px;}
.contact-info-item {border-radius:19px;}
.contact-info-item i {color:#058ccc;}
.portfolio-card {border-radius:24px;overflow:hidden;}
.portfolio-card .portfolio-img {background:linear-gradient(140deg,#e9f5ff,#d4eafb)!important;}
.portfolio-card .portfolio-img i {color:#0c6da5!important;opacity:.48!important;}
.portfolio-card h3 {color:var(--wc-ink);}

/* Service detail hero imagery: picture inside a WHITE frame, not a background on a card. */
.service-showcase-frame {
  background:#fff;
  border:1px solid #e0eaf6;
  border-radius:28px;
  padding:12px;
  box-shadow:0 26px 60px rgba(15,57,100,.105);
  overflow:hidden;
}
.service-showcase-frame img {display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:19px;}
.service-detail-grid {gap:62px;}
.feature-list li {color:#36516b;line-height:1.6;}
.feature-list li i {background:#e7f5ff;color:#0284c7;}

/* Homepage video is intentionally uncluttered: no floating badges or orbital decorations. */
.hero-floating-layer,.hero-video-floating-label,.hero-deco-1,.hero-deco-2 {display:none !important;}
.hero-section .rcon-video-card {transform:none !important;}
.hero-section .rcon-video-card::before {display:none !important;}
.hero-section .rcon-hero-video-column {overflow:visible;}

/* Cohesive focus and accessible keyboard navigation. */
.card:focus-visible,.portfolio-card:focus-visible,.service-visual-card:focus-visible,.faq-question:focus-visible {
  outline:3px solid #38bdf8;outline-offset:3px;
}
@media (prefers-reduced-motion:reduce) {
  .service-visual-card,.process-step,.team-profile {transition:none !important;}
}
