/* ==========================================================================
   Youkey — additions on top of the theme stylesheet (style.css).
   Theme colours: --theme-color1 navy, --theme-color2 blue, --theme-color3 orange.
   ========================================================================== */

/* ---------- Accessibility ---------- */
.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 100000;
    padding: 10px 18px;
    border-radius: 4px;
    background: var(--theme-color3);
    color: #fff;
    font-weight: 700;
    transition: top .2s;
}
.skip-link:focus { top: 12px; color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.acc-btn:focus-visible {
    outline: 3px solid var(--theme-color3);
    outline-offset: 2px;
}

@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; }
}

/* ---------- Header ---------- */
.main-header .logo img { width: auto; max-height: 60px; }
.header-style-one .header-lower .logo-box .logo img { max-height: 56px; }
.sticky-header .logo img { filter: brightness(0) saturate(100%) invert(9%) sepia(38%) saturate(2100%) hue-rotate(200deg); }
.mobile-menu .nav-logo img { max-height: 44px; width: auto; }
.mobile-nav-toggler { background: none; border: 0; padding: 0; }

/* "Contact" lives in the top bar and the button on desktop; show it in the mobile menu only. */
.main-header .header-lower .main-menu .nav-contact,
.sticky-header .main-menu .nav-contact { display: none; }

/* Keep the menu on one line on mid-sized desktops. */
@media only screen and (min-width: 1024px) and (max-width: 1699px) {
    .main-menu .navigation > li { margin-right: 26px; }
    .main-menu .navigation > li > a { font-size: 15px; }
}
@media only screen and (min-width: 1024px) and (max-width: 1439px) {
    .header-style-one .header-lower .logo-box { min-width: 190px; padding-left: 20px; padding-right: 20px; }
    .main-menu .navigation > li { margin-right: 18px; }
    .main-menu .navigation > li > a { font-size: 14px; }
    .header-style-one .header-lower .outer-box .info-btn { display: none; }
}
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    .header-style-one .header-lower .outer-box .theme-btn { display: none; }
}
.main-menu .navigation > li > ul { min-width: 260px; }

/* ---------- Cards ---------- */
.news-block .image-box .image img { width: 100%; aspect-ratio: 370 / 300; object-fit: cover; }
.news-block .lower-content .text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-block .read-more {
    display: inline-block;
    margin-top: 14px;
    font-weight: 700;
    color: var(--theme-color3);
}
.news-block .read-more:hover { color: var(--theme-color1); }
.news-block .date .month { display: block; font-size: 12px; white-space: nowrap; }
.news-section .text-center .theme-btn { margin-top: 10px; }
.service-block .content-box .text { min-height: 78px; }

/* ---------- Call-to-action band ---------- */
.cta-band { background: var(--theme-color1); padding: 60px 0; position: relative; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 640px; }
.cta-band__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band__phone { color: #fff; font-weight: 700; font-size: 18px; white-space: nowrap; }
.cta-band__phone i { color: var(--theme-color3); margin-right: 8px; }
.cta-band__phone:hover { color: var(--theme-color3); }

/* ---------- About: founder ---------- */
.founder-section { padding: 0 0 100px; }
.founder-card {
    display: flex;
    align-items: center;
    gap: 36px;
    padding: 40px;
    border-radius: 8px;
    background: var(--theme-color4);
}
.founder-card__thumb { flex: 0 0 auto; margin: 0; }
.founder-card__thumb img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.founder-card .sub-title { color: var(--theme-color3); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.founder-card h3 { margin: 6px 0 2px; }
.founder-card .designation { color: var(--theme-color2); font-weight: 600; margin-bottom: 12px; }
.founder-card p { margin: 0; }
@media (max-width: 575px) {
    .founder-card { flex-direction: column; align-items: flex-start; padding: 28px; gap: 20px; }
}

/* ---------- Service / blog details ---------- */
.services-page { padding-top: 120px; }
.services-details__hero { width: 100%; border-radius: 6px; }
.services-details__content .lead-text { font-size: 19px; line-height: 1.6; color: var(--theme-color1); font-weight: 600; }
.services-details__content h3 { margin-top: 10px; }
.sidebar-heading { font-size: 20px; margin-bottom: 18px; }
.content-note,
.blog-details__content .content-note {
    margin-top: 36px;
    padding: 16px 20px;
    border-left: 4px solid var(--theme-color3);
    background: var(--theme-color4);
    font-size: 15px;
    border-radius: 0 4px 4px 0;
}
.blog-details__subtitle { font-size: 24px; margin: 32px 0 12px; }
.blog-details__title { font-size: 32px; }
.blog-details__img img { width: 100%; }
.blog-sidebar { margin-top: 0; }
@media (max-width: 991px) { .blog-sidebar { margin-top: 50px; } }
.blog-page { padding-top: 120px; }
.accordion-box .acc-btn { cursor: pointer; }

/* ---------- FAQ, text and error pages ---------- */
.faq-page,
.text-page,
.error-page { padding: 120px 0; }
.text-page__inner { max-width: 820px; }
.text-page__inner h2 { font-size: 26px; margin: 36px 0 12px; }
.text-page__inner a,
.consent a { color: var(--theme-color2); text-decoration: underline; }
.error-page__code { font-size: clamp(90px, 18vw, 180px); line-height: 1; font-weight: 800; color: var(--theme-color3); }
.error-page h2 { margin: 10px 0 14px; }
.error-page__links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Forms ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.enquiry-form .form-label { font-weight: 600; color: var(--theme-color1); margin-bottom: 6px; }
.enquiry-form .optional { font-weight: 400; color: var(--text-color); }
.enquiry-form .form-select { height: auto; }
.consent,
.contact-form .form-group label.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; margin: 0; text-align: left; }
.consent input[type="checkbox"],
.contact-form .form-group .consent input[type="checkbox"] {
    display: block;
    width: 18px;
    height: 18px;
    min-height: 0;
    flex: 0 0 18px;
    padding: 0;
    margin: 2px 0 0;
    appearance: auto;
    accent-color: var(--theme-color3);
}
.contact-form .form-group .consent { font-weight: 400; }
.contact-section .consent,
.contact-section .consent a { color: #fff; }
.contact-map { line-height: 0; }
.contact-map iframe { display: block; }

/* ---------- Footer ---------- */
.main-footer .footer-logo img { max-height: 54px; width: auto; }
.main-footer .about-widget .text { color: rgba(255, 255, 255, .7); margin: 18px 0 22px; max-width: 320px; }
.footer-contact { margin-bottom: 24px; }
.footer-contact li { position: relative; padding-left: 28px; margin-bottom: 12px; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.footer-contact li i { position: absolute; left: 0; top: 5px; color: var(--theme-color3); }
.footer-contact a { color: rgba(255, 255, 255, .7); }
.footer-contact a:hover { color: #fff; }
.main-footer .footer-bottom .inner-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-note { display: block; font-size: 13px; opacity: .7; margin-top: 4px; }
.footer-legal { display: flex; gap: 20px; margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, .7); }
.footer-legal a:hover { color: #fff; }

/* ---------- Bigcrea signature ---------- */
.footer-legal { align-items: center; flex-wrap: wrap; }
.credit { display: inline-flex; align-items: center; gap: 12px; color: #83949c; }
.credit__label { font-size: 13px; letter-spacing: .02em; transition: color .2s; }
.credit:hover .credit__label { color: #b6c3ca; }
.credit__badge { display: inline-flex; align-items: center; }
.credit__badge .bc { height: 40px; width: auto; display: block; overflow: visible; }
.bc__mark { transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.34, 1.3, .5, 1); filter: drop-shadow(0 0 10px rgba(72, 214, 222, .55)); }
.bc__crea { filter: drop-shadow(0 0 6px rgba(72, 214, 222, .55)); }
.bc__shine { transform: translateX(-120px); opacity: 0; }
.credit:hover .bc__mark { transform: rotate(360deg); }
.credit:hover .bc__shine { animation: bc-shine .9s ease-out .15s 1 both; }
@keyframes bc-shine { 0% { transform: translateX(-120px); opacity: 1; } 100% { transform: translateX(1000px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
    .bc__mark { transition: none; }
    .credit:hover .bc__mark { transform: none; }
    .credit:hover .bc__shine { animation: none; }
}

/* ---------- Imagery ---------- */
.service-block .image-box .image img { width: 100%; aspect-ratio: 270 / 248; object-fit: cover; }
/* The theme's landmark pattern shows non-UK monuments; use the London skyline instead. */
.contact-section .bg.bg-pattern-6 {
    background-image: url(../images/icons/pattern-1.png);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: auto;
}
.testimonial-block .info-box .thumb.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    background: var(--theme-color2);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}
.main-footer .footer-bottom .inner-container { padding-right: 56px; }
.services-details__hero,
.blog-details__img img { aspect-ratio: 16 / 9; object-fit: cover; }
.page-title { background-position: center 35%; }
