/* Services page: image-and-content editorial service stories. */
.vv-services-intro { padding: 23px 0 0; background: #fffdf8; text-align: center; }
.vv-services-intro .container { max-width: 1300px; }
.vv-services-intro__label,
.vv-service-story__eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #a25114; font-size: 12px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.vv-services-intro__label::before,
.vv-service-story__eyebrow::before { width: 42px; height: 1px; background: currentColor; content: ''; }
.vv-services-intro h2 { margin: 17px 0; color: #000000; font-family: Georgia, serif; font-size: clamp(2.6rem, 5vw, 4.5rem); font-weight: 400; line-height: 1.04; }
.vv-services-intro h2 em,
.vv-service-story h2 em { color: #e86008; font-style: italic; }
.vv-services-intro p { max-width: 670px; margin: 0 auto; color: #635b55; font-size: 18px; line-height: 1.7; }

.vv-service-stories { padding: 20px 0 105px; background: #fffdf8; }
.vv-service-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1270px; margin: 0 auto 34px; padding: 0; }
.vv-service-tab { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-height: 48px; appearance: none; border: 1px solid #ead4d0; border-radius: 999px; background: #fffdf8; color: #74160d; cursor: pointer; font: 600 15px/1.15 Arial, sans-serif; letter-spacing: 0; padding: 13px 25px; text-align: center; transition: background-color .28s ease, border-color .28s ease, color .28s ease, box-shadow .28s ease, transform .28s ease; }
.vv-service-tab:hover { border-color: #d49a58; background: #fff4df; color: #9b0e04; transform: translateY(-2px); }
.vv-service-tab.is-active { border-color: #9b0e04; background:#03352c; box-shadow: 0 10px 20px rgba(117, 22, 13, .20); color: #fff; }
.vv-service-tab:focus-visible { outline: 3px solid rgba(215, 161, 55, .6); outline-offset: 3px; }
.vv-service-story { display: grid; grid-template-columns: minmax(320px, 42%) minmax(0, 58%); align-items: stretch; min-height: 420px; max-width: 1120px; margin: 0 auto 42px; overflow: hidden; border: 1px solid #e6d7c7; border-radius: 22px; background: #fff; box-shadow: 0 20px 48px rgba(46, 31, 17, .10); }
.vv-service-story:last-child { margin-bottom: 0; }
.vv-service-story--reverse .vv-service-story__image { grid-column: auto; }
.vv-service-story--reverse .vv-service-story__content { grid-column: auto; grid-row: auto; }
.vv-service-story__image { position: relative; min-height: 420px; overflow: hidden; background: #173b33; }
.vv-service-story__image::after { position: absolute; inset: 0; content: ''; background: linear-gradient(90deg, rgba(8, 42, 34, .16), rgba(8, 42, 34, 0)); pointer-events: none; }
.vv-service-story__image img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; transition: transform .65s ease; }
.vv-service-story:hover .vv-service-story__image img { transform: scale(1.035); }
.vv-service-story__content { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 4.5vw, 25px); background: #03352c; }
.vv-service-story__content::before { position: absolute; top: 0; right: 0; bottom: 0; width: 4px; content: ''; background: #e86008; opacity: 0; transition: opacity .3s ease; }
.vv-service-story__content::after { display: none; }
.vv-service-story:hover .vv-service-story__content::before { opacity: 1; }
.vv-service-story__number { margin-bottom: 18px; color: #d99131; font-family: Georgia, serif; font-size: 19px; }
.vv-service-story__number::after { display: inline-block; width: 68px; height: 1px; margin: 0 0 5px 14px; background: #d99131; content: ''; }
.vv-service-story h2 { max-width: 520px; margin: 15px 0 20px; color: #fffaf0; font-family: Georgia, serif; font-size: clamp(2.35rem, 3.15vw, 4rem); font-weight: 400; line-height: 1.04; }
.vv-service-story h2 em { color: #f94802; }
.vv-service-story p { max-width: 510px; margin: 0; color: #fffaf0; font-size: 17px; line-height: 1.68;text-align: justify; }
.vv-service-story ul { display: grid; gap: 10px; margin: 25px 0 29px; padding: 20px 0 0; border-top: 1px solid #eadfd3; list-style: none; }
.vv-service-story li { position: relative; padding-left: 23px; color: #fffaf0; font-size: 16px; line-height: 1.28;text-align: justify;font-family: 'Radley', Georgia, serif !important;}
.vv-service-story li::before { position: absolute; left: 0; color: #e86008; content: '✦'; }
.vv-service-story__link { align-self: flex-start; margin-top: auto; text-decoration: none; }

/* Commercial Vastu: chips listing the space types covered. */
.vv-service-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.vv-service-chips button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid rgba(233, 196, 106, .45); border-radius: 999px; background: rgba(255, 250, 240, .07); color: #fffaf0; cursor: pointer; font: 600 14px/1.1 Arial, sans-serif; transition: background-color .3s ease, border-color .3s ease, color .3s ease, transform .3s ease; }
.vv-service-chips button:hover { border-color: #e86008; background: rgba(232, 96, 8, .18); transform: translateY(-2px); }
.vv-service-chips button:focus-visible { outline: 3px solid rgba(215, 161, 55, .6); outline-offset: 2px; }
.vv-service-chips button.is-active { border-color: #e86008; background: #e86008; color: #fff; box-shadow: 0 8px 18px rgba(232, 96, 8, .35); }
.vv-service-chips i { color: #f9a35c; font-size: 13px; transition: color .3s ease; }
.vv-service-chips button.is-active i { color: #fff; }

/* Commercial photo: fades between spaces, with a label showing the current one */
.vv-commercial-gallery img { transition: opacity .25s ease, transform .65s ease; }
.vv-commercial-gallery img.is-fading { opacity: 0; }
.vv-commercial-gallery__label { position: absolute; left: 20px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border: 1px solid rgba(233, 196, 106, .55); border-radius: 999px; background: rgba(3, 53, 44, .82); color: #fffaf0; font: 600 14px/1 Arial, sans-serif; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.vv-commercial-gallery__label i { color: #f9a35c; }

/* Soft dark fade at the top so the bars and counter stay readable on bright photos */
.vv-commercial-gallery::before { position: absolute; top: 0; left: 0; right: 0; z-index: 1; height: 90px; content: ''; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent); pointer-events: none; }

/* Story-style progress bars */
.vv-commercial-gallery__bars { position: absolute; top: 16px; left: 18px; right: 96px; z-index: 2; display: flex; gap: 6px; }
.vv-commercial-gallery__bars button { position: relative; flex: 1 1 0; height: 4px; padding: 0; overflow: hidden; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .35); cursor: pointer; }
.vv-commercial-gallery__bars button::after { position: absolute; inset: -8px 0; content: ''; } /* bigger click area */
.vv-commercial-gallery__bars i { position: absolute; inset: 0; width: 0; border-radius: inherit; background: #fff; }
.vv-commercial-gallery__bars button.is-done i { width: 100%; }
.vv-commercial-gallery__bars button.is-current i { animation: vvBarFill var(--slide-duration, 4000ms) linear forwards; }
.vv-commercial-gallery.is-paused .vv-commercial-gallery__bars button.is-current i { animation-play-state: paused; }
@keyframes vvBarFill { from { width: 0; } to { width: 100%; } }

/* "01 / 05" counter */
.vv-commercial-gallery__count { position: absolute; top: 8px; right: 18px; z-index: 2; color: rgba(255, 255, 255, .8); font: 600 13px/1 Arial, sans-serif; letter-spacing: .08em; }
.vv-commercial-gallery__count strong { color: #fff; font-size: 20px; }

/* Prev / next arrows (always visible on touch screens, on hover elsewhere) */
.vv-commercial-gallery__nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(233, 196, 106, .6); border-radius: 50%; background: rgba(3, 53, 44, .72); color: #fff; cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity .3s ease, background-color .3s ease; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.vv-commercial-gallery__nav--prev { left: 16px; }
.vv-commercial-gallery__nav--next { right: 16px; }
.vv-commercial-gallery:hover .vv-commercial-gallery__nav,
.vv-commercial-gallery__nav:focus-visible { opacity: 1; }
.vv-commercial-gallery__nav:hover { background: #e86008; }
@media (hover: none) { .vv-commercial-gallery__nav { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .vv-commercial-gallery__bars button.is-current i { animation: none; width: 100%; } }

@media (min-width: 1200px) {
  .vv-service-stories .container { max-width: 1300px; }
  .vv-service-tabs,
  .vv-service-story { max-width: 1270px; }
}

@media (min-width: 992px) {
  .vv-service-story { height: 650px; min-height: 650px; }
  /* Factory panel grows to fit the lens points. */
  #service-industrial { height: auto; }
  /* Commercial panel keeps the 650px minimum but can grow for the space-type chips. */
  #service-commercial { height: auto; }
  /* New Construction panel grows to fit the land checklist. */
  #service-construction { height: auto; }
}

/* ---------- New Construction: Vastu for Land checklist inside the green panel ---------- */
.vv-land-points__title { display: flex; align-items: flex-start; gap: 9px; margin-top: 22px; color: #e9c46a; font: 700 12.5px/1.5 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.vv-land-points__title i { flex: 0 0 auto; margin-top: 2px; color: #f9a35c; font-size: 14px; }

/* Small screens: put the sub-heading on its own line instead of a dangling dash */
@media (max-width: 767px) {
  .vv-land-points__title { letter-spacing: .1em; }
  .vv-land-points__sep { display: none; }
  .vv-land-points__sub { display: block; margin-top: 3px; color: rgba(233, 196, 106, .78); font-size: 11.5px; }
}
.vv-service-story ul.vv-land-points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 22px; margin: 14px 0 30px; padding-top: 18px; border-top: 1px solid rgba(234, 223, 211, .35); }
.vv-service-story .vv-land-points li { display: flex; align-items: flex-start; gap: 12px; padding: 0; font-size: 15.5px; line-height: 1.3; text-align: left !important; }
.vv-land-points__text { min-width: 0; }
.vv-land-points__text strong { display: block; margin-bottom: 3px; color: #fffaf0; font-weight: 400; }
/* One-line explanation; trims with … if the column is ever too narrow */
.vv-land-points__text small { display: block; overflow: hidden; color: rgba(255, 250, 240, .66); font: 13px/1.45 Arial, sans-serif; text-overflow: ellipsis; white-space: nowrap; }

/* Factory: 5th lens fills the last row instead of sitting alone */
.vv-service-story .vv-land-points--factory li:last-child { grid-column: 1 / -1; }
.vv-service-story ul.vv-land-points--factory { margin-bottom: 16px; }

/* Factory: highlight note under the lens points */
.vv-service-story p.vv-factory-note { display: flex; align-items: center; gap: 12px; max-width: none; margin: 0 0 28px; padding: 12px 16px; border: 1px solid rgba(233, 196, 106, .45); border-radius: 12px; background: rgba(233, 196, 106, .10); color: #fffaf0; font-size: 15px; line-height: 1.45; text-align: left; }
.vv-factory-note i { flex: 0 0 auto; color: #f9a35c; font-size: 18px; animation: vvFactoryGear 9s linear infinite; }
.vv-factory-note strong { color: #f9a35c; }
@keyframes vvFactoryGear { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vv-factory-note i { animation: none; } }
.vv-service-story .vv-land-points li::before { display: none; }
.vv-land-points__icon { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid rgba(233, 196, 106, .45); border-radius: 9px; background: rgba(255, 250, 240, .07); color: #f9a35c; font-size: 13px; transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.vv-service-story .vv-land-points li:hover .vv-land-points__icon { border-color: #e86008; background: #e86008; color: #fff; }

@media (max-width: 575px) {
  .vv-service-story ul.vv-land-points { grid-template-columns: 1fr; }
}




@media (max-width: 991px) {
  .vv-services-intro { padding: 76px 0 52px; }
  .vv-service-stories { padding-bottom: 76px; }
  .vv-service-story { min-height: 0; grid-template-columns: minmax(275px, 42%) minmax(0, 58%); }
  .vv-service-story__content { padding: 44px 38px; }
  .vv-service-story__image { min-height: 100%; }
  .vv-service-story__image img { min-height: 100%; }
}

@media (max-width: 767px) {
  .vv-services-intro { padding: 62px 0 35px; }
  .vv-services-intro h2 { font-size: clamp(2.45rem, 11vw, 3.5rem); }
  .vv-services-intro p { font-size: 16px; }
  .vv-service-stories { padding: 16px 0 62px; }
  .vv-service-tabs { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0 0 24px; padding: 0; }
  .vv-service-tab { width: 100%; min-height: 60px; font-size: 15px; }
  .vv-service-tab:not(:last-child)::after { display: none; }
  .vv-service-story,
  .vv-service-story--reverse { display: flex; flex-direction: column; margin-bottom: 28px; border-radius: 16px; }
  .vv-service-story__image { min-height: 265px; }
  .vv-service-story__image img { min-height: 265px; }
  .vv-service-story__content { padding: 35px 27px 39px; }
  .vv-service-story h2 { font-size: clamp(2.25rem, 11vw, 3.35rem); }
  .vv-service-story p { font-size: 16px; }
  .vv-service-story ul { margin-top: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .vv-service-story__image img { transition: none; }
}
