/**
 * Exec IT — Layout v2
 * Copy to: public/assets/css/v2.css
 *
 * Design tokens + custom components (v2-*). Bootstrap 5 handles grid/nav.
 * Preview: serve from project root so /assets/... resolves.
 */

:root {
  --v2-navy: #0a2e6b;
  --v2-navy-deep: #101828;
  --v2-ink: #101828;
  --v2-muted: #718096;
  --v2-blue: #0066ff;
  --v2-amber: #ffac27;
  --v2-amber-deep: #bc7141;
  --v2-amber-brand: #e89719;
  --v2-bg: #ffffff;
  --v2-bg-soft: #f6f9fc;
  --v2-bg-tint: #f5f9ff;
  --v2-line: #e5eaf2;
  --v2-line-strong: #cbe0ff;
  --v2-white: #ffffff;
  --v2-font: "Montserrat", "Segoe UI", sans-serif;
  --v2-font-body: "Inter", "Segoe UI", sans-serif;
}

body.v2-body {
  font-family: var(--v2-font-body);
  color: var(--v2-ink);
  background: var(--v2-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.v2-body img {
  max-width: 100%;
  height: auto;
}

.v2-body a {
  color: inherit;
  text-decoration: none;
}

.v2-body strong {
  font-weight: 600;
}

/* —— Buttons —— */
.v2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border: 1px solid transparent;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.v2-btn--primary,
.v2-body a.v2-btn--primary {
  background: var(--v2-amber);
  color: var(--v2-navy-deep);
}

.v2-btn--primary:hover,
.v2-body a.v2-btn--primary:hover {
  background: var(--v2-amber-brand);
  color: var(--v2-navy-deep);
}

.v2-btn--outline,
.v2-body a.v2-btn--outline {
  background: transparent;
  color: var(--v2-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.v2-btn--outline:hover,
.v2-body a.v2-btn--outline:hover {
  border-color: var(--v2-white);
  color: var(--v2-white);
}

.v2-btn--dark,
.v2-body a.v2-btn--dark {
  background: var(--v2-navy);
  color: var(--v2-white);
}

.v2-btn--dark:hover,
.v2-body a.v2-btn--dark:hover {
  background: var(--v2-navy-deep);
  color: var(--v2-white);
}

.v2-btn--ghost-dark,
.v2-body a.v2-btn--ghost-dark {
  background: transparent;
  color: var(--v2-navy);
  border-color: var(--v2-navy);
}

.v2-btn--ghost-dark:hover,
.v2-body a.v2-btn--ghost-dark:hover {
  background: var(--v2-navy);
  color: var(--v2-white);
}

/* —— Header / nav —— */
.v2-header {
  border-bottom: 1px solid var(--v2-line);
  background: var(--v2-white);
}

.v2-header .navbar {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  min-height: 72px;
}

/* Logo: original mark, header 36px (mockup), crisp retina PNG */
.v2-header .v2-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.v2-body .v2-header .v2-logo,
.v2-header .v2-logo {
  display: block;
  width: 176px !important;
  height: 36px !important;
  max-width: 176px !important;
  max-height: 36px !important;
  object-fit: contain;
}

.v2-body .v2-footer .v2-logo,
.v2-footer .v2-logo {
  display: block;
  width: 156px !important;
  height: 32px !important;
  max-width: 156px !important;
  max-height: 32px !important;
  margin-bottom: 16px;
  object-fit: contain;
}

.v2-nav .nav-link {
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 600;
  color: var(--v2-navy) !important;
  padding: 8px 12px !important;
  position: relative;
  white-space: nowrap;
}

.v2-nav .nav-link.is-active,
.v2-nav .nav-link.active {
  color: var(--v2-amber-brand) !important;
  font-weight: 700;
}

.v2-nav .nav-link.is-active::after,
.v2-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 3px;
  background: var(--v2-amber);
  border-radius: 2px;
}

.v2-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.v2-header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-ink);
  white-space: nowrap;
  letter-spacing: 0.02em;
  line-height: 1;
}

.v2-header-phone svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  fill: currentColor;
}

.v2-navbar-toggler {
  border: 1px solid var(--v2-line);
  padding: 0.5rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.v2-navbar-toggler:focus {
  box-shadow: none;
}

/* Tall enough for 3 bars so the border wraps the whole icon, not the middle line */
.v2-navbar-toggler-icon {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
  background-color: transparent;
  background-image: linear-gradient(var(--v2-navy), var(--v2-navy));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 2px;
}

.v2-navbar-toggler-icon::before,
.v2-navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--v2-navy);
}

.v2-navbar-toggler-icon::before {
  top: 0;
}

.v2-navbar-toggler-icon::after {
  top: auto;
  bottom: 0;
}

@media (max-width: 1199.98px) {
  .v2-header-actions {
    align-items: flex-start;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--v2-line);
    width: 100%;
  }

  .v2-nav .nav-link.is-active::after,
  .v2-nav .nav-link.active::after {
    display: none;
  }

  .v2-nav .nav-link.is-active,
  .v2-nav .nav-link.active {
    border-left: 3px solid var(--v2-amber);
    padding-left: 10px !important;
  }
}

/* —— Hero —— */
.v2-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a2e6b 0%, #101828 72%);
  color: var(--v2-white);
  padding: 40px 0 48px;
}

.v2-hero__eyebrow {
  font-family: var(--v2-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--v2-amber);
  margin-bottom: 12px;
}

.v2-hero h1 {
  font-family: var(--v2-font);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.v2-hero__lead {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin-bottom: 10px;
}

.v2-hero__sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 22px;
}

.v2-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.v2-hero__visual {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 8px;
}

.v2-hero__visual img {
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: 0;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

@media (min-width: 992px) {
  .v2-hero {
    padding: 48px 0 56px;
  }

  .v2-hero__visual {
    min-height: 280px;
    justify-content: flex-end;
    padding-right: 24px;
    margin-right: 0;
  }

  .v2-hero__visual img {
    width: min(100%, 460px);
  }
}

/* —— Sections —— */
.v2-section {
  padding: 64px 0;
}

@media (min-width: 768px) {
  .v2-section {
    padding: 80px 0;
  }
}

.v2-section--soft {
  background: var(--v2-bg-soft);
}

.v2-section--tint {
  background: var(--v2-bg-tint);
}

.v2-section--navy {
  background: var(--v2-navy-deep);
  color: var(--v2-white);
}

.v2-section__head {
  max-width: 40rem;
  margin-bottom: 40px;
}

.v2-section__head--center {
  text-align: center;
  margin-inline: auto;
}

.v2-section__label {
  font-family: var(--v2-font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--v2-amber-deep);
  margin-bottom: 12px;
}

.v2-section--navy .v2-section__label {
  color: var(--v2-amber);
}

.v2-section h2,
.v2-heading {
  font-family: var(--v2-font);
  font-size: clamp(1.6rem, 3vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--v2-ink);
  margin-bottom: 14px;
}

.v2-section--navy h2 {
  color: var(--v2-white);
}

.v2-section h2 em,
.v2-heading em {
  font-style: normal;
  color: var(--v2-amber-deep);
}

.v2-section--navy h2 em {
  color: var(--v2-amber);
}

.v2-section__desc {
  font-size: 15px;
  color: var(--v2-muted);
  margin-bottom: 0;
}

.v2-section--navy .v2-section__desc {
  color: rgba(255, 255, 255, 0.7);
}

.v2-section__cta-row {
  text-align: center;
  margin-top: 36px;
}

/* —— Service grid —— */
.v2-svc-grid {
  border: 1px solid var(--v2-line);
  background: var(--v2-line);
}

.v2-svc-item {
  background: var(--v2-white);
  padding: 28px 24px 32px;
  height: 100%;
  border: 0.5px solid var(--v2-line);
}

.v2-svc-item__num {
  font-family: var(--v2-font);
  font-size: 12px;
  font-weight: 700;
  color: var(--v2-amber-deep);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.v2-svc-item h3 {
  font-family: var(--v2-font);
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 10px;
  color: var(--v2-ink);
}

.v2-svc-item p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 0;
}

/* —— Reasons —— */
.v2-reason-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(5, auto);
  grid-auto-flow: column;
  column-gap: 40px;
}

.v2-reason {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid var(--v2-line);
}

.v2-reason__mark {
  margin-top: 3px;
  background: none;
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--v2-amber-deep);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 767.98px) {
  .v2-reason-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
  }
}

.v2-reason h3 {
  font-family: var(--v2-font);
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 6px;
}

.v2-reason p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 0;
}

/* —— Cases —— */
.v2-case-card {
  border: 1px solid var(--v2-line);
  background: var(--v2-white);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

a.v2-case-card:hover {
  border-color: var(--v2-amber);
}

.v2-case-card__img {
  height: 220px;
  background: #dcebff center / cover no-repeat;
  border-bottom: 1px solid var(--v2-line);
}

.v2-case-card__img--tall {
  height: 260px;
}

.v2-case-card__body {
  display: flex;
  align-items: stretch;
  flex: 1;
}

.v2-case-card__text {
  flex: 1;
  padding: 22px 24px;
}

.v2-case-card__text h3 {
  font-family: var(--v2-font);
  font-size: 18px;
  font-weight: 650;
  color: var(--v2-amber-deep);
  margin-bottom: 8px;
}

.v2-case-card__text p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 0;
}

.v2-case-card__cta {
  width: 56px;
  background: var(--v2-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--v2-navy-deep);
  font-weight: 700;
  flex-shrink: 0;
}

/* —— Testimonials —— */
.v2-quote {
  border-top: 3px solid var(--v2-amber);
  background: var(--v2-white);
  border-right: 1px solid var(--v2-line);
  border-bottom: 1px solid var(--v2-line);
  border-left: 1px solid var(--v2-line);
  padding: 24px;
  height: 100%;
  margin: 0;
}

.v2-quote p {
  font-size: 14px;
  color: var(--v2-ink);
  margin-bottom: 20px;
  min-height: 5.5em;
}

.v2-quote__who {
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 600;
  color: var(--v2-muted);
}

/* —— Pricing band —— */
.v2-price-band {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.v2-price-band .v2-rate {
  font-family: var(--v2-font);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--v2-amber-deep);
  margin: 12px 0 18px;
}

.v2-price-band p {
  color: var(--v2-muted);
  font-size: 15px;
  margin-bottom: 24px;
}

/* —— CTA —— */
.v2-cta {
  text-align: center;
  padding: 48px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, #0a2e6b, #101828);
  color: var(--v2-white);
}

@media (min-width: 768px) {
  .v2-cta {
    padding: 56px 40px;
  }
}

.v2-cta h2 {
  font-family: var(--v2-font);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--v2-white);
}

.v2-cta h2 em {
  font-style: normal;
  color: var(--v2-amber);
}

.v2-cta p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 34rem;
  margin: 0 auto 28px;
  font-size: 15px;
}

/* —— Breadcrumb / page intro —— */
.v2-page-bar {
  background: var(--v2-bg-soft);
  border-bottom: 1px solid var(--v2-line);
  padding: 14px 0;
  font-size: 13px;
  color: var(--v2-muted);
}

.v2-page-bar span {
  color: var(--v2-amber-deep);
  font-weight: 600;
}

.v2-page-bar a:hover {
  color: var(--v2-navy);
}

.v2-page-intro {
  padding: 48px 0 24px;
}

@media (min-width: 768px) {
  .v2-page-intro {
    padding: 64px 0 24px;
  }
}

.v2-page-intro h1 {
  font-family: var(--v2-font);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.v2-page-intro h1 em {
  font-style: normal;
  color: var(--v2-amber-deep);
}

.v2-page-intro p {
  max-width: 42rem;
  color: var(--v2-muted);
  font-size: 16px;
  margin-bottom: 0;
}

/* —— Points / offers —— */
.v2-point {
  border-top: 2px solid var(--v2-amber);
  padding-top: 20px;
  height: 100%;
}

.v2-point h3 {
  font-family: var(--v2-font);
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
}

.v2-point p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 0;
}

.v2-offer {
  border: 1px solid var(--v2-line);
  background: var(--v2-white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  height: 100%;
}

.v2-offer h3 {
  font-family: var(--v2-font);
  font-size: 17px;
  font-weight: 650;
  margin-bottom: 10px;
}

.v2-offer > p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 14px;
  flex: 1;
}

.v2-offer ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--v2-ink);
}

.v2-offer li {
  padding: 4px 0 4px 14px;
  position: relative;
}

.v2-offer li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 5px;
  height: 5px;
  background: var(--v2-amber);
}

.v2-offer__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--v2-line);
  padding-top: 14px;
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  flex-wrap: wrap;
}

.v2-offer__meta .v2-price {
  color: var(--v2-amber-deep);
}

.v2-offer__meta .v2-hours {
  color: var(--v2-muted);
  font-weight: 500;
}

/* —— Process —— */
.v2-process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--v2-line);
}

@media (min-width: 768px) {
  .v2-process-step {
    grid-template-columns: 88px 1fr;
    gap: 24px;
    padding: 28px 0;
  }
}

.v2-process-step:first-child {
  border-top: 1px solid var(--v2-line);
}

.v2-process-num {
  font-family: var(--v2-font);
  font-size: 28px;
  font-weight: 700;
  color: var(--v2-navy);
  line-height: 1;
}

.v2-process-step h3 {
  font-family: var(--v2-font);
  font-size: 18px;
  font-weight: 650;
  margin-bottom: 8px;
}

.v2-process-step p {
  font-size: 14px;
  color: var(--v2-muted);
  max-width: 48rem;
  margin-bottom: 0;
}

/* —— Split / checklist —— */
.v2-check-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
}

.v2-check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  padding: 8px 0;
  color: var(--v2-ink);
}

.v2-check-list li i {
  color: var(--v2-amber-deep);
  font-style: normal;
  font-weight: 700;
  flex-shrink: 0;
}

.v2-split-visual {
  background: var(--v2-bg-tint) center / cover no-repeat;
  border: 1px solid var(--v2-line);
  min-height: 280px;
}

img.v2-split-visual {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  background: var(--v2-bg-tint);
}

.v2-feature-box {
  border: 1px solid var(--v2-line);
  border-top: 2px solid var(--v2-amber);
  padding: 18px;
  background: var(--v2-white);
  height: 100%;
}

.v2-feature-box h3 {
  font-family: var(--v2-font);
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 8px;
}

.v2-feature-box p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 0;
}

/* —— Contact —— */
.v2-form {
  border: 1px solid var(--v2-line);
  background: var(--v2-white);
  padding: 24px;
}

@media (min-width: 768px) {
  .v2-form {
    padding: 32px;
  }
}

.v2-field {
  margin-bottom: 16px;
}

.v2-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: var(--v2-font);
}

.v2-field .form-control {
  border: 1px solid var(--v2-line);
  padding: 12px 14px;
  font-size: 14px;
  background: var(--v2-bg-soft);
  color: var(--v2-ink);
  border-radius: 0;
}

.v2-field .form-control:focus {
  border-color: var(--v2-amber);
  box-shadow: 0 0 0 0.15rem rgba(255, 172, 39, 0.25);
  background: var(--v2-white);
}

.v2-field textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.v2-aside-card {
  background: var(--v2-amber);
  color: var(--v2-navy-deep);
  padding: 32px 28px;
  height: 100%;
}

.v2-aside-card h3 {
  font-family: var(--v2-font);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.v2-aside-card p,
.v2-aside-card a {
  font-size: 14px;
  margin-bottom: 22px;
  display: block;
  color: rgba(16, 24, 40, 0.82);
}

.v2-aside-card a {
  font-weight: 600;
}

.v2-aside-card a:hover {
  color: var(--v2-navy-deep);
}

.v2-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
}

.v2-contact-phone h3 {
  font-family: var(--v2-font);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--v2-navy-deep);
}

.v2-contact-phone p {
  font-size: 14px;
  color: var(--v2-muted);
  margin-bottom: 8px;
}

.v2-contact-phone a {
  font-family: var(--v2-font);
  font-size: 18px;
  font-weight: 700;
  color: var(--v2-navy-deep);
}

.v2-contact-phone a:hover {
  color: var(--v2-blue);
}

/* —— Footer —— */
.v2-footer {
  background: var(--v2-navy-deep);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 40px;
}


.v2-footer p {
  font-size: 14px;
  max-width: 22rem;
  margin-bottom: 12px;
}

.v2-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.v2-footer-contact a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.v2-footer-contact a:hover {
  color: var(--v2-amber);
}

.v2-footer h4 {
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 650;
  color: var(--v2-white);
  margin-bottom: 16px;
}

.v2-footer-links a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
}

.v2-footer-links a:hover {
  color: var(--v2-amber);
}

.v2-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  align-items: center;
}

.v2-footer-bottom a {
  color: rgba(255, 255, 255, 0.55);
}

.v2-footer-bottom a:hover {
  color: var(--v2-amber);
}

/* —— Consent checkbox —— */
.v2-consent {
  margin: 0;
}

.v2-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.45;
  color: var(--v2-muted);
  font-weight: 400;
}

.v2-consent__input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--v2-amber);
  cursor: pointer;
}

.v2-consent__input.is-invalid {
  outline: 1px solid #dc3545;
}

.v2-consent__text a {
  color: var(--v2-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-consent__text a:hover {
  color: var(--v2-amber-dark, #d97706);
}

.v2-consent .v2-field-error {
  margin-top: 6px;
  margin-left: 28px;
}

.v2-consent--chat {
  margin: 0 0 10px;
}

.v2-consent--chat .v2-consent__label {
  font-size: 12px;
  color: #555;
}

.v2-consent--chat .v2-consent__text a {
  color: #0a2e6b;
}

.v2-consent--chat .v2-field-error {
  margin-left: 0;
  font-size: 12px;
}

/* —— Legal document —— */
.v2-legal {
  max-width: 820px;
}

.v2-legal__meta {
  font-size: 13px;
  color: var(--v2-muted);
  margin-bottom: 28px;
}

.v2-legal h2 {
  font-family: var(--v2-font);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--v2-ink);
  margin: 28px 0 12px;
}

.v2-legal p,
.v2-legal li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--v2-muted);
  margin-bottom: 12px;
}

.v2-legal ul {
  padding-left: 1.2rem;
  margin-bottom: 16px;
}

.v2-legal a {
  color: var(--v2-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.v2-legal a:hover {
  color: var(--v2-amber-dark, #d97706);
}

/* —— Case detail —— */
.v2-case-hero {
  background: linear-gradient(135deg, #0a2e6b 0%, #101828 72%);
  color: var(--v2-white);
  padding: 48px 0;
}

.v2-case-hero .v2-section__label {
  color: var(--v2-amber);
}

.v2-case-hero h1 {
  font-family: var(--v2-font);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--v2-white);
}

.v2-case-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40rem;
  margin-bottom: 0;
}

.v2-case-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.v2-case-article__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.v2-case-tag {
  font-family: var(--v2-font);
  font-size: 12px;
  font-weight: 600;
  color: var(--v2-navy);
  background: var(--v2-bg-tint);
  border: 1px solid var(--v2-line-strong);
  padding: 6px 12px;
}

.v2-case-article h2 {
  font-family: var(--v2-font);
  font-size: clamp(1.35rem, 3vw, 1.625rem);
  font-weight: 700;
  margin: 40px 0 14px;
  color: var(--v2-ink);
  padding-top: 8px;
  border-top: 1px solid var(--v2-line);
}

.v2-case-article h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.v2-case-article h3 {
  font-family: var(--v2-font);
  font-size: 18px;
  font-weight: 650;
  margin: 28px 0 10px;
  color: var(--v2-ink);
}

.v2-case-article p {
  font-size: 15px;
  color: var(--v2-ink);
  margin-bottom: 14px;
}

.v2-case-article .v2-lead-label {
  font-family: var(--v2-font);
  font-size: 14px;
  font-weight: 700;
  margin: 18px 0 8px;
  color: var(--v2-ink);
}

.v2-case-list {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.v2-case-list li {
  position: relative;
  padding: 8px 0 8px 18px;
  font-size: 15px;
  color: var(--v2-ink);
  border-bottom: 1px solid var(--v2-line);
}

.v2-case-list li:last-child {
  border-bottom: none;
}

.v2-case-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 7px;
  height: 7px;
  background: var(--v2-amber);
}

.v2-case-list--ordered {
  counter-reset: case-step;
}

.v2-case-list--ordered li {
  padding-left: 36px;
  counter-increment: case-step;
}

.v2-case-list--ordered li::before {
  content: counter(case-step, decimal-leading-zero);
  width: auto;
  height: auto;
  background: none;
  top: 8px;
  font-family: var(--v2-font);
  font-size: 13px;
  font-weight: 700;
  color: var(--v2-amber-deep);
}

.v2-case-figure {
  margin: 28px 0 32px;
  border: 1px solid var(--v2-line);
  background: var(--v2-bg-soft);
  overflow: hidden;
}

.v2-case-figure img {
  width: 100%;
  display: block;
}

.v2-case-figure figcaption {
  font-size: 13px;
  color: var(--v2-muted);
  padding: 12px 16px;
  border-top: 1px solid var(--v2-line);
  background: var(--v2-white);
}

.v2-case-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--v2-line);
}

/* —— Contact modal —— */
.v2-contact-modal .modal-content {
  border: 1px solid var(--v2-line);
  border-radius: 0;
  box-shadow: 0 24px 48px rgba(16, 24, 40, 0.12);
}

.v2-contact-modal .modal-header {
  border-bottom: 1px solid var(--v2-line);
  padding: 24px 24px 20px;
  align-items: flex-start;
}

.v2-contact-modal .modal-body {
  padding: 24px;
}

@media (min-width: 768px) {
  .v2-contact-modal .modal-header,
  .v2-contact-modal .modal-body {
    padding: 32px;
  }
}

.v2-contact-modal__close {
  margin-top: 4px;
}

.v2-contact-modal .v2-form {
  border: none;
  padding: 0;
}

.v2-contact-modal__hint {
  font-size: 12px;
  color: var(--v2-muted);
  margin: 8px 0 0;
}

.v2-contact-hint {
  font-size: 10px;
  color: var(--v2-muted);
  margin: 6px 0 0;
}

.v2-required {
  color: var(--v2-amber-deep);
}

.v2-field-error {
  font-size: 12px;
  color: #c53030;
  margin-top: 6px;
}

.v2-field .form-control.is-invalid {
  border-color: #c53030;
}

.v2-field .form-control.is-invalid:focus {
  border-color: #c53030;
  box-shadow: 0 0 0 0.15rem rgba(197, 48, 48, 0.15);
}

.v2-contact-modal__success {
  text-align: center;
  padding: 24px 8px;
}

.v2-contact-modal__success-title {
  font-family: var(--v2-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--v2-navy-deep);
  margin-bottom: 8px;
}

.v2-contact-modal__success-text {
  color: var(--v2-muted);
  font-size: 15px;
}

.v2-contact-success {
  border: 1px solid var(--v2-line);
  background: var(--v2-white);
  padding: 32px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.v2-contact-success__title {
  font-family: var(--v2-font);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--v2-navy-deep);
  margin-bottom: 8px;
}

.v2-contact-success__text {
  color: var(--v2-muted);
  font-size: 15px;
}

button.v2-btn {
  font-family: var(--v2-font);
}

/* —— Live chat widget —— */
.v2-chat {
  --v2-chat: #4caf50;
  --v2-chat-hover: #43a047;
  --v2-chat-bubble: #d9edf7;
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-family: var(--v2-font-body);
}

.v2-chat__panel {
  display: none;
  flex-direction: column;
  width: min(372px, calc(100vw - 28px));
  height: min(560px, calc(100vh - 44px));
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.22);
}

.v2-chat.is-open .v2-chat__panel {
  display: flex;
}

.v2-chat__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 8px 8px 8px 12px;
  background: var(--v2-chat);
  color: #fff;
  flex-shrink: 0;
}

.v2-chat__agent {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.v2-chat__avatar {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #101828;
  color: #fff;
  overflow: visible;
}

.v2-chat__avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.v2-chat__avatar-photo[hidden] {
  display: none;
}

.v2-chat__avatar-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.v2-chat__avatar.has-photo .v2-chat__avatar-fallback {
  display: none;
}

.v2-chat__online {
  position: absolute;
  top: -1px;
  right: -1px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #7ed321;
  border: 2px solid var(--v2-chat);
  box-sizing: border-box;
  box-shadow: 0 0 0 0 rgba(126, 211, 33, 0.45);
  animation: v2-chat-online-blink 1.8s ease-in-out infinite;
}

@keyframes v2-chat-online-blink {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(126, 211, 33, 0.55);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(126, 211, 33, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-chat__online {
    animation: none;
  }
}

.v2-chat__agent-text {
  min-width: 0;
}

.v2-chat__title {
  margin: 0;
  font-family: var(--v2-font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.v2-chat__role {
  font-size: 12px;
  opacity: 0.88;
  line-height: 1.2;
}

.v2-chat__header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.v2-chat__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 6px;
}

.v2-chat__icon-btn svg {
  width: 20px;
  height: 20px;
}

.v2-chat__icon-btn:hover,
.v2-chat__icon-btn:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.v2-chat__body {
  position: relative;
  flex: 1;
  min-height: 0;
  background-color: #f3f1ee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23cfc8bf' stroke-width='1.2' opacity='0.45'%3E%3Ccircle cx='28' cy='32' r='8'/%3E%3Cpath d='M22 40c2 6 10 6 12 0'/%3E%3Cpath d='M78 24h14M85 17v14'/%3E%3Cpath d='M112 30c6 0 10 5 10 11s-4 11-10 11-10-5-10-11 4-11 10-11z'/%3E%3Cpath d='M24 96h16M32 88v16'/%3E%3Cpath d='M70 88c8 0 14 6 14 8H56c0-2 6-8 14-8z'/%3E%3Ccircle cx='64' cy='108' r='4'/%3E%3Ccircle cx='76' cy='108' r='4'/%3E%3Cpath d='M108 96c4-8 16-8 20 0'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.v2-chat__thread {
  height: 100%;
  overflow-y: auto;
  padding: 14px 14px 18px;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
}

.v2-chat__thread::-webkit-scrollbar {
  width: 6px;
}

.v2-chat__thread::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 8px;
}

.v2-chat__meta {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 14px;
  gap: 8px;
}

.v2-chat__date {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 2px 12px;
  border-radius: 999px;
  background: #5a5a5a;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.v2-chat__dialog {
  grid-column: 3;
  justify-self: end;
  color: #8a8a8a;
  font-size: 11px;
}

.v2-chat__messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.v2-chat__row {
  display: flex;
}

.v2-chat__row--in {
  justify-content: flex-start;
}

.v2-chat__row--out {
  justify-content: flex-end;
}

.v2-chat__bubble {
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.45;
  color: #1a1a1a;
  word-break: break-word;
}

.v2-chat__row--in .v2-chat__bubble {
  background: var(--v2-chat-bubble);
}

.v2-chat__row--out .v2-chat__bubble {
  background: #fff;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.v2-body .v2-chat__bubble a,
.v2-chat__bubble a {
  color: #1a73e8;
  text-decoration: underline;
}

.v2-chat__bubble p {
  margin: 0 0 8px;
}

.v2-chat__bubble p:last-child {
  margin-bottom: 0;
}

.v2-chat__bubble-image {
  display: block;
  margin-top: 8px;
  width: 100%;
  max-width: 220px;
  background: #fff;
  border-radius: 4px;
  padding: 10px;
}

.v2-chat__files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.v2-chat__file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  color: #334155;
}

.v2-chat__typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  min-width: 42px;
  height: 16px;
}

.v2-chat__typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7aa8c4;
  animation: v2-chat-dot 1.2s infinite ease-in-out;
}

.v2-chat__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.v2-chat__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes v2-chat-dot {
  0%,
  80%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

.v2-chat__scroll-down {
  position: absolute;
  right: 14px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #6b7280;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.16);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.v2-chat__scroll-down[hidden] {
  display: none;
}

.v2-chat__scroll-down svg {
  width: 18px;
  height: 18px;
}

.v2-chat__intro {
  position: absolute;
  left: 18px;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.16);
  padding: 18px 16px 16px;
}

.v2-chat__intro[hidden] {
  display: none;
}

.v2-chat__intro-title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  text-align: left;
}

.v2-chat__intro-input {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  background: #f3f3f3;
  font: inherit;
  font-size: 14px;
  color: #1a1a1a;
  outline: none;
}

.v2-chat__intro-input:focus {
  border-color: #00aeef;
  background: #fff;
}

.v2-chat__intro-error {
  margin: 0 0 10px;
  font-size: 12px;
  color: #c53030;
}

.v2-chat__intro-error[hidden] {
  display: none;
}

.v2-chat__intro-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  margin-top: 4px;
  border: 0;
  border-radius: 4px;
  background: #00aeef;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.v2-chat__intro-submit:hover,
.v2-chat__intro-submit:focus-visible {
  background: #0095ce;
  outline: none;
}

.v2-chat__intro-submit:disabled {
  opacity: 0.65;
  cursor: default;
}

.v2-chat__composer {
  position: relative;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  padding: 10px 12px 8px;
}

.v2-chat__attach-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.v2-chat__attach-list[hidden] {
  display: none;
}

.v2-chat__pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f3f4f6;
  font-size: 12px;
  color: #374151;
}

.v2-chat__pending-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 180px;
}

.v2-chat__pending-remove {
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  font-size: 14px;
}

.v2-chat__input {
  display: block;
  width: 100%;
  min-height: 44px;
  max-height: 120px;
  border: 0;
  resize: none;
  padding: 0;
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: #1a1a1a;
  background: transparent;
  outline: none;
}

.v2-chat__input::placeholder {
  color: #b0b0b0;
}

.v2-chat__tools {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 4px;
}

.v2-chat__tool,
.v2-chat__send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa0a6;
  cursor: pointer;
  border-radius: 6px;
}

.v2-chat__tool svg,
.v2-chat__send svg {
  width: 20px;
  height: 20px;
}

.v2-chat__tool:hover,
.v2-chat__tool:focus-visible,
.v2-chat__send:hover,
.v2-chat__send:focus-visible {
  color: #5f6368;
  background: #f3f4f6;
  outline: none;
}

.v2-chat__send {
  margin-left: auto;
}

.v2-chat__send:not(:disabled) {
  color: var(--v2-chat);
}

.v2-chat__send:disabled {
  opacity: 0.4;
  cursor: default;
}

.v2-chat__emoji {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(100% + 6px);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.12);
}

.v2-chat__emoji[hidden] {
  display: none;
}

.v2-chat__emoji button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  line-height: 1.4;
  border-radius: 6px;
  padding: 2px;
}

.v2-chat__emoji button:hover,
.v2-chat__emoji button:focus-visible {
  background: #f3f4f6;
  outline: none;
}

.v2-chat__fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: var(--v2-chat);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: 0 6px 18px rgba(76, 175, 80, 0.45), 0 2px 6px rgba(16, 24, 40, 0.18);
  flex-shrink: 0;
}

.v2-chat__fab svg {
  width: 30px;
  height: 30px;
}

.v2-chat__fab-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #ef4444;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.18);
}

.v2-chat__fab-badge[hidden] {
  display: none;
}

.v2-chat__fab:hover,
.v2-chat__fab:focus-visible {
  background: var(--v2-chat-hover);
  outline: none;
}

.v2-chat.is-open .v2-chat__fab {
  display: none;
}

@media (max-width: 575.98px) {
  .v2-chat {
    right: 14px;
    bottom: 14px;
    left: 14px;
    align-items: stretch;
  }

  .v2-chat__panel {
    width: 100%;
    height: min(620px, calc(100vh - 28px));
  }

  .v2-chat__fab {
    align-self: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .v2-chat__typing span {
    animation: none;
  }
}
