/* ==========================================================================
   Service single + archive templates (single-service.php / archive-service.php)
   ========================================================================== */

.mvc-service {
  --mvc-navy: #0e2341;
  --mvc-navy-2: #16325a;
  --mvc-ink: #1a2638;
  --mvc-muted: #4a5568;
  --mvc-orange: #c75b1e;
  --mvc-orange-2: #a9461a;
  --mvc-orange-grad: linear-gradient(180deg, #d76d2c 0%, #b14d1b 100%);
  --mvc-tint: #edf2f8;
  --mvc-line: #dfe5ee;
  --mvc-radius: 10px;
  --mvc-shadow: 0 8px 24px rgba(14, 35, 65, .08);
  --mvc-head: "Poppins", system-ui, sans-serif;
  --mvc-body: "Inter", system-ui, sans-serif;

  font-family: var(--mvc-body);
  color: var(--mvc-ink);
  background: #fff;
  overflow-x: clip;
}
.mvc-service *, .mvc-service *::before, .mvc-service *::after { box-sizing: border-box; }
.mvc-service h1, .mvc-service h2, .mvc-service h3 { font-family: var(--mvc-head); margin: 0; line-height: 1.15; }
.mvc-service p { margin: 0 0 1em; }
.mvc-service img { max-width: 100%; height: auto; display: block; }

.mvc-service .mvc-container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.mvc-service .mvc-icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Base text (beats .elementor-kit-N p / h2 / li) ---------- */
main.mvc-service { font-size: 16px; line-height: 1.6; }
main.mvc-service p, main.mvc-service li { font-size: 1rem; line-height: 1.6; }
/* Sentence case for body copy (Elementor kit applies text-transform: capitalize); eyebrows stay uppercase via their own rules */
main.mvc-service p, main.mvc-service li, main.mvc-service summary, main.mvc-service td,
main.mvc-service .mvc-faq__answer, main.mvc-service .mvc-tile__text, main.mvc-service .mvc-card__text,
main.mvc-service .mvc-trust__item small { text-transform: none; }
main.mvc-service h3 { font-size: 1.1rem; }

/* ---------- Type helpers ---------- */
main.mvc-service .mvc-eyebrow {
  font-family: var(--mvc-head);
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mvc-orange); margin: 0 0 .75rem !important;
}
.mvc-service .mvc-eyebrow--light { color: #fff; opacity: .9; }
.mvc-service .mvc-eyebrow--rule { display: flex; align-items: center; gap: 14px; }
.mvc-service .mvc-eyebrow--rule::before { content: ""; width: 44px; height: 2px; background: var(--mvc-orange); }
.mvc-service .mvc-h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); font-weight: 700; color: var(--mvc-navy); }
.mvc-service .mvc-accent { color: #e07a35; background: linear-gradient(180deg, #ea8a45, #c25a1c); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- Buttons ---------- */
.mvc-service .mvc-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.mvc-service .mvc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .9em 1.6em; border-radius: 6px; border: 2px solid transparent;
  font-family: var(--mvc-head); font-weight: 600; font-size: .95rem; line-height: 1.2;
  text-decoration: none !important; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.mvc-service .mvc-btn:hover { transform: translateY(-1px); }
.mvc-service .mvc-btn .mvc-icon { width: 1em; height: 1em; }
.mvc-service .mvc-btn--primary { background: var(--mvc-orange-grad); color: #fff !important; box-shadow: 0 6px 16px rgba(177, 77, 27, .3); }
.mvc-service .mvc-btn--primary:hover { box-shadow: 0 10px 22px rgba(177, 77, 27, .38); }
.mvc-service .mvc-btn--outline { border-color: #fff; color: #fff !important; background: transparent; }
.mvc-service .mvc-btn--outline:hover { background: #fff; color: var(--mvc-navy) !important; }
.mvc-service .mvc-btn--light { background: #fff; border-color: rgba(255,255,255,.7); color: var(--mvc-orange-2) !important; }
.mvc-service .mvc-btn--light:hover { background: var(--mvc-navy); border-color: var(--mvc-navy); color: #fff !important; }

/* ---------- Hero ---------- */
.mvc-service .mvc-hero {
  position: relative; isolation: isolate;
  background: var(--mvc-navy); color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(110px, 12vw, 150px);
  min-height: 460px;
}
.mvc-service .mvc-hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100% !important; object-fit: cover; object-position: right center;
}
.mvc-service .mvc-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 27, 51, .97) 0%, rgba(10, 27, 51, .9) 32%, rgba(10, 27, 51, .35) 62%, rgba(10, 27, 51, 0) 85%);
}
.mvc-service .mvc-hero__inner { position: relative; }
.mvc-service .mvc-hero__inner > * { max-width: 560px; }
.mvc-service .mvc-hero__title { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 1.1rem !important; color: #fff; }
.mvc-service .mvc-hero__title .mvc-accent { display: block; }
main.mvc-service .mvc-hero__desc { font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.6; color: rgba(255,255,255,.92); margin-bottom: 1.8rem !important; }
.mvc-service .mvc-hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); }
.mvc-service .mvc-hero__wave-line { fill: #d06a2a; }
.mvc-service .mvc-hero__wave-fill { fill: var(--mvc-tint); }

/* ---------- Trust bar ---------- */
.mvc-service .mvc-trust { background: var(--mvc-tint); padding: 0 0 28px; position: relative; z-index: 1; }
.mvc-service .mvc-trust__list {
  list-style: none; margin: -34px 0 0; padding: 22px 12px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(255,255,255,.85); border-radius: var(--mvc-radius); box-shadow: var(--mvc-shadow);
  backdrop-filter: blur(6px);
}
.mvc-service .mvc-trust__item { display: flex; align-items: center; gap: 14px; padding: 4px 20px; }
.mvc-service .mvc-trust__item + .mvc-trust__item { border-left: 1px solid var(--mvc-line); }
.mvc-service .mvc-trust__icon { width: 38px; height: 38px; color: var(--mvc-navy-2); }
.mvc-service .mvc-trust__item strong { display: block; font-family: var(--mvc-head); font-weight: 600; font-size: .95rem; color: var(--mvc-navy); }
.mvc-service .mvc-trust__item small { display: block; font-size: .8rem; color: var(--mvc-muted); }

/* ---------- Intro ---------- */
.mvc-service .mvc-intro { padding: clamp(48px, 6vw, 80px) 0; }
.mvc-service .mvc-intro__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: center; }
.mvc-service .mvc-intro__copy .mvc-h2 { margin-bottom: 1.1rem; }
main.mvc-service .mvc-intro__copy p { color: var(--mvc-muted); font-size: 1rem; line-height: 1.65; }
.mvc-service .mvc-intro__media { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 14px 34px rgba(14,35,65,.16); }
.mvc-service .mvc-intro__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.mvc-service .mvc-checks { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 12px; }
main.mvc-service .mvc-checks li { display: flex; align-items: center; gap: 12px; font-size: 1rem; font-weight: 500; line-height: 1.4; }
.mvc-service .mvc-checks__dot {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--mvc-orange-grad); color: #fff;
}
.mvc-service .mvc-checks__dot .mvc-icon { width: 14px; height: 14px; stroke-width: 3; }

/* ---------- Solutions cards ---------- */
.mvc-service .mvc-solutions {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--mvc-tint) radial-gradient(ellipse at 50% 120%, rgba(22,50,90,.08), transparent 60%);
}
.mvc-service .mvc-section-head { text-align: center; margin-bottom: 28px; }
.mvc-service .mvc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.mvc-service .mvc-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--mvc-line); border-radius: var(--mvc-radius);
  padding: 24px 20px; box-shadow: var(--mvc-shadow);
  color: inherit; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mvc-service a.mvc-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14,35,65,.14); }
.mvc-service .mvc-card__icon { color: var(--mvc-navy-2); margin-bottom: 12px; }
.mvc-service .mvc-card__icon .mvc-icon, .mvc-service .mvc-card__icon img { width: 44px; height: 44px; object-fit: contain; }
.mvc-service .mvc-card__title { font-size: 1.05rem; font-weight: 600; color: var(--mvc-navy-2); margin-bottom: .6rem !important; }
main.mvc-service .mvc-card__text { font-size: .88rem; color: var(--mvc-muted); margin: 0 !important; line-height: 1.5; }

/* ---------- Editor content ---------- */
.mvc-service .mvc-content { padding: clamp(40px, 5vw, 64px) 0; }
.mvc-service .mvc-prose { max-width: 860px; font-size: 1rem; line-height: 1.7; color: var(--mvc-muted); }
main.mvc-service .mvc-prose h2 { font-size: clamp(1.35rem, 2vw, 1.6rem); }
main.mvc-service .mvc-prose h3 { font-size: 1.2rem; }
.mvc-service .mvc-prose h2, .mvc-service .mvc-prose h3 { color: var(--mvc-navy); margin: 1.6em 0 .6em; }
.mvc-service .mvc-prose a { color: var(--mvc-orange-2); }

/* ---------- Areas + FAQ split ---------- */
.mvc-service .mvc-split { display: grid; grid-template-columns: 1fr 1fr; }
.mvc-service .mvc-split--solo { grid-template-columns: 1fr; }
.mvc-service .mvc-split__areas {
  position: relative; color: #fff;
  background: linear-gradient(110deg, var(--mvc-navy) 0%, var(--mvc-navy-2) 100%);
  padding: clamp(44px, 5vw, 64px) 20px;
  display: flex; justify-content: flex-end;
}
.mvc-service .mvc-split__areas-inner { width: 100%; max-width: 560px; padding-right: clamp(0px, 3vw, 40px); }
.mvc-service .mvc-split--solo .mvc-split__areas { justify-content: center; }
.mvc-service .mvc-split__eyebrow {
  display: flex; align-items: flex-start; gap: 14px; margin-bottom: 16px;
  font-family: var(--mvc-head); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
}
.mvc-service .mvc-split__pin { width: 34px; height: 34px; color: #e07a35; }
.mvc-service .mvc-split__areas h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: #fff; margin-bottom: 1rem; }
main.mvc-service .mvc-split__areas p { color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.65; margin-bottom: 1.6rem; }

.mvc-service .mvc-split__faq { padding: clamp(44px, 5vw, 64px) 20px; }
.mvc-service .mvc-split__faq > * { max-width: 560px; margin-left: clamp(0px, 3vw, 40px); }
.mvc-service .mvc-split__faq h2 { font-size: 1.5rem; font-weight: 700; color: var(--mvc-navy); margin-bottom: 18px; }
.mvc-service .mvc-faq { display: grid; gap: 10px; }
.mvc-service .mvc-faq__item { border: 1px solid var(--mvc-line); border-radius: 8px; background: #fff; box-shadow: 0 2px 8px rgba(14,35,65,.04); }
.mvc-service .mvc-faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px; font-weight: 500; font-size: .95rem; color: var(--mvc-ink);
}
.mvc-service .mvc-faq__item summary::-webkit-details-marker { display: none; }
.mvc-service .mvc-faq__item summary:focus-visible { outline: 2px solid var(--mvc-orange); outline-offset: 2px; border-radius: 8px; }
.mvc-service .mvc-faq__toggle { color: var(--mvc-orange); stroke-width: 2.5; transition: transform .2s ease; }
.mvc-service .mvc-faq__item[open] .mvc-faq__toggle { transform: rotate(45deg); }
main.mvc-service .mvc-faq__answer { padding: 0 18px 16px; color: var(--mvc-muted); font-size: .92rem; line-height: 1.6; }
main.mvc-service .mvc-faq__answer p, main.mvc-service .mvc-faq__answer li { font-size: inherit; line-height: inherit; }
.mvc-service .mvc-faq__answer p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.mvc-service .mvc-cta {
  color: #fff; padding: 30px 0;
  background: linear-gradient(90deg, #8f3a12 0%, #b8521c 45%, #9a4116 100%);
}
.mvc-service .mvc-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.mvc-service .mvc-cta__inner > * + *:not(.mvc-btn) { border-left: 1px solid rgba(255,255,255,.3); padding-left: 28px; }
.mvc-service .mvc-cta__badge { display: flex; align-items: center; gap: 14px; }
.mvc-service .mvc-cta__clock { width: 46px; height: 46px; }
.mvc-service .mvc-cta__badge strong { display: block; font-family: var(--mvc-head); font-size: 1.6rem; line-height: 1; }
.mvc-service .mvc-cta__badge small { display: block; font-family: var(--mvc-head); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.mvc-service .mvc-cta__text h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; color: #fff; margin-bottom: .2rem; }
main.mvc-service .mvc-cta__text p { margin: 0 !important; font-size: .85rem; opacity: .9; }
.mvc-service .mvc-cta__phone { display: inline-flex; align-items: center; gap: 12px; color: #fff !important; text-decoration: none !important; font-family: var(--mvc-head); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; }
.mvc-service .mvc-cta__phone .mvc-icon { width: 34px; height: 34px; fill: #fff; stroke: none; }

/* ---------- Archive grid ---------- */
.mvc-service .mvc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 24px; }
.mvc-service .mvc-tile {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--mvc-line); border-radius: 12px; overflow: hidden;
  box-shadow: var(--mvc-shadow); color: inherit; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mvc-service .mvc-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(14,35,65,.15); }
.mvc-service .mvc-tile__media { display: block; aspect-ratio: 16 / 10; background: var(--mvc-navy); overflow: hidden; }
.mvc-service .mvc-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mvc-service .mvc-tile:hover .mvc-tile__media img { transform: scale(1.05); }
.mvc-service .mvc-tile__placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: rgba(255,255,255,.25); }
.mvc-service .mvc-tile__placeholder .mvc-icon { width: 64px; height: 64px; }
.mvc-service .mvc-tile__icon {
  position: relative; z-index: 1; margin: -30px 0 0 22px;
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: var(--mvc-navy-2); box-shadow: 0 6px 16px rgba(14,35,65,.15);
}
.mvc-service .mvc-tile__icon .mvc-icon, .mvc-service .mvc-tile__icon img { width: 32px; height: 32px; object-fit: contain; }
.mvc-service .mvc-tile__body { padding: 14px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.mvc-service .mvc-tile__title { font-size: 1.15rem; font-weight: 700; color: var(--mvc-navy); margin-bottom: .5rem !important; }
main.mvc-service .mvc-tile__text { display: block; font-size: .9rem; color: var(--mvc-muted); line-height: 1.55; margin-bottom: 1rem; }
.mvc-service .mvc-tile__more { margin-top: auto; display: inline-flex; align-items: center; gap: .45em; font-family: var(--mvc-head); font-weight: 600; font-size: .9rem; color: var(--mvc-orange-2); }
.mvc-service .mvc-tile__more .mvc-icon { width: 1em; height: 1em; transition: transform .2s ease; }
.mvc-service .mvc-tile:hover .mvc-tile__more .mvc-icon { transform: translateX(4px); }
.mvc-service .mvc-empty { text-align: center; color: var(--mvc-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .mvc-service .mvc-trust__list { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .mvc-service .mvc-trust__item:nth-child(odd) { border-left: 0; }
  .mvc-service .mvc-cta__inner { justify-content: center; text-align: center; }
  .mvc-service .mvc-cta__inner > * + *:not(.mvc-btn) { border-left: 0; padding-left: 0; }
}
@media (max-width: 860px) {
  .mvc-service .mvc-hero::before { background: linear-gradient(180deg, rgba(10,27,51,.88) 0%, rgba(10,27,51,.92) 100%); }
  .mvc-service .mvc-intro__grid, .mvc-service .mvc-split { grid-template-columns: 1fr; }
  .mvc-service .mvc-intro__media { order: -1; }
  .mvc-service .mvc-split__areas { justify-content: flex-start; }
  .mvc-service .mvc-split__areas-inner, .mvc-service .mvc-split__faq > * { max-width: none; margin-left: 0; padding-right: 0; }
}
@media (max-width: 560px) {
  .mvc-service .mvc-container { padding: 0 16px; }
  .mvc-service .mvc-trust__list { grid-template-columns: 1fr; }
  .mvc-service .mvc-trust__item + .mvc-trust__item { border-left: 0; border-top: 1px solid var(--mvc-line); padding-top: 14px; }
  .mvc-service .mvc-btns .mvc-btn { width: 100%; }
  .mvc-service .mvc-split__areas, .mvc-service .mvc-split__faq { padding-left: 16px; padding-right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .mvc-service * { transition: none !important; }
}
