/* C.V Grills — site styles on top of the Mowix template (style.css = template, only colours/fonts changed).
   Brand colours (from the logo) are the variables at the top of style.css: --accent-color (logo blue),
   --accent-color-2 (navy), --cv-red (flame), --cv-silver (badge ring). Classes here start with cv-. */

/* ---------- header ---------- */
/* same geometry as the Mowix header: logo box 69px tall, so the header lines up with the hero's corner notches */
.navbar-logo-container { width: 203px; }
.navbar-logo-container .navbar-brand { display: block; padding: 0; margin: 0; line-height: 0; }
.navbar-logo-container img { display: block; height: 62px; width: auto; }
.header-container { margin-bottom: -147px; }
.navbar-action-container { min-height: 79px; } /* Mowix: -138px for a 52px logo; +9px for the 62px logo */
@media (max-width: 767.98px) {
  .header-container { margin-bottom: -127px; }
  .navbar-action-container { min-height: 67px; }
  .navbar-brand-container { width: 210px; }
  .navbar-logo-container { width: 170px; }
  .navbar-logo-container img { height: 50px; }
}
.navbar-cta-container { align-items: center; gap: 18px; width: auto; }
@media (min-width: 768px) { .navbar-cta-container { display: flex; } }
.cv-header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent-color-2); white-space: nowrap; }
.cv-header-phone i { color: var(--accent-color); }
.cv-header-phone:hover { color: var(--accent-color); }
.navbar-popup-menu a i { color: var(--accent-color); margin-right: 6px; }

/* ---------- small pieces ---------- */
.sub-heading .icon { color: var(--cv-red); margin-right: 4px; }
.cv-btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.cv-center { text-align: center; }
.cv-center .sub-heading, .cv-center-row { justify-content: center; }
.cv-center-row { display: flex; }
.cv-link-strong { font-weight: 600; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.cv-stat-icon, .cv-card-icon {
  width: 70px; height: 70px; flex: 0 0 70px; border-radius: 100px; display: flex; align-items: center; justify-content: center;
  background-color: var(--accent-color); color: #fff; font-size: 1.7rem;
}
.cv-card-icon { width: 60px; height: 60px; flex-basis: 60px; font-size: 1.45rem; }
.card-service--slide .cv-card-icon { background: var(--accent-color-2); color: #fff; }

/* ---------- hero ---------- */
.banner-home-section h1 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); }
.banner-home-bg { background-position: center 60%; }
.banner-home-image::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6, 22, 52, .82) 0%, rgba(6, 22, 52, .55) 50%, rgba(6, 22, 52, .15) 100%); }
.banner-home-image > * { position: relative; z-index: 1; }
.banner-home-image > .banner-home-bg { position: absolute; z-index: 0; }
.cv-hero-phone { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 1.1rem; }
.cv-hero-phone i { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.5); }
.cv-hero-phone:hover { color: var(--accent-color); }
.cv-hero-badge img { width: 64px; height: auto; display: block; filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.banner-home__card-rating-title { max-width: 140px; }

/* ---------- services on home (grid instead of the template slider) ---------- */
.cv-service-grid { margin-top: 10px; }
.cv-service-card { min-height: 520px; height: 100%; }
.card-service--slide__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.card-service--slide > .card-service--slide__header { position: relative; z-index: 1; }
.card-service--grid { height: 100%; }
.card-service--grid .cv-card-icon { margin-top: -10px; }
.card-service--grid { scroll-margin-top: 120px; }

/* ---------- about ---------- */
.about-image img { object-fit: cover; width: 100%; }
.about__title-container > p + p { margin-top: -6px; }

/* ---------- dirty grill / features ---------- */
.cv-why-badge img { width: 72% !important; max-width: 330px; filter: drop-shadow(0 18px 30px rgba(11, 44, 102, .25)); }
.why-choose-us__image-intro.cv-why-badge { display: flex; justify-content: center; margin-top: -40px; }
.whychooseus-features-image img { -webkit-mask-image: none; mask-image: none; border-radius: 1000px 1000px 30px 30px; object-fit: cover; }

/* ---------- before & after cards ---------- */
.cv-ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cv-ba figure { position: relative; margin: 0; overflow: hidden; border-radius: 20px; }
.cv-ba img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.cv-ba figcaption { position: absolute; left: 10px; top: 10px; padding: 3px 12px; border-radius: 100px; font-size: .75rem; font-weight: 600; line-height: 1.6;
  background: var(--accent-color-2); color: #fff; letter-spacing: .04em; text-transform: uppercase; }
.cv-ba figure + figure figcaption { background: var(--accent-color); color: #fff; }
.card-project .cv-card-icon { background: var(--accent-color-2); color: #fff; }
.card-project.commercial-project .cv-card-icon { background: #fff; color: var(--accent-color-2); }

/* ---------- gallery ---------- */
.cv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.cv-gallery__item { position: relative; display: block; overflow: hidden; border-radius: 30px; background: var(--accent-color-3); }
.cv-gallery__item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; transition: transform .5s ease; }
.cv-gallery__item span { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 8px 16px; border-radius: 100px; font-size: .85rem; font-weight: 500;
  background: rgba(255,255,255,.92); color: var(--accent-color-2); line-height: 1.4; }
.cv-gallery__item:hover img { transform: scale(1.05); }
/* the client's two flyers, shown whole */
.cv-gallery--flyers { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.cv-gallery__item--flyer img { aspect-ratio: auto; height: auto; }
.cv-gallery__item--flyer span { display: none; }
.cv-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(4, 14, 34, .92); display: none; align-items: center; justify-content: center; padding: 40px 70px; }
.cv-lightbox.open { display: flex; }
.cv-lightbox figure { margin: 0; text-align: center; }
.cv-lightbox img { max-width: min(92vw, 1100px); max-height: 80vh; border-radius: 16px; display: block; margin: 0 auto; }
.cv-lightbox figcaption { color: #fff; margin-top: 12px; }
.cv-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--accent-color); color: #fff; font-size: 1.2rem; cursor: pointer; }
.cv-lightbox__close { top: 20px; right: 20px; }
.cv-lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.cv-lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- FAQ / contact ---------- */
.cv-faq-title { margin: -10px 0 0; }
.card-faq a, .accordion-body a, .card-contact-info a { color: var(--accent-color-2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.card-contact-info a { font-weight: 500; text-decoration: none; }
.card-contact-info a:hover { color: var(--accent-color); }
.card-contact-info p { word-break: break-word; }
.cv-form-note { margin: 18px 0 0; font-size: .95rem; }
.cv-form-note i { color: var(--accent-color); margin-right: 6px; }
.cv-form-note a { font-weight: 600; color: var(--accent-color-2); }
.cv-form-msg { margin-top: 16px; padding: 12px 18px; border-radius: 16px; font-weight: 500; }
.cv-form-msg.ok { background: #e7f6ec; color: #17633a; }
.cv-form-msg.err { background: #fdecec; color: #9b1c1c; }

/* ---------- CTA ---------- */
.contact-cta__intro .btn-accent-2:hover { background: #fff; color: var(--accent-color-2); }

/* ---------- footer ---------- */
.footer-logo img { width: 120px; }
.footer-list a { color: inherit; }
.footer-list a:hover { color: var(--accent-color); }
.footer-cta .footer-list li { word-break: break-word; }

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .cv-header-phone { display: none; }
}
@media (max-width: 991px) {
  .cv-gallery { grid-template-columns: repeat(2, 1fr); }
  .cv-service-card { min-height: 460px; }
}
@media (max-width: 767px) {
  .cv-gallery { grid-template-columns: 1fr; }
  .cv-gallery--flyers { grid-template-columns: 1fr; }
  .banner-home-image::after { background: linear-gradient(180deg, rgba(6, 22, 52, .78) 0%, rgba(6, 22, 52, .6) 100%); }
  .cv-lightbox { padding: 20px 10px; }
  .cv-lightbox__prev, .cv-lightbox__next { top: auto; bottom: 20px; transform: none; }
}

/* ---------- fixes after first review ---------- */
.btn { white-space: nowrap; }
.why-choose-us__banner { padding-top: 100px !important; }
.why-choose-us__image-intro.cv-why-badge { margin-top: 0; }

.footer-cta .footer-list a { color: var(--cv-sky); }
.footer-cta .footer-list a:hover { color: #fff; }
@media (max-width: 767px) { .why-choose-us__banner { padding-top: 70px !important; } }
.service__layout .service__header + .row { margin-top: 50px; }

/* ---------- royal blue: white text on every blue surface ---------- */
.btn-accent, .btn-accent-2:hover, .service-cta-btn, .card-project-cta-btn, .card-project.commercial-project .card-project-cta-btn:hover,
.footer-social-icon, .card-faq-icon, .banner-home-tag, .whychooseus-features-icon, .contact-info__header-icon,
.btn-service-active:hover { color: #fff; fill: #fff; }
.card-banner-home, .card-banner-home .primary-color, .card-banner-home__avatar-description, .banner-home__card-rating,
.banner-home__card-rating-title { color: #fff; }
.card-banner-home__divider { background-color: rgba(255,255,255,.35); }
.card-banner-home { background: linear-gradient(145deg, #1570EF 0%, #0B5BD3 100%); box-shadow: 0 20px 40px rgba(11, 42, 94, .25); }
.card-project.commercial-project { background: linear-gradient(135deg, #1570EF 0%, #0B5BD3 100%); }
.card-project.commercial-project, .card-project.commercial-project p, .card-project.commercial-project .project__title,
.card-project.commercial-project .project__number, .card-project.commercial-project .project__category { color: #fff; }
.card-project.commercial-project .cv-card-icon { background: #fff; color: var(--accent-color); }
.btn-accent:hover { background-color: var(--accent-color-2); color: #fff; }
.btn-accent { box-shadow: 0 8px 20px rgba(21, 112, 239, .28); }
/* on the navy footer use a lighter sky blue */
.footer-list li::before, .footer-cta .footer-list li { color: var(--cv-sky); }
.footer-social-icon:hover { background-color: #fff; color: var(--accent-color-2); }
.footer-copyright__container { border-top-color: rgba(255,255,255,.15); }
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover { color: var(--accent-color); }

/* ---------- hero quote card ---------- */
.card-banner-home.cv-quote-card { position: relative; overflow: hidden; gap: 18px; padding: 28px; border-radius: 30px;
  background: linear-gradient(150deg, rgba(21,112,239,.96) 0%, rgba(11,73,180,.97) 55%, rgba(11,42,94,.98) 100%);
  border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px rgba(4,14,34,.45); color: #fff; }
.cv-quote-card::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.cv-quote-card > * { position: relative; }
.cv-quote-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cv-quote-card__top img { width: 64px; height: auto; filter: drop-shadow(0 6px 12px rgba(0,0,0,.25)); }
.cv-quote-card__top span { font-size: .78rem; font-weight: 500; padding: 6px 14px; border-radius: 100px; background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22); white-space: nowrap; }
.cv-quote-card__top span i { color: #ff8a7a; margin-right: 4px; }
.cv-quote-card__head { display: flex; align-items: center; gap: 16px; }
.cv-quote-card__icon { flex: 0 0 58px; height: 58px; border-radius: 18px; display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--accent-color); font-size: 1.5rem; box-shadow: 0 10px 20px rgba(0,0,0,.18); }
.cv-quote-card__title { color: #fff; font-size: 1.45rem; line-height: 1.25; margin: 0; font-weight: 700; }
.cv-quote-card__title em { font-style: normal; color: #ffd36b; }
.cv-quote-card__pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.cv-quote-card__pills li { font-size: .8rem; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: rgba(255,255,255,.14); line-height: 1.5; }
.cv-quote-card__pills i { color: #8fe3a8; margin-right: 4px; }
.cv-quote-card__btn { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 100px; background: #fff; color: var(--accent-color-2);
  font-weight: 600; transition: transform .25s ease, box-shadow .25s ease; box-shadow: 0 10px 22px rgba(0,0,0,.2); }
.cv-quote-card__btn i:first-child { color: var(--accent-color); font-size: 1.15rem; }
.cv-quote-card__btn span { flex: 1; }
.cv-quote-card__btn i:last-child { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-color); color: #fff; font-size: .85rem; transition: transform .25s ease; }
.cv-quote-card__btn:hover { color: var(--accent-color-2); transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.28); }
.cv-quote-card__btn:hover i:last-child { transform: translateX(3px); }
.cv-quote-card__rating { display: flex; align-items: center; gap: 14px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.2); }
.cv-quote-card__stars { display: flex; gap: 3px; color: #ffc83d; font-size: 1.05rem; }
.cv-quote-card__rating strong { display: block; font-size: .95rem; line-height: 1.3; }
.cv-quote-card__rating span { display: block; font-size: .78rem; opacity: .8; line-height: 1.3; }
@media (max-width: 767.98px) {
  .card-banner-home.cv-quote-card { padding: 22px; }
  .cv-quote-card__title { font-size: 1.2rem; }
  .card-banner-home.cv-quote-card, .cv-quote-card * { text-align: left; }
  .cv-quote-card__top span { white-space: normal; font-size: .72rem; padding: 6px 12px; line-height: 1.35; border-radius: 14px; }
  .cv-quote-card__icon { flex-basis: 50px; height: 50px; font-size: 1.3rem; }
}

/* ---------- home hero video ---------- */
.cv-hero-video { overflow: hidden; }
.cv-hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
@media (prefers-reduced-motion: reduce) { .cv-hero-video video { display: none; } }

/* ---------- steps (How It Works) ---------- */
.cv-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 10px; counter-reset: step; }
.cv-step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 34px; border-radius: 30px; background: #fff;
  border: 1px solid #E3ECFA; box-shadow: 0 18px 40px rgba(11, 42, 94, .07); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.cv-step:hover { transform: translateY(-6px); box-shadow: 0 26px 50px rgba(11, 42, 94, .13); }
.cv-step { background: linear-gradient(90deg, var(--accent-color), #6CB8FF) top / 100% 5px no-repeat, #fff; }
.cv-step__num { position: absolute; right: 22px; top: 6px; font-size: 6.5rem; font-weight: 700; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 2px #DCE7F8; pointer-events: none; }
.cv-step__icon { width: 64px; height: 64px; border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; color: #fff;
  background: linear-gradient(145deg, #3B8BFF 0%, #0B5BD3 100%); box-shadow: 0 12px 24px rgba(21, 112, 239, .32); margin-bottom: 8px; position: relative; }
.cv-step__label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-color); }
.cv-step__title { font-size: 1.35rem; line-height: 1.3; margin: 0; color: var(--primary); position: relative; }
.cv-step__text { margin: 0; font-size: .97rem; line-height: 1.75; font-weight: 400; color: var(--text-color); position: relative; }
/* featured middle step */
.cv-step--featured { background: linear-gradient(90deg, #ffc83d, #ff8a3d) top / 100% 5px no-repeat, linear-gradient(155deg, #123B80 0%, #0B2A5E 100%); border-color: transparent; box-shadow: 0 26px 50px rgba(11, 42, 94, .28); }
.cv-step--featured .cv-step__num { -webkit-text-stroke-color: rgba(255,255,255,.12); }
.cv-step--featured .cv-step__icon { background: #fff; color: var(--accent-color); box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.cv-step--featured .cv-step__label { color: #ffc83d; }
.cv-step--featured .cv-step__title { color: #fff; }
.cv-step--featured .cv-step__text { color: rgba(255,255,255,.82); }
/* dotted connector with arrow between steps */
.cv-steps { position: relative; }
@media (min-width: 992px) {
  .cv-step:not(:last-child)::after { content: "\f061"; font-family: "Font Awesome 6 Pro"; font-weight: 900; position: absolute; z-index: 2;
    right: -22px; top: 50%; margin-top: -18px; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: .8rem; background: #fff; color: var(--accent-color); border: 1px solid #E3ECFA; box-shadow: 0 6px 14px rgba(11,42,94,.12); }
  .cv-steps .cv-step { overflow: visible; }
  .cv-step__num { overflow: hidden; }
}
@media (max-width: 991.98px) { .cv-steps { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }
@media (max-width: 767.98px) {
  .cv-step { padding: 30px 24px 28px; }
  .cv-step__num { font-size: 5rem; }
  .cv-step__title { font-size: 1.2rem; }
}
.cv-service-card .service-body-title { align-content: flex-start; justify-content: flex-start; }

/* ---------- about: rotating text ring with the round logo inside ---------- */
.about__logo-wrapper.cv-ring { background-size: 54% auto; box-shadow: 0 16px 36px rgba(11, 42, 94, .16); }
.about__logo-wrapper.cv-ring .circular-text text { font-size: 15.5px; font-weight: 700; letter-spacing: 0; fill: var(--accent-color-2); }

/* ---------- space between the last section and the footer ---------- */
main { padding-bottom: 100px; }
@media (max-width: 767.98px) { main { padding-bottom: 60px; } }
