/* Syrve landing page (core:syrve). Everything is scoped to .rs-page so the
   site's Bootstrap and site.css styles stay untouched elsewhere. */
.rs-page {
    --rs-ink: #151f26;
    --rs-text: #40454f;
    --rs-muted: #6b7280;
    --rs-blue: #0061d5;
    --rs-blue-dark: #004fae;
    --rs-orange: #ff6120;
    --rs-orange-dark: #e8520f;
    --rs-soft: #f6f9fb;
    --rs-line: #e5eaf0;
    --rs-shadow: 0 5px 35px rgba(0, 0, 0, 0.05);
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--rs-ink);
    font-size: 15px;
    line-height: 1.5;
    background: #fff;
}
.rs-page *, .rs-page *::before, .rs-page *::after { box-sizing: border-box; }
/* Resets use :where() so they beat site.css element rules (h1-h6 colour,
   Bootstrap margins) but never outrank the .rs-* component classes below. */
.rs-page :where(h1, h2, h3, h4) {
    color: var(--rs-ink);
    font-family: inherit;
    letter-spacing: normal;
    margin: 0;
}
.rs-page :where(p) { margin: 0; }
.rs-page :where(ul) { list-style: none; margin: 0; padding: 0; }
.rs-page :where(a) { text-decoration: none; }
.rs-page :where(img) { display: block; max-width: 100%; height: auto; }

.rs-container { max-width: 1210px; margin: 0 auto; padding: 0 15px; }
.rs-section { padding: 120px 0; scroll-margin-top: 90px; }
.rs-section--soft { background: var(--rs-soft); }
.rs-title { font-size: 38px; font-weight: 500; line-height: 1.2; }
.rs-title--center { text-align: center; margin-bottom: 56px; }

/* Buttons */
.rs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 75px;
    padding: 17px 34px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.rs-btn--blue { background: var(--rs-blue); color: #fff; }
.rs-btn--blue:hover { background: var(--rs-blue-dark); color: #fff; }
.rs-btn--orange { background: var(--rs-orange); color: #fff; }
.rs-btn--orange:hover { background: var(--rs-orange-dark); color: #fff; }
.rs-btn--outline { background: transparent; color: var(--rs-blue); border-color: var(--rs-blue); }
.rs-btn--outline:hover { background: var(--rs-blue); color: #fff; }

/* Hero */
.rs-hero { background: var(--rs-soft); padding: 67px 0; }
.rs-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.rs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: var(--rs-blue);
    border: 1px solid #cfe0f6;
    border-radius: 75px;
    padding: 7px 14px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 22px;
}
.rs-hero h1 { font-size: 48px; font-weight: 600; line-height: 1.2; max-width: 540px; }
.rs-hero__lead { margin-top: 18px; font-size: 18px; color: var(--rs-text); max-width: 500px; }
.rs-hero__call { color: var(--rs-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.rs-hero__call i { color: var(--rs-blue); }
.rs-hero__call:hover { color: var(--rs-blue); }
.rs-hero__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }

/* Why cards */
.rs-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rs-why li {
    background: #fff;
    border-radius: 10px;
    padding: 28px 20px;
    box-shadow: var(--rs-shadow);
}
.rs-why__icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1.5px solid #ffd2bf;
    color: var(--rs-orange);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 26px;
}
.rs-why h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.rs-why p { font-size: 15px; color: var(--rs-text); line-height: 1.5; }

/* Split image + list sections */
.rs-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.rs-split--reverse .rs-split__media { order: 2; }
.rs-split__media img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.rs-split .rs-title { margin-bottom: 30px; }
.rs-split__media--device img,
.rs-panel img.rs-device {
    /* All device mockups are ~962x798; a fixed ratio reserves space before they load. */
    aspect-ratio: 962 / 798;
    object-fit: contain;
    border-radius: 0;
    filter: drop-shadow(0 18px 30px rgba(21, 31, 38, 0.18));
}

.rs-checks li {
    position: relative;
    padding-left: 42px;
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 18px;
}
.rs-checks li:last-child { margin-bottom: 0; }
.rs-checks li::before,
.rs-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--rs-blue);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230061d5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.rs-checks--lg li { font-size: 24px; padding-left: 46px; margin-bottom: 22px; }
.rs-checks--lg li::before { top: 3px; }

/* Function tabs */
.rs-tabs {
    display: flex;
    gap: 6px;
    background: var(--rs-soft);
    border-radius: 75px;
    padding: 6px;
    margin-bottom: 56px;
}
.rs-tab {
    flex: 1;
    min-height: 52px;
    border: 0;
    border-radius: 75px;
    background: transparent;
    color: var(--rs-ink);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 18px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.rs-tab:hover { background: #eaf0f6; }
.rs-tab[aria-selected="true"] { background: var(--rs-ink); color: #fff; }
.rs-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 50px; align-items: center; }
.rs-panel[hidden] { display: none; }
.rs-panel h3 { font-size: 24px; font-weight: 600; line-height: 1.2; margin-bottom: 30px; }
.rs-panel__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.rs-checklist li, .rs-pluslist li {
    position: relative;
    padding-left: 36px;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 18px;
}
.rs-checklist li::before { width: 22px; height: 22px; top: 0; background-size: 12px; }
.rs-pluslist li::before {
    content: "+";
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--rs-orange);
    color: var(--rs-orange);
    font-weight: 700;
    font-size: 16px;
    line-height: 17px;
    text-align: center;
}
.rs-panel img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }

/* Blue CTA band */
.rs-cta { background: var(--rs-blue); color: #fff; padding: 64px 0; text-align: center; scroll-margin-top: 90px; }
.rs-cta h2 { color: #fff; font-size: 38px; font-weight: 500; line-height: 1.2; max-width: 640px; margin: 0 auto; }
.rs-cta__sub { margin-top: 12px; font-size: 16px; color: rgba(255, 255, 255, 0.85); }
.rs-cta__form { margin: 30px auto 0; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.rs-phone {
    display: flex;
    align-items: center;
    background: var(--rs-soft);
    border-radius: 75px;
    width: 370px;
    max-width: 100%;
    height: 54px;
    padding: 0 6px 0 18px;
}
.rs-phone__code { color: var(--rs-ink); font-size: 15px; font-weight: 500; padding-right: 10px; border-right: 1px solid #d7dee6; white-space: nowrap; }
.rs-phone input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    color: #0d0e10;
    padding: 0 12px;
    height: 100%;
}
.rs-phone:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45); }
.rs-cta__error { margin-top: 12px; color: #ffe1d6; font-size: 14px; font-weight: 500; }
.rs-cta__ok {
    margin: 30px auto 0;
    max-width: 560px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    padding: 20px 24px;
    font-size: 16px;
}
.rs-cta__ok strong { color: #fff; }
.rs-contacts {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 34px;
    font-size: 15px;
}
.rs-contacts a, .rs-contacts span { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.rs-contacts a:hover { text-decoration: underline; color: #fff; }
.rs-contacts i { font-size: 17px; opacity: 0.9; }

/* Packages */
.rs-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.rs-price {
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--rs-shadow);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.rs-price--featured { box-shadow: 0 10px 40px rgba(0, 97, 213, 0.14); outline: 2px solid var(--rs-blue); }
.rs-price h3 { color: var(--rs-blue); font-size: 28px; font-weight: 500; }
.rs-price__for { margin-top: 10px; color: var(--rs-text); font-size: 14px; min-height: 42px; }
.rs-price__amount { margin-top: 14px; font-size: 30px; font-weight: 500; }
.rs-tag { display: block; margin: 20px 0 26px; border-radius: 75px; padding: 7px 12px; font-size: 13px; font-weight: 500; }
.rs-tag--yellow { background: #fff1c7; color: #8a5a00; }
.rs-tag--green { background: #d9f7e3; color: #13703a; }
.rs-tag--blue { background: #dcebfd; color: #0a4fa6; }
.rs-price .rs-checklist { text-align: left; flex: 1; margin-bottom: 30px; }
.rs-price .rs-checklist li { font-size: 15px; }
.rs-price .rs-btn { align-self: center; }

/* Services */
.rs-services { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.rs-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.rs-collage img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.rs-collage img:nth-child(2) { grid-row: span 2; aspect-ratio: 3 / 4; }
.rs-service-list li {
    position: relative;
    background: #fff;
    box-shadow: var(--rs-shadow);
    border-radius: 10px;
    padding: 29px 24px 29px 85px;
    margin-bottom: 20px;
}
.rs-service-list li:last-child { margin-bottom: 0; }
.rs-service-list__num {
    position: absolute;
    left: 28px;
    top: 28px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--rs-blue);
    color: var(--rs-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rs-service-list h3 { font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.rs-service-list p { color: var(--rs-text); font-size: 15px; }

/* FAQ */
.rs-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; align-items: start; }
.rs-faq__item { background: var(--rs-soft); border-radius: 10px; }
.rs-faq__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border: 0;
    background: transparent;
    text-align: left;
    font-family: inherit;
    font-size: 17px;
    font-weight: 500;
    color: var(--rs-ink);
    padding: 16px 18px;
    cursor: pointer;
}
.rs-faq__icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rs-blue);
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    transition: transform 0.2s ease;
}
.rs-faq__q[aria-expanded="true"] .rs-faq__icon { transform: rotate(45deg); }
.rs-faq__a { padding: 0 18px 18px; color: var(--rs-text); font-size: 15px; line-height: 1.6; }

/* Hero call form + trust stats */
.rs-hero__formlabel { margin-top: 30px; font-weight: 600; font-size: 15px; color: var(--rs-ink); }
.rs-cta__form--hero { justify-content: flex-start; margin: 12px 0 0; max-width: 540px; }
.rs-cta__form--hero .rs-phone { background: #fff; border: 1px solid #d7e2ee; flex: 1 1 260px; width: auto; }
.rs-cta__form--hero .rs-phone:focus-within { border-color: var(--rs-blue); box-shadow: 0 0 0 3px rgba(0, 97, 213, 0.15); }
.rs-cta__error--hero { color: #c2410c; text-align: left; }
.rs-hero__call { margin-top: 16px; font-size: 15px; }
.rs-stats { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 34px; padding-top: 26px; border-top: 1px solid #dfe7ef; }
.rs-stats li { display: flex; flex-direction: column; }
.rs-stats strong { font-size: 24px; font-weight: 700; color: var(--rs-blue); line-height: 1.1; }
.rs-stats span { font-size: 13px; color: var(--rs-muted); margin-top: 4px; }

/* Sticky section nav */
.rs-subnav {
    position: sticky;
    top: var(--rs-sticky-top, 0px);
    z-index: 900;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--rs-line);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.rs-subnav__inner { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.rs-subnav__inner::-webkit-scrollbar { display: none; }
.rs-subnav a {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 75px;
    color: var(--rs-text);
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.rs-subnav a:hover { background: var(--rs-soft); color: var(--rs-ink); }
.rs-subnav a.is-active { background: var(--rs-ink); color: #fff; }
.rs-subnav a.rs-subnav__cta { margin-left: auto; background: var(--rs-orange); color: #fff; }
.rs-subnav a.rs-subnav__cta:hover, .rs-subnav a.rs-subnav__cta.is-active { background: var(--rs-orange-dark); color: #fff; }
.rs-page .rs-section, .rs-page .rs-cta { scroll-margin-top: calc(var(--rs-sticky-top, 0px) + 70px); }

/* Steps */
.rs-section--tight { padding: 100px 0; }
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: none; position: relative; }
.rs-steps::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #bcd3ef 0 8px, transparent 8px 16px);
}
.rs-steps li { position: relative; text-align: center; padding: 0 8px; }
.rs-steps__num {
    position: relative;
    z-index: 1;
    width: 46px;
    height: 46px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: var(--rs-blue);
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px #fff, 0 8px 20px rgba(0, 97, 213, 0.25);
}
.rs-steps h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.rs-steps p { color: var(--rs-text); font-size: 15px; }
.rs-steps__cta { text-align: center; margin-top: 44px; }

/* Scroll reveal (only when JS is running and motion is allowed) */
@media (prefers-reduced-motion: no-preference) {
    .rs-js .rs-reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
    .rs-js .rs-reveal.is-visible { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
    .rs-why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .rs-section { padding: 80px 0; }
    .rs-steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .rs-steps::before { display: none; }
    .rs-hero__grid, .rs-split, .rs-panel, .rs-services { grid-template-columns: 1fr; gap: 40px; }
    .rs-split--reverse .rs-split__media { order: 0; }
    .rs-prices { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .rs-faq { grid-template-columns: 1fr; }
    .rs-tabs { overflow-x: auto; }
    .rs-tab { flex: 0 0 auto; }
}
@media (max-width: 640px) {
    .rs-section { padding: 60px 0; }
    .rs-section--tight { padding: 60px 0; }
    .rs-steps { grid-template-columns: 1fr; row-gap: 30px; }
    .rs-stats { gap: 14px 22px; }
    .rs-stats strong { font-size: 20px; }
    .rs-cta__form--hero .rs-btn { width: 100%; max-width: none; }
    .rs-subnav a { padding: 7px 12px; font-size: 13px; }
    .rs-subnav a.rs-subnav__cta { margin-left: 0; }
    .rs-hero { padding: 40px 0 50px; }
    .rs-hero h1 { font-size: 34px; }
    .rs-hero__lead { font-size: 16px; }
    .rs-title, .rs-cta h2 { font-size: 28px; }
    .rs-title--center { margin-bottom: 36px; }
    .rs-why { grid-template-columns: 1fr; }
    .rs-checks li { font-size: 18px; }
    .rs-checks--lg li { font-size: 20px; }
    .rs-panel__lists { grid-template-columns: 1fr; }
    .rs-tabs { border-radius: 14px; flex-wrap: wrap; overflow: visible; }
    .rs-tab { flex: 1 1 45%; border-radius: 10px; min-height: 46px; }
    .rs-cta { padding: 50px 0; }
    .rs-cta__form .rs-btn { width: 100%; max-width: 370px; }
    .rs-service-list li { padding: 24px 18px 24px 70px; }
    .rs-service-list__num { left: 20px; top: 24px; }
    .rs-faq__q { font-size: 16px; }
}
