/* RSA Revisers – shared site styles (loaded after all vendor CSS) */

:root {
    --brand: #e62b1e;
    --brand-dark: #b81f14;
    --brand-tint: #fff0f0;
    --ink: #111;
    --muted: #666;
    --line: #eee;
    --radius: 4px;
    --shadow: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-hover: 0 10px 24px rgba(230, 43, 30, .16);
    --ease: .25s ease;
}

html { scroll-behavior: smooth; }

/* ---------- Global ---------- */
.bg-black { background-color: #000; }
.navbar { border-bottom: 1px solid var(--brand); background-color: #000; }
footer { background-color: var(--brand); }
.service-img { width: 96px; height: 96px; margin: 16px auto 0; display: block; }

::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

a { transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ---------- Navigation ---------- */
.navbar .nav > li > a { transition: color var(--ease), background-color var(--ease); }
.navbar .nav > li > a:hover,
.navbar .nav > li.active > a { color: var(--brand); }
.navbar .nav > li.bg-base-color > a,
.navbar .nav > li.bg-base-color > a:hover { color: #fff; }
.navbar .nav > li.bg-base-color:hover { background-color: var(--brand-dark); }
.navbar .dropdown-menu > li > a { transition: color var(--ease), background-color var(--ease), padding-left var(--ease); }
.navbar .dropdown-menu > li > a:hover { color: var(--brand); padding-left: 24px; }

/* ---------- Buttons (single source of truth) ---------- */
.btn,
.button,
.btn-primary,
.btn-default,
.btn-base-color,
.btn-outline-base-color,
.btn-custom {
    display: inline-block;
    padding: 12px 26px;
    border: 2px solid var(--brand);
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
    transition: background-color var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

/* Filled (primary) */
.btn.btn-primary,
.btn.btn-base-color,
.btn.btn-custom,
.btn.btn-book,
.button.primary {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn.btn-primary:hover, .btn.btn-primary:focus,
.btn.btn-base-color:hover, .btn.btn-base-color:focus,
.btn.btn-custom:hover, .btn.btn-custom:focus,
.btn.btn-book:hover, .btn.btn-book:focus {
    background-color: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(230, 43, 30, .3);
}

/* Outline (secondary) */
.btn.btn-default,
.btn.btn-outline-base-color,
.button.btn-outline-base-color {
    background-color: transparent;
    border-color: var(--brand);
    color: var(--brand);
}

.btn.btn-default:hover, .btn.btn-default:focus,
.btn.btn-outline-base-color:hover, .btn.btn-outline-base-color:focus {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(230, 43, 30, .3);
}

.btn:active { transform: translateY(0); box-shadow: none; }
.btn.btn-block { display: block; width: 100%; }

/* Default arrow icon on buttons that have no icon of their own */
.btn:not(:has(.fa))::after {
    content: "\f061";
    font-family: FontAwesome;
    font-weight: 400;
    margin-left: 8px;
    font-size: 11px;
    transition: transform var(--ease);
}
.btn:not(:has(.fa)):hover::after { transform: translateX(4px); }
.btn .fa { margin-right: 6px; }
button.btn[type="submit"]::after, .btn-block::after { display: none; }

/* ---------- Cards & components ---------- */
.thumbnail,
.value-box,
.review-card,
.leader-card,
.price-card,
.info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.thumbnail:hover,
.value-box:hover,
.review-card:hover,
.price-card:hover,
.info-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    box-shadow: var(--shadow-hover);
}

.thumbnail .caption h3 { margin-top: 12px; }
.thumbnail .caption h3 a { color: var(--ink); }
.thumbnail .caption h3 a:hover { color: var(--brand); }

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--brand-tint);
    color: var(--brand);
    font-size: 24px;
    margin-bottom: 14px;
    transition: background-color var(--ease), color var(--ease);
}
.value-box:hover .icon-badge,
.info-card:hover .icon-badge { background: var(--brand); color: #fff; }

.value-box { padding: 30px; margin-bottom: 30px; }

.leader-card { padding: 30px; border-left: 4px solid var(--brand); background: #f9f9f9; }
.leader-card:hover { transform: none; }
.leader-links { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }

/* Services row (home) */
.services-overview .services-row { display: flex; flex-wrap: nowrap; gap: 20px; }
.services-overview .services-row > div { flex: 1 1 0; min-width: 0; width: auto; float: none; padding: 0; }
.services-overview .services-row .thumbnail { height: 100%; display: flex; flex-direction: column; text-align: center; }
.services-overview .services-row .caption { flex: 1; display: flex; flex-direction: column; }
.services-overview .services-row .caption p { flex: 1; }
.services-overview .services-row .btn { display: block; width: 100%; margin-top: 10px; white-space: nowrap; }

/* Reviews */
.review-row { display: flex; flex-wrap: wrap; }
.review-row > div { display: flex; }
.review-card { margin: 0; width: 100%; display: flex; flex-direction: column; text-align: left; border-top: 3px solid var(--brand); padding: 24px; }
.review-stars { color: var(--brand); margin-bottom: 12px; letter-spacing: 3px; }
.review-text { flex: 1; font-size: 15px; line-height: 1.6; color: #333; }
.review-author { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: #222; background: none; }
.review-author strong, .review-author small { display: block; }
.review-author small { color: var(--muted); font-size: 12px; }
.review-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }

/* ---------- Pricing (services pages) ---------- */
.price-row { display: flex; flex-wrap: wrap; margin: 0 -10px; }
.price-row > div { display: flex; padding: 0 10px; margin-bottom: 20px; }
.price-card { width: 100%; display: flex; flex-direction: column; text-align: center; border-top: 4px solid var(--brand); overflow: hidden; }
.price-card__header { background: #000; color: #fff; padding: 24px 16px; border-bottom: 3px solid var(--brand); }
.price-card__name { display: block; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; }
.price-card__price { display: block; margin-top: 14px; line-height: 1; }
.price-card__price .symbol { font-size: 22px; font-weight: 700; vertical-align: top; margin-right: 4px; }
.price-card__price .amount { font-size: 52px; font-weight: 300; }
.price-card__price .unit { display: block; margin-top: 6px; font-size: 13px; opacity: .8; }
.price-card__tagline { margin: 14px 0 0; font-size: 12px; font-style: italic; opacity: .8; }
.price-card__body { flex: 1; list-style: none; margin: 0; padding: 0; text-align: left; }
.price-card__body li { padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.price-card__body li:nth-child(odd) { background: #f9f9f9; }
.price-card__body li::before { content: "\f00c"; font-family: FontAwesome; color: var(--brand); margin-right: 10px; }
.price-card__footer { padding: 16px 20px 20px; }
.price-card__footer .btn { display: block; width: 100%; }

/* Pricing page (existing markup) */
.no-padding { padding: 0 !important; }
.pricing { display: flex; flex-direction: column; height: 100%; border-right: 1px solid rgba(0, 0, 0, .1); transition: box-shadow var(--ease); }
.pricing:hover { box-shadow: var(--shadow-hover); }
.col-md-3:last-child .pricing { border-right: none; }
.pricing .price .symbol { position: relative; bottom: 30px; font-size: 24px; font-weight: 700; margin-right: 5px; }
.pricing-body span { display: block; padding: 20px 10px; border-bottom: 1px solid #f0f0f0; }
.pricing-body span:nth-child(odd) { background-color: #f9f9f9; }
.pricing-row { display: flex; flex-wrap: wrap; box-shadow: 0 0 25px 0 rgba(0, 0, 0, .05); border: 1px solid #ddd; background: #fff; }

/* Contact */
.highlight-service { border: 2px solid var(--brand) !important; background-color: var(--brand-tint) !important; transition: all .3s ease; }
select.form-control-custom, input.form-control-custom, textarea.form-control-custom { width: 100%; margin-bottom: 15px; padding: 10px 15px; border: 1px solid #ccc; border-radius: 2px; background: #fff; transition: border-color var(--ease), box-shadow var(--ease); }
.form-control-custom:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(230, 43, 30, .15); outline: none; }

/* ---------- Portfolio ---------- */
.filters a { display: inline-block; padding: 6px 14px; color: var(--ink); border-bottom: 2px solid transparent; transition: color var(--ease), border-color var(--ease); }
.filters a:hover, .filters a.active { color: var(--brand); border-bottom-color: var(--brand); }

.portfolio-item { margin-bottom: 30px; }
.portfolio-link { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: #f3f3f3; box-shadow: var(--shadow); transition: box-shadow var(--ease), transform var(--ease); }
.portfolio-link img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s ease; }
.portfolio-link .caption { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; background: linear-gradient(to top, rgba(0, 0, 0, .85), rgba(0, 0, 0, .1) 70%); opacity: 0; transition: opacity var(--ease); }
.portfolio-link .caption h4 { color: #fff; margin: 0 0 4px; }
.portfolio-link .caption p { color: #ddd; margin: 0; font-size: 13px; }
.portfolio-link:hover, .portfolio-link:focus { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.portfolio-link:hover img { transform: scale(1.05); }
.portfolio-link:hover .caption, .portfolio-link:focus .caption { opacity: 1; }
.portfolio-tag { display: inline-block; margin-top: 8px; padding: 2px 10px; background: var(--brand); color: #fff; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; border-radius: 2px; }

/* ---------- Footer ---------- */
footer a, footer ul li a { color: #000; }
footer a:hover, footer ul li a:hover { color: #fff; }
footer .footer-social a { display: inline-block; transition: transform var(--ease), color var(--ease); }
footer .footer-social a:hover { transform: translateY(-3px); }
footer p, footer .disclaimer { color: #fff; }
footer p a { color: #000; }
.scroll-to-top { transition: transform var(--ease), background-color var(--ease); }
.scroll-to-top:hover { transform: translateY(-3px); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .services-overview .services-row { flex-wrap: wrap; }
    .services-overview .services-row > div { flex: 1 1 calc(50% - 20px); }
    .pricing-row { display: block; }
    .pricing { border-right: none; border-bottom: 1px solid #ddd; }
}

@media (max-width: 767px) {
    .review-row > div { margin-bottom: 20px; }
}

@media (max-width: 575px) {
    .services-overview .services-row > div { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Misc helpers (replace former inline styles) ---------- */
.info-card { padding: 25px; }
.hero-logo { width: 450px; max-width: 100%; }
.hero-actions { margin-top: 20px; }
.hero-actions .btn { margin: 0 6px 10px; }
.section-offset { margin-top: 100px; }
.sep-line { display: inline-block; width: 60px; height: 4px; }

/* ---------- Contact details column ---------- */
.contact-address { padding-top: 6px; }
.contact-item { display: flex; align-items: flex-start; gap: 18px; padding: 20px 22px; margin-bottom: 16px; text-align: left; }
.contact-item .icon-badge { flex: none; margin: 0; width: 48px; height: 48px; font-size: 20px; }
.contact-item__body { flex: 1; min-width: 0; }
.contact-item__body h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--ink); }
.contact-item__body p { margin: 0 0 4px; font-size: 14px; line-height: 1.5; color: #444; overflow-wrap: anywhere; }
.contact-item__body a:not(.btn) { color: var(--brand); }
.contact-item__body a:not(.btn):hover { color: var(--brand-dark); text-decoration: underline; }
.contact-item__body .btn { margin-top: 10px; }
@media (max-width: 991px) { .contact-address { margin-top: 30px; } }

/* Contact cards: no hover effect */
.contact-item:hover { transform: none; box-shadow: var(--shadow); border-color: var(--line); }
.contact-item:hover .icon-badge { background: var(--brand-tint); color: var(--brand); }

/* ---------- Bootstrap 4 card look, site-wide (flat, no hover effect) ---------- */
.thumbnail, .value-box, .review-card, .price-card, .info-card, .pricing {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    box-shadow: none;
}
.thumbnail:hover, .value-box:hover, .review-card:hover, .price-card:hover,
.info-card:hover, .pricing:hover, .contact-item:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}
.value-box:hover .icon-badge, .info-card:hover .icon-badge {
    background: var(--brand-tint);
    color: var(--brand);
}

/* ---------- Forms: status, consent, honeypot ---------- */
.form-status:empty { display: none; }
.form-status { margin-top: 15px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-consent { margin: 5px 0 15px; font-size: 14px; color: #444; }
.form-consent label { font-weight: 400; cursor: pointer; }
.form-consent input { margin-right: 8px; }
.form-consent a { color: var(--brand); text-decoration: underline; }

/* ---------- Cookie banner ---------- */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 99999; background: #111; color: #eee; border-top: 3px solid var(--brand); box-shadow: 0 -4px 20px rgba(0, 0, 0, .3); padding: 18px 0; }
.cookie-banner__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cookie-banner__text { flex: 1 1 480px; font-size: 14px; line-height: 1.5; }
.cookie-banner__text strong { color: #fff; font-size: 16px; }
.cookie-banner__text p { margin: 4px 0 0; }
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn-default { background: transparent; color: #fff; border: 2px solid #fff; }
.cookie-banner .btn-default:hover, .cookie-banner .btn-default:focus { background: #fff; color: #111; }
@media (max-width: 600px) { .cookie-banner__actions { width: 100%; } .cookie-banner__actions .btn { flex: 1; } }

/* ---------- Legal and error pages ---------- */
.legal-page { padding: 120px 0 60px; }
.legal-page h1 { margin-bottom: 8px; }
.legal-page h2 { margin-top: 36px; font-size: 24px; font-weight: 700; }
.legal-page h3 { margin-top: 22px; font-size: 18px; font-weight: 700; }
.legal-page p, .legal-page li { font-size: 16px; line-height: 1.7; color: #333; }
.legal-page .updated { color: var(--muted); font-size: 14px; }
.legal-page table { width: 100%; margin: 15px 0; }
.legal-page th, .legal-page td { padding: 10px 12px; border: 1px solid rgba(0, 0, 0, .125); vertical-align: top; font-size: 15px; }
.legal-page th { background: #f7f7f7; }
.error-page { min-height: 70vh; display: flex; align-items: center; text-align: center; padding: 140px 0 80px; }
.error-code { font-size: 120px; line-height: 1; font-weight: 900; color: var(--brand); margin: 0; }
.error-page h1 { font-size: 32px; font-weight: 700; margin: 10px 0 15px; }
.error-page p { font-size: 18px; color: #444; max-width: 560px; margin: 0 auto 25px; }
.error-actions .btn { margin: 4px; }
.form-consent label { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.form-consent input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 3px 0 0; padding: 0; display: inline-block; position: static; opacity: 1; }
.cookie-banner .btn::after { display: none; }
