/* Marmaks — solution pages (/rishennia/). Theme accent #956F58, ink #394452. */

:root { --rs-accent: #956f58; --rs-ink: #394452; --rs-muted: #5f6873; --rs-line: #e6e1dc; --rs-soft: #faf8f6; }

#rs-form { scroll-margin-top: 120px; }

/* Hero */
.rs-hero { position: relative; padding: 150px 0 110px; background-size: cover; background-position: center; color: #fff; }
.rs-hero { overflow: hidden; }
.rs-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
@media (prefers-reduced-motion: reduce) { .rs-hero-video { display: none; } }
.rs-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(31,39,50,.92) 0%, rgba(31,39,50,.82) 55%, rgba(31,39,50,.72) 100%); }
.rs-hero h1 { color: #fff; font-size: 48px; line-height: 1.15; max-width: 820px; margin: 10px 0 24px; }
.rs-kicker { display: inline-block; color: #e2c7b4; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 14px; }
.rs-crumbs { list-style: none; margin: 0; padding: 10px 18px; display: inline-flex; flex-wrap: wrap; gap: 6px 10px; background: rgba(255,255,255,.14); font-size: 15px; font-weight: 600; }
.rs-crumbs li { color: rgba(255,255,255,.8); }
.rs-crumbs li + li::before { content: "•"; color: var(--rs-accent); margin-right: 10px; }
.rs-crumbs a { color: #fff; }
.rs-crumbs a:hover { color: #e2c7b4; }

/* Sections */
.rs-section { padding: 80px 0; }
.rs-lead { font-size: 19px; line-height: 1.7; color: var(--rs-ink); margin-bottom: 26px; }
.rs-points li { color: var(--rs-ink); font-weight: 600; }
.rs-points li::before { color: var(--rs-accent); }

.rs-cta-box { background: var(--rs-ink); color: #fff; padding: 34px 32px; border-radius: 6px; }
.rs-cta-box h2 { color: #fff; margin-bottom: 12px; }
.rs-cta-box p { color: rgba(255,255,255,.8); margin-bottom: 22px; }
.rs-cta-box .btn-style1 { margin-right: 16px; }
.rs-phone { display: inline-block; margin-top: 14px; color: #fff; font-weight: 700; font-size: 18px; white-space: nowrap; }
.rs-phone:hover { color: #e2c7b4; }

/* Cards: what we supply */
.rs-card { height: 100%; background: #fff; border: 1px solid var(--rs-line); border-top: 3px solid var(--rs-accent); padding: 28px 26px; transition: box-shadow .25s, transform .25s; }
.rs-card:hover { box-shadow: 0 14px 36px rgba(0,0,0,.08); transform: translateY(-3px); }
.rs-card .rs-num { display: block; color: var(--rs-accent); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.rs-card h3 { margin-bottom: 8px; color: var(--rs-ink); }
.rs-card p { margin: 0; color: var(--rs-muted); line-height: 1.6; }

/* Steps */
.rs-step { height: 100%; padding: 26px 22px; background: var(--rs-soft); border-radius: 6px; }
.rs-step span { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: var(--rs-accent); color: #fff; font-weight: 800; margin-bottom: 14px; }
.rs-step h3 { color: var(--rs-ink); margin-bottom: 6px; }
.rs-step p { margin: 0; color: var(--rs-muted); }

/* Projects */
.rs-project { display: block; height: 100%; background: #fff; border: 1px solid var(--rs-line); padding: 28px 26px; color: var(--rs-ink); transition: border-color .25s, box-shadow .25s; }
.rs-project:hover { border-color: var(--rs-accent); box-shadow: 0 14px 36px rgba(0,0,0,.08); color: var(--rs-ink); }
.rs-year { display: block; color: var(--rs-accent); font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.rs-project { display: flex; flex-direction: column; }
.rs-project h3 { margin-bottom: 10px; }
.rs-buyer { margin: 0 0 14px; color: var(--rs-muted); font-size: 15px; line-height: 1.5; }
.rs-more { display: inline-block; margin-top: auto; color: var(--rs-accent); font-weight: 700; }

/* FAQ */
.rs-faq details { border: 1px solid var(--rs-line); background: #fff; margin-bottom: 12px; }
.rs-faq summary { list-style: none; cursor: pointer; padding: 18px 50px 18px 22px; font-weight: 700; color: var(--rs-ink); position: relative; }
.rs-faq summary::-webkit-details-marker { display: none; }
.rs-faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--rs-accent); }
.rs-faq details[open] summary::after { content: "−"; }
.rs-faq details p { margin: 0; padding: 0 22px 20px; color: var(--rs-muted); line-height: 1.65; }

/* Form */
.rs-form-box { background: var(--rs-soft); border: 1px solid var(--rs-line); padding: 34px 32px; }
.rs-form-box > p { color: var(--rs-muted); }
.rs-form .form-control { border-radius: 0; border-color: var(--rs-line); padding: 12px 14px; font-size: 16px; } /* 16px: no zoom on focus on iOS */
.rs-form .form-control:focus { border-color: var(--rs-accent); box-shadow: none; }
.rs-form .is-invalid { border-color: #c0392b; }
.rs-form button[disabled] { opacity: .6; }
.rs-form-status { margin: 12px 0 0; font-weight: 600; }
.rs-form-status.ok { color: #2e7d32; }
.rs-form-status.err { color: #c0392b; }

/* Other solutions */
/* +48px: the footer's first row (mt-n5) pulls the footer up over the last section. */
.rs-other { padding: 50px 0 98px; }
/* Other solutions: photo tiles (5 in a row on desktop, 3 on tablet, 2 on phone). */
.rs-other-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.rs-other-list a { position: relative; display: flex; align-items: flex-end; min-height: 180px; padding: 20px; border-radius: 6px; overflow: hidden; background: var(--rs-ink); color: #fff; font-weight: 700; font-size: 16px; line-height: 1.3; isolation: isolate; }
.rs-other-list a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--rs-img) center / cover no-repeat; transition: transform .5s ease; }
.rs-other-list a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(31,39,50,.3) 0%, rgba(31,39,50,.9) 100%); }
.rs-other-list a span { position: relative; padding-top: 14px; }
.rs-other-list a span::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 3px; background: var(--rs-accent); transition: width .3s ease; }
.rs-other-list a:hover { color: #fff; }
.rs-other-list a:hover::before { transform: scale(1.07); }
.rs-other-list a:hover span::before { width: 48px; }

@media (max-width: 991px) {
	.rs-hero { padding: 120px 0 80px; }
	.rs-hero h1 { font-size: 36px; }
	.rs-section { padding: 60px 0; }
	#rs-form { padding-bottom: 40px; }
	.rs-other { padding: 28px 0 88px; }
	.rs-other-list { grid-template-columns: repeat(3, 1fr); }
	.rs-other h2 { margin-bottom: 16px !important; }
}
@media (max-width: 767px) {
	.rs-other-list { grid-template-columns: 1fr 1fr; gap: 12px; }
	.rs-other-list a { min-height: 120px; padding: 14px; font-size: 15px; }
	.rs-other-list a:last-child:nth-child(odd) { grid-column: 1 / -1; min-height: 100px; }
}
@media (max-width: 575px) {
	.rs-hero h1 { font-size: 28px; }
	.rs-lead { font-size: 17px; }
	.rs-cta-box, .rs-form-box { padding: 26px 20px; }
}
