/* RuntakRails overrides on the Tecture template — Oleabit */
:root{
  --tecture-base:#1E88C8;
  --tecture-base-rgb:30,136,200;
  --tecture-black:#1C1F22;
  --tecture-black-rgb:28,31,34;
}
/* Blue buttons: white text, dark text on the white hover fill */
.thm-btn{color:#fff}
.thm-btn:hover{color:var(--tecture-black)}

/* RuntakRails logo: rail-line mark + Archivo wordmark */
.rr-logo{display:inline-flex;align-items:center;gap:12px;text-decoration:none;line-height:1}
.rr-logo svg{width:40px;height:40px;flex:none}
.rr-word{display:flex;flex-direction:column;gap:6px}
.rr-name{font-family:"Archivo",sans-serif;font-stretch:125%;font-variation-settings:"wdth" 125;font-weight:800;font-size:28px;line-height:.85;color:#fff;letter-spacing:0}
.rr-sub{display:flex;justify-content:space-between;gap:10px;font-family:"Archivo",sans-serif;font-weight:500;font-size:8px;letter-spacing:.5em;color:#A9B0B6}
.footer-widget__logo .rr-logo svg{width:48px;height:48px}
.footer-widget__logo .rr-name{font-size:34px}
.footer-widget__logo .rr-sub{font-size:9px}

/* Photos from external sources should always fill their frames */
.main-slider__bg{background-size:cover;background-position:center}
.about-one__img img,.about-one__design-make-img img,.services-one__img img,
.projects-one__img img,.design-interior__img img{width:100%;height:100%;object-fit:cover}
.about-one__img{height:620px}
.about-one__img-list li:nth-child(2) .about-one__img{height:520px}
.about-one__design-make-img{width:110px;height:110px;flex:none}
.services-one__img{height:249px;overflow:hidden}
.projects-one__img{height:584px;overflow:hidden}
.design-interior__img{height:100%;min-height:420px}
.projects-one__img img{filter:grayscale(.35) contrast(1.05)}

.about-one__lead{color:#c9c9c9;font-size:17px;line-height:1.7;margin:22px 0 26px;max-width:560px}

.rr-pos-left{object-position:30% 50%}
.rr-pos-rail{object-position:75% 50%}
.rr-pos-stair{object-position:85% 85%}

/* Testimonials: initials instead of stock faces */
.rr-initials{width:70px;height:70px;border-radius:50%;background:var(--tecture-base);color:var(--tecture-black);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px}

/* Client names in the brand carousel */
.rr-brand{display:flex;align-items:center;justify-content:center;height:90px;font-family:var(--tecture-font);font-weight:800;font-size:28px;letter-spacing:-.01em;color:rgba(255,255,255,.55);transition:color .3s}
.rr-brand:hover{color:var(--tecture-base)}

/* Quote panel replacing the contact form */
.rr-quote-panel p{color:#c9c9c9;font-size:17px;line-height:1.7;margin:0 0 18px}
.rr-quote-panel ul{margin:0 0 30px;padding:0;list-style:none}
.rr-quote-panel li{color:#e6e6e6;padding:10px 0 10px 30px;position:relative;border-bottom:1px solid var(--tecture-bdr-color)}
.rr-quote-panel li::before{content:"";position:absolute;left:0;top:19px;width:14px;height:3px;background:var(--tecture-base)}
.rr-quote-panel .btns{display:flex;flex-wrap:wrap;gap:14px}
.thm-btn.rr-ghost{background:transparent;border:2px solid var(--tecture-base);color:#fff}
.thm-btn.rr-ghost:hover{color:var(--tecture-black)}

/* Concept badge */
.rr-concept{position:fixed;left:16px;bottom:16px;z-index:999;background:var(--tecture-base);color:var(--tecture-black);font:600 13px/1.3 var(--tecture-font);padding:8px 12px;max-width:260px;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.rr-concept a{color:var(--tecture-black);text-decoration:underline}
.rr-concept button{background:none;border:0;margin-left:6px;font-weight:800;cursor:pointer;color:var(--tecture-black)}

/* Hide the template's floating "back to top" so it doesn't collide with the chat bubble */
.scroll-to-top{display:none!important}

@media (max-width:1199px){
  .about-one__img{height:460px}
  .about-one__img-list li:nth-child(2) .about-one__img{height:380px}
}
@media (max-width:767px){
  .rr-logo svg{width:32px;height:32px}
  .rr-name{font-size:22px}
  .rr-sub{font-size:7px}
  .about-one__img,.about-one__img-list li:nth-child(2) .about-one__img{height:300px}
  .projects-one__img{height:420px}
  .rr-brand{font-size:22px}
  .rr-concept{max-width:180px;font-size:11px;padding:6px 10px}
}

/* Keep email addresses lowercase (template capitalizes footer links) */
.footer-widget__link li, .footer-widget__link li a{text-transform:none}

/* Logo as vector (outlined), matches the brand files */
.rr-logo svg.rr-full{width:214px;height:auto;display:block}
.footer-widget__logo .rr-logo svg.rr-full{width:260px}
.mobile-nav__content .rr-logo svg.rr-full{width:190px}
@media (max-width:767px){.rr-logo svg.rr-full{width:170px}}

/* ===================== Multi-page additions ===================== */

/* Inner page headers */
.page-header__bg{opacity:.55}
.page-header__inner{padding:170px 0 150px}
.page-header__title-box p{color:var(--tecture-base);font-weight:600;letter-spacing:.08em;text-transform:uppercase;font-size:14px;margin-bottom:10px}
.page-header__title-box h1{font-size:72px;font-weight:700;line-height:1.1;text-transform:uppercase;margin:0;color:#fff}
.thm-breadcrumb li, .thm-breadcrumb li a{text-transform:none}
@media (max-width:991px){.page-header__title-box h1{font-size:52px}}
@media (max-width:767px){
  .page-header__inner{padding:130px 0 110px}
  .page-header__title-box h1{font-size:38px}
  .thm-breadcrumb__box{position:relative;bottom:auto;margin-top:16px}
}

/* Generic section spacing for the new content blocks */
.rr-section{position:relative;display:block;padding:110px 0}
.rr-section--tight{padding:80px 0}
.rr-section--alt{background:#16181b}
.rr-lead{color:#c9c9c9;font-size:18px;line-height:1.75;margin:18px 0 0}
.rr-text{color:#b9bcbf;font-size:16px;line-height:1.8;margin:0 0 16px}
.rr-eyebrow{display:inline-block;color:var(--tecture-base);font-weight:700;font-size:14px;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px}
.rr-h2{font-size:46px;line-height:1.12;font-weight:700;text-transform:uppercase;color:#fff;margin:0}
.rr-h3{font-size:24px;line-height:1.3;font-weight:700;color:#fff;margin:0 0 12px}
@media (max-width:767px){.rr-h2{font-size:32px}.rr-section{padding:80px 0}}

/* Cards */
.rr-card{height:100%;background:#1c1f22;border:1px solid rgba(255,255,255,.08);padding:34px 30px;transition:border-color .3s, transform .3s}
.rr-card:hover{border-color:var(--tecture-base);transform:translateY(-4px)}
.rr-card__num{font-family:"Archivo",sans-serif;font-weight:800;font-size:44px;line-height:1;color:var(--tecture-base);margin-bottom:18px;display:block}
.rr-card p{color:#b9bcbf;margin:0;line-height:1.7}
.rr-grid{row-gap:24px}

/* Ticked list */
.rr-ticks{list-style:none;margin:18px 0 0;padding:0}
.rr-ticks li{position:relative;padding:9px 0 9px 32px;color:#e6e6e6;border-bottom:1px solid rgba(255,255,255,.07)}
.rr-ticks li::before{content:"";position:absolute;left:2px;top:15px;width:14px;height:8px;border-left:3px solid var(--tecture-base);border-bottom:3px solid var(--tecture-base);transform:rotate(-45deg)}

/* Stats band */
.rr-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.rr-stat{padding:38px 24px;border-right:1px solid rgba(255,255,255,.08)}
.rr-stat:last-child{border-right:0}
.rr-stat strong{display:block;font-family:"Archivo",sans-serif;font-weight:800;font-size:48px;line-height:1;color:#fff}
.rr-stat span{display:block;margin-top:10px;color:#a9b0b6;font-size:15px}
@media (max-width:991px){.rr-stats{grid-template-columns:repeat(2,1fr)}.rr-stat:nth-child(2){border-right:0}.rr-stat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.08)}}
@media (max-width:575px){.rr-stats{grid-template-columns:1fr}.rr-stat{border-right:0;border-bottom:1px solid rgba(255,255,255,.08)}}

/* Image frame */
.rr-img{position:relative;overflow:hidden;height:100%;min-height:420px}
.rr-img img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0}
@media (max-width:991px){.rr-img{min-height:320px;margin-bottom:40px}}

/* CTA band */
.rr-cta{position:relative;background:var(--tecture-base);padding:64px 0;overflow:hidden}
.rr-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap}
.rr-cta h2{color:#fff;font-size:40px;line-height:1.15;margin:0;text-transform:uppercase;font-weight:700}
.rr-cta p{color:rgba(255,255,255,.88);margin:10px 0 0;font-size:17px}
.rr-cta .thm-btn{background:var(--tecture-black);color:#fff}
.rr-cta .thm-btn:hover{color:var(--tecture-black)}
.rr-cta .thm-btn.rr-ghost{background:transparent;border-color:#fff}
.rr-cta .btns{display:flex;gap:14px;flex-wrap:wrap}
@media (max-width:767px){.rr-cta h2{font-size:28px}}

/* Service detail page */
.service-details__services-list li a{text-transform:none}
.service-details__img{height:440px;overflow:hidden}
.service-details__img img{width:100%;height:100%;object-fit:cover}
.rr-spec{width:100%;border-collapse:collapse;margin:20px 0 10px}
.rr-spec th,.rr-spec td{text-align:left;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.08);vertical-align:top}
.rr-spec th{color:#fff;width:34%;font-weight:600}
.rr-spec td{color:#b9bcbf}

/* Projects grid page */
.rr-proj{position:relative;overflow:hidden;height:380px;display:block;background:#111}
.rr-proj img{width:100%;height:100%;object-fit:cover;filter:grayscale(.3) contrast(1.05);transition:transform .6s, filter .4s}
.rr-proj:hover img{transform:scale(1.05);filter:none}
.rr-proj__cap{position:absolute;left:0;right:0;bottom:0;padding:22px 24px;background:linear-gradient(0deg,rgba(0,0,0,.85),rgba(0,0,0,0))}
.rr-proj__cap span{display:block;color:var(--tecture-base);font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.rr-proj__cap h3{color:#fff;font-size:24px;margin:6px 0 0}
.rr-filter{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin:0 0 44px;padding:0;list-style:none}
.rr-filter li{cursor:pointer;padding:10px 22px;border:1px solid rgba(255,255,255,.15);color:#ddd;font-weight:600;transition:all .25s}
.rr-filter li.active,.rr-filter li:hover{background:var(--tecture-base);border-color:var(--tecture-base);color:#fff}
.rr-proj-item{margin-bottom:24px}

/* FAQ accordion title text should not be uppercase-shouty */
.faq-page .accrodion-title h4{text-transform:none}

/* Contact page */
.rr-contact-card{background:#1c1f22;border:1px solid rgba(255,255,255,.08);padding:34px 30px;height:100%}
.rr-contact-card .icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;background:var(--tecture-base);color:#fff;font-size:22px;margin-bottom:22px}
.rr-contact-card h3{color:#fff;font-size:22px;margin:0 0 8px}
.rr-contact-card p,.rr-contact-card a{color:#c9c9c9;margin:0;line-height:1.7}
.rr-contact-card a:hover{color:var(--tecture-base)}
.rr-map{width:100%;height:420px;border:0;filter:grayscale(1) invert(.92) contrast(.9)}

/* Dropdown links keep normal case */
.main-menu .main-menu__list>li>ul>li>a{text-transform:none}

/* FAQ: number questions across both columns, normal case */
.faq-page{counter-reset:count}
.faq-page .accrodion-grp,.faq-page .project-details__faq-box,.faq-page .accrodion{counter-reset:none}
.faq-page .accrodion-title h4{text-transform:none!important;letter-spacing:0}
.faq-page__right .project-details__faq-box-count::before{}

/* Service sidebar contact box in brand blue instead of template khaki */
.service-details__contact-box{background-color:var(--tecture-base)!important;background-image:none!important}
.service-details__contact-box::before,.service-details__contact-box::after{display:none!important}
.service-details__contact-box .service-details__title,.service-details__contact-box .service-details__text,
.service-details__contact-box .service-details__number a{color:#fff!important}
.service-details__contact-box .service-details__icon{background:#fff!important}
.service-details__contact-box .service-details__icon span{color:var(--tecture-base)!important}

/* Contact map: give it a frame while it loads, stack nicely on phones */
.rr-map{background:#1c1f22;display:block}
@media (max-width:991px){.rr-map{margin-top:50px;height:340px}}

/* Gallery captions: stronger shade, lighter label for legibility over photos */
.rr-proj__cap{padding:60px 24px 22px;background:linear-gradient(0deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.6) 55%,rgba(0,0,0,0) 100%)}
.rr-proj__cap span{color:#8cc9ee}

/* Preloader: RuntakRails mark instead of the template icon */
.preloader{background:#1C1F22}
.preloader__image{background-image:url(../images/favicons/favicon.svg);background-size:64px 64px;-webkit-animation:rrPulse 1.2s ease-in-out infinite;animation:rrPulse 1.2s ease-in-out infinite}
@keyframes rrPulse{0%,100%{opacity:.35;transform:scale(.92)}50%{opacity:1;transform:scale(1)}}
