/* RCONSOFT desktop styling. Smaller screens adapt via compact-responsive.css. */
html,body {min-width:0;overflow-x:clip;}
.container {width:100%;max-width:1240px;}
.nav-links {align-items:center;}

.hero-section .r-grid-hero {grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:54px!important;}
.services-grid,.r-grid-services {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.portfolio-grid,.r-grid-portfolio,.why-choose-grid {grid-template-columns:repeat(3,minmax(0,1fr))!important;}
.team-grid,.r-grid-team {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.footer-grid {grid-template-columns:1.6fr repeat(3,1fr)!important;}
.delivery-steps {grid-template-columns:repeat(5,minmax(0,1fr))!important;}
.stats-bar-grid {grid-template-columns:repeat(4,minmax(0,1fr))!important;}
.tech-showcase-inner {grid-template-columns:minmax(260px,.75fr) minmax(0,1.55fr)!important;}
.tech-pills {justify-content:flex-end!important;}
/* Heading intentionally follows requested editorial hierarchy. */
.hero-section .hero-main-heading {
 font-family:'Poppins','Inter',sans-serif; font-size:clamp(3.1rem,4.4vw,4.35rem)!important;
 font-weight:800;line-height:1.08!important;letter-spacing:-.062em;max-width:690px;
 color:#fff!important;margin:0 0 22px!important;
 text-shadow:0 12px 42px rgba(0,3,19,.18);
}
.hero-section .hero-subheading {
 display:block;margin-top:13px;font-size:.48em;font-weight:700;letter-spacing:.055em;
 line-height:1.32;background:linear-gradient(100deg,#a3e9ff,#47c6fd 62%,#8bb9ff)!important;
 -webkit-background-clip:text!important;background-clip:text!important;-webkit-text-fill-color:transparent!important;
 text-transform:capitalize;
}
/* Cinematic depth in the hero, without loading third-party assets. */
.hero-section {background:
 radial-gradient(ellipse 20% 25% at 87% 29%,rgba(44,173,255,.40),transparent 95%),
 radial-gradient(ellipse 35% 50% at 46% 75%,rgba(7,120,212,.13),transparent 92%),
 radial-gradient(ellipse 55% 78% at 3% 95%,rgba(7,76,159,.24),transparent 90%),
 linear-gradient(116deg,#040f23 4%,#081c39 50%,#062c55 100%)!important;
 padding-top:148px!important;padding-bottom:102px!important;
}
.hero-section .container {position:relative;z-index:1;}
.hero-section::before {opacity:.29!important;background-size:62px 62px!important;}
.hero-section .rcon-video-card {z-index:4;transform:rotate(.4deg);}
.hero-section .rcon-video-card::before {content:'';position:absolute;inset:-15px;z-index:-1;border-radius:36px;background:linear-gradient(130deg,rgba(29,200,255,.2),transparent 55%,rgba(22,111,247,.18));filter:blur(18px);}
.hero-section .rcon-hero-video-column {isolation:isolate;}
.hero-floating-layer {position:absolute;inset:-70px -35px -75px;pointer-events:none;z-index:6;}
.hero-floating-chip {position:absolute;display:flex;align-items:center;gap:9px;
 padding:12px 15px;color:#f5fbff;font:700 11px/1.2 'Inter',sans-serif;letter-spacing:.01em;
 border:1px solid rgba(167,230,254,.46);border-radius:12px;
 background:linear-gradient(128deg,rgba(10,52,102,.90),rgba(12,73,128,.77));
 box-shadow:0 13px 42px rgba(2,13,37,.3),inset 0 1px 1px rgba(218,249,255,.13);
 backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
 animation:hero-hover 6s ease-in-out infinite;}
.hero-floating-chip i {font-size:15px;color:#65dcff;}
.float-chip-web {left:-69px;top:10%;transform:rotate(-7deg);animation-delay:0s;}
.float-chip-mobile {right:-38px;top:26%;transform:rotate(6deg);animation-delay:-1.5s;}
.float-chip-ai {left:-58px;bottom:23%;transform:rotate(5deg);animation-delay:-3s;}
.float-chip-growth {right:-26px;bottom:7%;transform:rotate(-5deg);animation-delay:-4.2s;}
.floating-spark {position:absolute;width:9px;height:9px;border-radius:50%;background:#7dd3fc;box-shadow:0 0 8px #7dd3fc,0 0 24px #38bdf8;animation:spark-glow 4s ease-in-out infinite;}
.floating-spark-one {right:12%;top:5%;} .floating-spark-two {left:10%;bottom:14%;animation-delay:-1.7s;}
.floating-orbit {position:absolute;width:130px;height:130px;border:1px solid rgba(56,189,248,.18);border-radius:50%;z-index:-2;}
.orbit-one {top:-70px;right:0;box-shadow:0 0 0 35px rgba(56,189,248,.035),0 0 0 70px rgba(56,189,248,.018);}
.orbit-two {bottom:-38px;left:-56px;width:91px;height:91px;}
@keyframes hero-hover {0%,100%{translate:0 0}50%{translate:0 -19px}}
@keyframes spark-glow {0%,100%{opacity:.45;scale:.68}50%{opacity:1;scale:1.35}}
.hero-video-floating-label {z-index:7;}
/* Service cards: locally generated custom related backgrounds, no external URL. */
.premium-services-surface {background:radial-gradient(ellipse at 50% 0%,#eff8ff 0%,#f7fbff 52%,#f1f7fe 100%)!important;}
.premium-services-surface .services-grid {gap:21px;}
.service-visual-card {isolation:isolate;position:relative!important;overflow:hidden!important;
 background:linear-gradient(140deg,#06152b,#0b2c57)!important;
 box-shadow:0 13px 30px rgba(1,29,62,.12),inset 0 1px 0 rgba(125,211,252,.2)!important;
 border:1px solid rgba(49,150,207,.3)!important;
 color:#f6faff!important;}
.service-visual-card::before {content:'';position:absolute;inset:0;z-index:-2;
 background-image:linear-gradient(90deg,rgba(3,13,31,.975) 0%,rgba(3,15,33,.90) 49%,rgba(3,19,45,.64) 100%),var(--service-art);
 background-size:cover;background-position:center;opacity:.58;transition:transform .7s cubic-bezier(.22,.61,.36,1),filter .5s ease,opacity .4s ease;}
.service-visual-card::after {content:''!important;position:absolute!important;inset:0!important;height:auto!important;
 background:linear-gradient(0deg,rgba(5,16,37,.58),rgba(5,16,37,.18) 55%,transparent 78%)!important;
 transform:none!important;pointer-events:none;z-index:-1;}
.service-visual-card:hover {transform:translateY(-9px);box-shadow:0 24px 58px rgba(5,45,80,.22)!important;border-color:rgba(99,210,255,.78)!important;}
.service-visual-card:hover::before {transform:scale(1.04);filter:saturate(1.08);opacity:.68;}
.service-visual-card h3 {color:#fff!important;text-shadow:0 2px 11px rgba(0,7,22,.35);}
.service-visual-card p {color:#d9e9f8!important;text-shadow:0 1px 8px rgba(0,12,27,.45);}
.service-visual-card .card-icon {color:#e5f9ff!important;background:rgba(46,165,229,.22)!important;
 border:1px solid rgba(165,227,253,.33);box-shadow:inset 0 1px 0 rgba(255,255,255,.15);backdrop-filter:blur(8px);}
.service-visual-card > div[style*="margin-top"] {color:#73d7ff!important;}
.service-visual-card .service-card-inner {position:relative;z-index:1;}
.service-card-item.service-visual-card {min-height:300px;padding:28px!important;}
.service-card-item.service-visual-card .service-card-inner span[style] {background:rgba(187,231,255,.14)!important;color:#e2f8ff!important;border:1px solid rgba(122,211,249,.18);}
.service-card-item.service-visual-card .service-card-inner div[style*="margin-top"] {color:#87ddff!important;}
.service-art-web{--service-art:url('../images/service-cards/web.webp')}
.service-art-mobile{--service-art:url('../images/service-cards/mobile.webp')}
.service-art-seo{--service-art:url('../images/service-cards/seo.webp')}
.service-art-digital{--service-art:url('../images/service-cards/digital.webp')}
.service-art-ai{--service-art:url('../images/service-cards/ai.webp')}
.service-art-ecommerce{--service-art:url('../images/service-cards/ecommerce.webp')}
/* Homepage service cards have identical proportions on real desktop and phone-fitted desktop. */
.premium-services-surface .services-grid .service-visual-card {min-height:325px!important;padding:30px!important;}
.premium-services-surface .services-grid .service-visual-card .card-icon {width:57px;height:57px;}
/* Comfortable focus indication on floated service links and desktop navigation. */
.service-visual-card:focus-visible,.nav-cta:focus-visible,.hero-floating-chip:focus-visible{outline:3px solid #4ccaff;outline-offset:4px;}
@media (prefers-reduced-motion:reduce) {
 .hero-floating-chip,.floating-spark{animation:none!important;}
 .service-visual-card:hover,.service-visual-card:hover::before{transform:none!important;}
}
