/* Latvian V14.2 services module. AI illustrations are labeled; powerlines and roof snow use neutral graphics. */
html .lv-service-overview {
  background: #f4f2ea;
}

html .lv-service-overview h1 {
  max-width: 850px;
  font-size: clamp(40px, 5vw, 66px);
}

html .lv-service-intro {
  max-width: 760px;
  margin: 0 0 42px;
  color: #536158;
}

html .lv-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

html .lv-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dce0d5;
  box-shadow: 0 8px 24px rgba(23, 56, 47, .045);
  transition: transform .22s ease, box-shadow .22s ease;
}

html .lv-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 32px rgba(23, 56, 47, .11);
}

html .lv-service-card-visual {
  display: block;
  overflow: hidden;
}

html .lv-service-photo {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #e5e8df;
}

html .lv-service-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: var(--service-photo-position, 50% 50%);
  transition: transform .55s cubic-bezier(.2, .7, .2, 1);
}

html .lv-service-card-visual:hover .lv-service-photo img {
  transform: scale(1.035);
}

html .lv-service-photo figcaption {
  padding: 7px 11px;
  background: #fbfaf6;
  color: #687369;
  font-size: 10px;
  line-height: 1.4;
}

html .lv-service-visual {
  position: relative;
  display: grid;
  min-height: 196px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 77% 24%, rgba(185, 157, 103, .19), transparent 32%),
    linear-gradient(135deg, #e2e6d9, #f4f2e9 54%, #dce4d8);
  color: #345344;
}

html .lv-service-visual::before,
html .lv-service-visual::after {
  position: absolute;
  width: 175%;
  height: 1px;
  background: rgba(72, 101, 78, .11);
  content: "";
  transform: rotate(-19deg);
}

html .lv-service-visual::before { top: 34%; left: -20%; }
html .lv-service-visual::after { top: 72%; left: -18%; }

html .lv-service-visual svg {
  z-index: 1;
  width: 106px;
  height: 106px;
  overflow: visible;
}

html .lv-service-visual svg circle {
  fill: rgba(255, 255, 255, .52);
  stroke: rgba(74, 100, 78, .2);
  stroke-width: .8;
}

html .lv-service-visual svg g {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

html .lv-service-visual > span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  color: #526555;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

html .lv-service-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: stretch;
  padding: 22px 22px 17px;
}

html .lv-service-card h3 {
  margin: 0 0 11px;
  font: normal 25px/1.2 Georgia, serif;
}

html .lv-service-card-copy > p {
  flex: 1;
  color: #59665b;
  font-size: 14px !important;
  line-height: 1.65 !important;
}

html .lv-service-card .text-link {
  margin-top: 8px;
  padding-top: 14px;
}

html .lv-service-image-note {
  margin: 22px 0 0;
  color: #687369;
  font-size: 11px !important;
}

html .lv-seasonal {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 7%;
  background: #e5e8df;
}

html .lv-seasonal-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
}

html .lv-seasonal-heading > p:last-child {
  max-width: 520px;
  color: #536158;
}

html .lv-seasonal-card .lv-service-card {
  display: grid;
  grid-template-columns: minmax(150px, .8fr) minmax(0, 1.2fr);
  max-width: 700px;
}

html .lv-seasonal-card .lv-service-visual {
  min-height: 100%;
}

html .lv-service-hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr);
  gap: 7%;
}

html .lv-service-hero-copy {
  max-width: 720px;
}

html .lv-service-hero .lv-service-visual {
  min-height: 360px;
}

html .lv-service-hero .lv-service-photo {
  align-self: center;
  box-shadow: 0 18px 40px rgba(23, 56, 47, .13);
}

html .lv-service-hero .lv-service-photo img {
  aspect-ratio: 3 / 2;
  max-height: 435px;
}

html .lv-service-hero .lv-service-photo figcaption {
  padding: 9px 13px;
}

html .lv-service-hero .lv-service-visual svg {
  width: 150px;
  height: 150px;
}

html .lv-overview-link {
  display: flex;
  width: fit-content;
  margin-top: 16px;
  padding: 8px 0;
  color: #284a38;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #a5b09f;
  text-underline-offset: 4px;
}

html .lv-service-detail {
  background: #f8f7f1;
}

html .lv-service-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 0;
  padding-bottom: 34px;
  background: #f8f7f1;
}

html .lv-service-facts article {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 92px;
  padding: 18px 20px;
  border-top: 2px solid #a86843;
  background: #eeeee5;
}

html .lv-service-facts article span {
  color: #68766b;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

html .lv-service-facts article strong {
  color: #2d4938;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

html .lv-detail-row {
  display: grid;
  grid-template-columns: minmax(170px, .7fr) minmax(0, 1.3fr);
  gap: 7%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0;
  border-bottom: 1px solid #d5dbd0;
}

html .lv-detail-row:first-child { padding-top: 0; }
html .lv-detail-row:last-child { border-bottom: 0; }

html .lv-detail-row > .eyebrow {
  margin-top: 8px;
  color: #66756a;
  font-size: 10px;
}

html .lv-detail-row h2 {
  margin-bottom: 12px;
  font-size: clamp(26px, 3vw, 36px);
}

html .lv-detail-row p:not(.eyebrow) {
  max-width: 780px;
  color: #536158;
}

html .lv-related {
  background: #e6e9df;
}

html .lv-related-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 14px;
  margin: 14px 0 20px;
}

html .lv-related-links a {
  min-width: 0;
  padding: 9px 3px;
  border-bottom: 1px solid #b6c2ac;
  font-size: 13px;
  line-height: 1.45;
}

html .lv-related-links a:hover { color: #8b744d; }

html .lv-company-credentials {
  margin: 34px 0;
  padding: 24px 28px;
  border-left: 3px solid #9c8052;
  background: #f1f0e7;
}

html .lv-company-credentials h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.5vw, 30px);
}

html .lv-company-credentials p { margin: 0; }

html .lv-owner-photo {
  width: 100%;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #e5e8df;
}

html .lv-owner-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: var(--owner-photo-position, 50% 50%);
}

html .lv-owner-photo-portrait img {
  aspect-ratio: 4 / 5;
  max-height: 620px;
}

html .lv-owner-photo figcaption {
  padding: 9px 13px;
  background: #f3f1e9;
  color: #56645a;
  font-size: 11px;
  line-height: 1.5;
}

html .lv-service-photo-stories {
  display: grid;
  gap: clamp(32px, 6vw, 74px);
  background: #f4f2ea;
}

html .lv-photo-story {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  max-width: 1200px;
  margin: 0 auto;
}

html .lv-photo-story:nth-child(even) > div { order: 2; }
html .lv-photo-story:nth-child(even) > figure { order: 1; }
html .lv-photo-story h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 36px); }
html .lv-photo-story p { max-width: 560px; color: #536158; }

html .lv-jobs-page > .lv-owner-photo {
  max-width: 840px;
  margin: 30px 0 10px;
  box-shadow: 0 14px 36px rgba(23, 56, 47, .1);
}

html .lv-jobs-photo-note {
  margin: 0 0 38px;
  color: #687369;
  font-size: 13px;
}

html .team-compact > div:first-child > .lv-owner-photo,
html .recruitment-image > .lv-owner-photo {
  width: 100%;
  box-shadow: 0 14px 36px rgba(23, 56, 47, .1);
}

html .team-compact > div:first-child > .lv-owner-photo img {
  height: 340px;
  aspect-ratio: 4 / 3;
}

html .recruitment-image > .lv-owner-photo img {
  height: auto;
  aspect-ratio: 4 / 3;
}

html .lv-work-principles {
  margin: 38px 0 48px;
  padding: 28px clamp(20px, 4vw, 44px);
  border-left: 2px solid #ad7655;
  background: rgba(243, 242, 236, .08);
}

html .lv-work-principles h2 { margin: 0 0 16px; }
html .lv-work-principles ul { margin: 0; padding-left: 20px; }
html .lv-work-principles li { margin: 10px 0; color: #e1e9de; line-height: 1.65; }

@media (max-width: 900px) {
  html .lv-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .lv-seasonal { grid-template-columns: 1fr; gap: 24px; }
  html .lv-seasonal-card .lv-service-card { max-width: 100%; }
}

@media (max-width: 700px) {
  html .lv-service-overview h1 { font-size: clamp(36px, 9vw, 48px); }
  html .lv-service-grid { grid-template-columns: 1fr; gap: 16px; }
  html .lv-service-visual { min-height: 175px; }
  html .lv-service-card-copy { padding: 18px 18px 14px; }
  html .lv-service-card h3 { font-size: 23px; }
  html .lv-seasonal-card .lv-service-card { grid-template-columns: 1fr; }
  html .lv-seasonal-card .lv-service-visual { min-height: 175px; }
  html .lv-service-hero { grid-template-columns: 1fr; gap: 25px; }
  html .lv-service-hero .lv-service-visual { min-height: 235px; }
  html .lv-service-hero-copy { order: 1; }
  html .lv-service-hero .lv-service-photo,
  html .lv-service-hero > .lv-service-visual { order: 2; }
  html .lv-service-hero .lv-service-photo img { aspect-ratio: 3 / 2; }
  html .lv-detail-row { grid-template-columns: 1fr; gap: 8px; padding: 23px 0; }
  html .lv-service-facts { grid-template-columns: 1fr; gap: 10px; padding-bottom: 22px; }
  html .lv-service-facts article { min-height: 0; padding: 15px 16px; }
  html .lv-detail-row > .eyebrow { margin: 0; }
  html .lv-related-links { grid-template-columns: 1fr; gap: 0; }
  html .lv-photo-story { grid-template-columns: 1fr; gap: 18px; }
  html .lv-company-credentials { margin: 24px 0; padding: 20px; }
  html .lv-photo-story:nth-child(even) > div,
  html .lv-photo-story:nth-child(even) > figure { order: initial; }
  html .lv-owner-photo-portrait img { aspect-ratio: 4 / 5; }
  html .lv-jobs-page > .lv-owner-photo { margin: 22px 0 8px; }
  html .team-compact > div:first-child > .lv-owner-photo img { height: 260px; }
  html .recruitment-image > .lv-owner-photo img { max-height: 300px; }
  html .lv-overview-link { min-height: 42px; align-items: center; }
  html .lv-service-hero .button,
  html .lv-related > .button { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html .lv-service-card { transition: none; }
  html .lv-service-photo img { transition: none; }
  html .lv-owner-photo img { transition: none; }
}

/* LV V14.15: semantic H2 headings retain the approved competence-card scale. */
html .qualification-grid h2{font:normal 25px/1.3 Georgia,serif;margin:0 0 14px}
@media(max-width:700px){html .qualification-grid h2{font-size:22px}}

/* The light credentials panel must not inherit light text from the quality section. */
html .quality.section .lv-company-credentials{color:#20342b}
html .quality.section .lv-company-credentials h2{color:#244333}
