/* RedTech visual and accessibility refinements. Loaded after the original styles. */
:root { --redtech-red: #c7352b; --redtech-ink: #19232e; }
body { font-family: Arial, Helvetica, sans-serif; color: var(--redtech-ink); line-height: 1.65; }
.container { max-width: 100%; }
img { max-width: 100%; height: auto; }
button, input, textarea { font: inherit; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #1674cb; outline-offset: 5px; }
section { scroll-margin-top: 25px; }
.main-bg, .panel-default > .panel-heading { background-color: var(--redtech-red); }
.main-color { color: var(--redtech-red); }
.button { border-radius: 8px; padding: 16px 32px; min-height: 48px; transition: background-color .2s, box-shadow .2s; }
.button.light { padding: 14px 30px; }
.button.main-bg:hover { background-color: #a92921; box-shadow: 0 8px 22px #0002; }
.skip-link { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: #fff; color: #111; z-index: 1100; }
.skip-link:focus { top: 12px; }
header { height: max(740px, 100svh); background: #17212b; }
header .logo-container { top: 30px; left: 6%; width: min(420px, 65%); height: auto; }
header .logo-container img { display: block; width: 100%; height: auto; }
header .fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg,rgba(8,19,30,.84),rgba(8,19,30,.4)); }
.carousel-caption { top: 26%; left: 12%; right: 12%; bottom: 110px; display: flex; flex-direction: column; justify-content: center; text-align: left; text-shadow: 0 2px 15px #0005; }
.carousel-caption .hero-title { font-family: 'Campton Light', Arial, sans-serif; font-size: clamp(28px,3.7vw,52px); line-height: 1.15; text-transform: none; font-weight: normal; max-width: 1000px; }
.carousel-caption p { font-size: 20px; margin-top: 18px; }
.carousel-caption .margin-bottom-medium { margin-bottom: 24px; }
.carousel-caption .call-button .row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.carousel-caption .call-button .row > div { width: auto; margin: 0; padding: 0; }
.carousel-caption .call-button .button { float: none !important; margin: 0; }
.carousel-control { width: 8%; z-index: 12; }
.carousel-indicators { bottom: 27px; height: 24px; }
.carousel-indicators li, .carousel-indicators li.active { width: 32px; height: 24px; margin: 0 3px; background: transparent; text-indent: 0; }
.carousel-indicators button { display: block; width: 100%; height: 24px; border: 0; padding: 10px 0; background: transparent; }
.carousel-indicators button::after { content: ''; display: block; height: 4px; border-radius: 4px; background: #ffffff80; }
.carousel-indicators .active button::after { background: #fff; }
.carousel-pause { position: absolute; bottom: 70px; left: 50%; transform: translateX(-50%); z-index: 15; color: #fff; background: #13202ccc; border: 1px solid #ffffff80; border-radius: 20px; padding: 6px 15px; font-size: 13px; min-height: 36px; }
.menu-trigger { top: 28px; right: 5%; width: 52px; height: 52px; padding: 0; background: #182633; border: 1px solid #ffffff50; border-radius: 12px; z-index: 1001; box-shadow: 0 4px 20px #0002; }
.hamburger { position: absolute; top: 2px; left: 11px; }
.mobilenav { z-index: 1000; overflow-y: auto; padding: 90px 24px 40px; background: rgba(15,25,35,.98); }
.mobilenav ul { max-width: 650px; margin: auto; }
.mobilenav li { padding: 0; }
.mobilenav a { display: block; padding: 12px; color: #fff; border-radius: 8px; font-size: clamp(20px,3vw,32px); }
.mobilenav a:hover, .mobilenav a:focus { background: #ffffff12; }
body.menu-open { overflow: hidden; }
.padding-large { padding-top: 76px; padding-bottom: 76px; }
.panel-heading, .panel-title > a { border-radius: 8px; }
.panel-title > a { padding: 18px; line-height: 1.4; }
.panel-body { line-height: 1.75; }
.why-choose-us p, .portfolio .filters a { color: #59616a; }
.about-us img { margin-top: 0; }
.portfolio a:focus .portfolio-overlay { opacity: 1; }
.form-control { height: auto; min-height: 48px; border-radius: 6px; }
.field-label { display: block; text-align: left; color: #263441; font-size: 14px; }
.contact-form .modal-body { padding: 42px 28px 24px; }
.contact-form h2 { color: #19232e; font-size: 26px; margin-bottom: 16px; }
.send-message .form-notice { font-size: 15px; color: #394859; }
.button:disabled { opacity: .65; cursor: not-allowed; }
.send-message .send-icon { border: 3px solid #fff; background: var(--redtech-red); }
#map-container { background: #edf1f4; display: grid; place-items: center; }
.map-fallback { padding: 32px; text-align: center; color: #465665; }
.back-to-top { border: 0; min-width: 44px; min-height: 44px; }
.footer-logo { max-width: 260px; }
@media (max-width: 767px) {
  header { height: max(760px, 100svh); }
  header .logo-container { top: 26px; left: 22px; width: calc(100% - 112px); max-width: 350px; }
  .menu-trigger { top: 20px; right: 18px; }
  .carousel-caption { top: 145px; left: 10%; right: 10%; bottom: 120px; }
  .carousel-caption .hero-title { font-size: clamp(25px,6.3vw,40px); line-height: 1.2; text-align: left; }
  .carousel-caption p { font-size: 17px; }
  .carousel-caption .button { padding: 13px 21px; }
  .carousel-caption .button.light { padding: 11px 19px; }
  .carousel-control .icon-prev, .carousel-control .icon-next { font-size: 32px !important; }
  .padding-large { padding-top: 52px; padding-bottom: 52px; }
  .case-study-left .overlay, .case-study-right .overlay { padding-left: 24px; padding-right: 24px; }
  .processes .description { width: auto; }
  .about-us, .our-skills, .testimonial, .twitter { background-attachment: scroll; }
  .send-message p { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wow { visibility: visible !important; }
}
