/*
 * VTour360 Homepage Design System
 * Everything is scoped beneath .vt360-homepage so the plugin does not restyle the rest of the site.
 */
.vt360-homepage {
  --vt-red: #C1272D;
  --vt-red-dark: #C1272D;
  --vt-text: #161616;
  --vt-muted: #666a70;
  --vt-line: #e9eaec;
  --vt-soft: #f7f8fa;
  --vt-green: #168a42;
  --vt-green-bg: #eff8f1;
  --vt-red-bg: rgba(193,39,45,.075);
  --vt-radius: 18px;
  --vt-radius-sm: 12px;
  --vt-shadow: 0 12px 38px rgba(18, 24, 40, 0.08);
  --vt-shadow-soft: 0 8px 24px rgba(18, 24, 40, 0.06);
  --vt-max: 1240px;
  color: var(--vt-text);
  background: #fff;
  font-family: inherit;

  /*
   * Keep the homepage wrapper in the theme's normal centered flow.
   * Only the hero breaks out to viewport width. This prevents the
   * left-shift that can happen when a 100vw wrapper sits inside Astra.
   */
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.vt360-homepage *,
.vt360-homepage *::before,
.vt360-homepage *::after { box-sizing: border-box; }

.vt360-homepage .vt360-inner {
  width: min(calc(100% - 40px), var(--vt-max));
  margin-inline: auto;
}

.vt360-homepage .vt360-section {
  padding: clamp(58px, 7vw, 92px) 0;
}

.vt360-homepage .vt360-section-soft { background: var(--vt-soft); }

.vt360-homepage .vt360-kicker {
  margin: 0 0 10px;
  color: var(--vt-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.vt360-homepage .vt360-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.vt360-homepage .vt360-subtitle {
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--vt-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.vt360-homepage .vt360-center { text-align: center; }

/* Shortcode slots */
.vt360-homepage .vt360-hero-slot {
  /*
   * JS sets the exact viewport width and horizontal offset using
   * document.documentElement.clientWidth. That excludes the browser
   * scrollbar and avoids the common 100vw left/right imbalance.
   * The CSS below is a safe fallback before JS runs.
   */
  width: 100vw;
  max-width: none !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0;
  background: transparent;
  overflow-x: clip;
}

/* Remove WordPress/theme width restrictions from the shortcode wrapper.
 * We intentionally do NOT force a height because the panorama shortcode
 * controls its own scroll/sticky distance. */
.vt360-homepage .vt360-hero-slot > .wp-block-shortcode,
.vt360-homepage .vt360-hero-slot > .wp-block-shortcode > *,
.vt360-homepage .vt360-hero-slot > *:not(.vt360-editor-note) {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.vt360-homepage .vt360-hero-slot iframe,
.vt360-homepage .vt360-hero-slot video,
.vt360-homepage .vt360-hero-slot canvas {
  width: 100% !important;
  max-width: none !important;
}

.vt360-homepage .vt360-camera-slot {
  min-height: 470px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: var(--vt-radius);
  position: relative;
}

.vt360-homepage .vt360-editor-note { display: none !important; }

/* Comparison */
.vt360-homepage .vt360-compare-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1.15fr) minmax(0, .95fr);
  gap: 28px;
  align-items: center;
}

.vt360-homepage .vt360-option-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  padding: 26px;
  box-shadow: var(--vt-shadow-soft);
}

.vt360-homepage .vt360-option-heading {
  margin: 0 0 7px;
  font-size: 23px;
  line-height: 1.2;
  font-weight: 800;
}

.vt360-homepage .vt360-option-intro {
  margin: 0 0 22px;
  color: var(--vt-muted);
  line-height: 1.55;
}

.vt360-homepage .vt360-mini-panel {
  padding: 18px 18px 15px;
  border-radius: var(--vt-radius-sm);
  margin-top: 14px;
}

.vt360-homepage .vt360-mini-panel.is-pro { background: var(--vt-green-bg); }
.vt360-homepage .vt360-mini-panel.is-con { background: var(--vt-red-bg); }

.vt360-homepage .vt360-mini-panel h4 {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.vt360-homepage .vt360-mini-panel.is-pro h4 { color: var(--vt-green); }
.vt360-homepage .vt360-mini-panel.is-con h4 { color: var(--vt-red); }

.vt360-homepage .vt360-mini-panel ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
}

.vt360-homepage .vt360-mini-panel li + li { margin-top: 7px; }

.vt360-homepage .vt360-camera-wrap {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vt360-homepage .vt360-camera-wrap::before {
  content: "";
  position: absolute;
  width: min(420px, 85%);
  aspect-ratio: 1;
  border: 1px dashed rgba(193,39,45,.36);
  border-radius: 50%;
  pointer-events: none;
}

.vt360-homepage .vt360-camera-tag {
  position: absolute;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: 10px;
  padding: 10px 13px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--vt-shadow-soft);
}
.vt360-homepage .vt360-camera-tag.tag-a { left: 2%; top: 22%; }
.vt360-homepage .vt360-camera-tag.tag-b { right: 0; top: 28%; }
.vt360-homepage .vt360-camera-tag.tag-c { right: 4%; bottom: 18%; }

/* Price strip */
.vt360-homepage .vt360-price-strip {
  width: min(calc(100% - 40px), var(--vt-max));
  margin: 0 auto 14px;
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  box-shadow: var(--vt-shadow);
  padding: 26px 30px;
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr auto;
  gap: 24px;
  align-items: center;
}

.vt360-homepage .vt360-price-main {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
}
.vt360-homepage .vt360-price-main strong { color: var(--vt-red); }

.vt360-homepage .vt360-stat {
  border-left: 1px solid var(--vt-line);
  padding-left: 24px;
  color: var(--vt-text);
  line-height: 1.45;
  font-weight: 650;
}
.vt360-homepage .vt360-stat small {
  display: block;
  color: var(--vt-muted);
  margin-top: 4px;
  font-weight: 500;
}

/* Buttons */
.vt360-homepage .wp-block-button__link,
.vt360-homepage .vt360-button {
  border-radius: 10px !important;
  padding: 14px 22px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

.vt360-homepage .is-style-fill .wp-block-button__link,
.vt360-homepage .vt360-button-primary {
  background: var(--vt-red) !important;
  color: #fff !important;
  border: 1px solid var(--vt-red) !important;
}
.vt360-homepage .is-style-fill .wp-block-button__link:hover,
.vt360-homepage .vt360-button-primary:hover { background: var(--vt-red-dark) !important; }

.vt360-homepage .is-style-outline .wp-block-button__link {
  background: #fff !important;
  color: var(--vt-text) !important;
  border: 1px solid #cfd2d7 !important;
}

/* Use cases */
.vt360-homepage .vt360-card-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.vt360-homepage .vt360-use-card {
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  overflow: hidden;
  box-shadow: var(--vt-shadow-soft);
  height: 100%;
}

.vt360-homepage .vt360-image-slot {
  height: 170px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(193,39,45,.12), transparent 35%),
    linear-gradient(135deg, #f0f1f3, #fafafa);
  color: #8a8d92;
  font-size: 13px;
  text-align: center;
  padding: 20px;
}

.vt360-homepage .vt360-card-body { padding: 20px; }
.vt360-homepage .vt360-card-body h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.25;
}
.vt360-homepage .vt360-card-body p {
  margin: 0;
  color: var(--vt-muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Process */
.vt360-homepage .vt360-process-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.vt360-homepage .vt360-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  padding: 26px;
  box-shadow: var(--vt-shadow-soft);
}

.vt360-homepage .vt360-step-number {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vt-red);
  color: #fff;
  font-weight: 800;
  margin-bottom: 16px;
}
.vt360-homepage .vt360-step h3 { margin: 0 0 8px; font-size: 20px; }
.vt360-homepage .vt360-step p { margin: 0; color: var(--vt-muted); line-height: 1.6; }

/* CTA */
.vt360-homepage .vt360-final-cta {
  background: linear-gradient(120deg, #181818, #2b2b2b);
  color: #fff;
  padding: clamp(48px, 6vw, 74px) 0;
}
.vt360-homepage .vt360-final-grid {
  width: min(calc(100% - 40px), var(--vt-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 40px;
  align-items: center;
}
.vt360-homepage .vt360-final-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.07;
}
.vt360-homepage .vt360-final-cta p {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  font-size: 17px;
}
.vt360-homepage .vt360-final-actions { text-align: center; }
.vt360-homepage .vt360-final-actions .wp-block-buttons { justify-content: center; }

/* Remove theme-added paragraph margins that can distort cards */
.vt360-homepage .wp-block-group,
.vt360-homepage .wp-block-columns,
.vt360-homepage .wp-block-column { margin-block-start: 0; margin-block-end: 0; }

@media (max-width: 1000px) {
  .vt360-homepage .vt360-compare-grid {
    grid-template-columns: 1fr 1fr;
  }
  .vt360-homepage .vt360-camera-wrap {
    grid-column: 1 / -1;
    grid-row: 1;
    min-height: 440px;
  }
  .vt360-homepage .vt360-price-strip {
    grid-template-columns: 1fr 1fr;
  }
  .vt360-homepage .vt360-stat { border-left: 0; padding-left: 0; }
  .vt360-homepage .vt360-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .vt360-homepage .vt360-inner,
  .vt360-homepage .vt360-price-strip,
  .vt360-homepage .vt360-final-grid { width: min(calc(100% - 28px), var(--vt-max)); }

  .vt360-homepage .vt360-section { padding: 48px 0; }

  .vt360-homepage .vt360-compare-grid { grid-template-columns: 1fr; gap: 18px; }
  .vt360-homepage .vt360-camera-wrap {
    grid-column: auto;
    grid-row: auto;
    order: 1;
    min-height: 410px;
  }
  .vt360-homepage .vt360-option-card:first-child { order: 2; }
  .vt360-homepage .vt360-option-card:last-child { order: 3; }

  .vt360-homepage .vt360-camera-tag.tag-a { left: 0; top: 18%; }
  .vt360-homepage .vt360-camera-tag.tag-b { right: 0; top: 24%; }
  .vt360-homepage .vt360-camera-tag.tag-c { right: 2%; bottom: 16%; }

  .vt360-homepage .vt360-price-strip { grid-template-columns: 1fr; padding: 24px; }
  .vt360-homepage .vt360-stat { border-top: 1px solid var(--vt-line); padding-top: 16px; }
  .vt360-homepage .vt360-card-grid,
  .vt360-homepage .vt360-process-grid,
  .vt360-homepage .vt360-final-grid { grid-template-columns: 1fr; }
  .vt360-homepage .vt360-card-grid { gap: 16px; }
  .vt360-homepage .vt360-final-actions { text-align: left; }
  .vt360-homepage .vt360-final-actions .wp-block-buttons { justify-content: flex-start; }
}

/* =========================================================
 * v1.3 – true full-width Astra/Gutenberg canvas
 * =========================================================
 * The earlier breakout method could still leave theme padding visible
 * when Astra constrained an ancestor of the hero. On pages containing
 * the VTour360 homepage we remove those PAGE-CONTENT constraints at the
 * source. Header/footer are intentionally not targeted.
 */
body.vt360-site-page .site-content,
body.vt360-site-page .site-content > .ast-container,
body.vt360-site-page .site-content .ast-container,
body.vt360-site-page #primary,
body.vt360-site-page .content-area,
body.vt360-site-page .site-main,
body.vt360-site-page article.page,
body.vt360-site-page article.page .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.vt360-homepage-page .entry-content > .wp-block-group.alignfull,
body.vt360-homepage-page .entry-content > .wp-block-group.vt360-homepage {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* The named hero slot, the first direct homepage block (useful if the
 * user recreated the hero container), and the optional manual class all
 * get identical edge-to-edge treatment. */
.vt360-homepage .vt360-hero-slot,
.vt360-homepage > :first-child,
.vt360-fullbleed-hero {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* Remove common Gutenberg/Spectra wrapper constraints inside the hero.
 * We do not force the hero height; your existing panorama shortcode owns it. */
.vt360-homepage .vt360-hero-slot > *,
.vt360-homepage > :first-child > *,
.vt360-fullbleed-hero > * {
  max-width: none !important;
}

.vt360-homepage .vt360-hero-slot .wp-block-shortcode,
.vt360-homepage > :first-child .wp-block-shortcode,
.vt360-fullbleed-hero .wp-block-shortcode {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Portfolio HTML/embed boxes */
.vt360-homepage .vt360-embed-slot {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 170px;
  overflow: hidden;
  position: relative;
  background: #f4f5f7;
  border-bottom: 1px solid var(--vt-line);
}

.vt360-homepage .vt360-embed-slot iframe,
.vt360-homepage .vt360-embed-slot video,
.vt360-homepage .vt360-embed-slot canvas,
.vt360-homepage .vt360-embed-slot > div:not(.vt360-embed-placeholder) {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0;
}

.vt360-homepage .vt360-embed-placeholder {
  width: 100%;
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 20px;
  text-align: center;
  background:
    radial-gradient(circle at 25% 20%, rgba(193,39,45,.12), transparent 35%),
    linear-gradient(135deg, #f0f1f3, #fafafa);
  color: #7a7e84;
  font-size: 13px;
  line-height: 1.45;
}

.vt360-homepage .vt360-embed-placeholder strong {
  color: var(--vt-text);
  font-size: 14px;
}

/* =========================================================
 * v1.4 – Smart responsive header
 * ========================================================= */

/* Replace Astra's own header only on the VTour360 homepage. */
body.vt360-smart-header-enabled #masthead,
body.vt360-smart-header-enabled #ast-desktop-header,
body.vt360-smart-header-enabled #ast-mobile-header,
body.vt360-smart-header-enabled .ast-mobile-header-wrap,
body.vt360-smart-header-enabled header.site-header:not(.vt360-smart-header) {
  display: none !important;
}

.vt360-smart-header {
  --vt-header-height: 76px;
  --vt-header-max: 1240px;
  --vt-header-red: #C1272D;
  --vt-header-red-dark: #C1272D;
  --vt-header-text: #151515;
  position: fixed;
  z-index: 100001;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(20,20,20,.07);
  box-shadow: 0 8px 30px rgba(18,24,40,.06);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transform: translateY(0);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
  will-change: transform;
}

body.admin-bar .vt360-smart-header { top: 32px; }

.vt360-smart-header.is-hidden {
  transform: translateY(calc(-100% - 4px));
  box-shadow: none;
}

.vt360-smart-header-inner {
  width: min(calc(100% - 44px), var(--vt-header-max));
  height: var(--vt-header-height);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.vt360-smart-brand {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.vt360-smart-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  margin: 0;
  line-height: 1;
}

.vt360-smart-brand .custom-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: min(240px, 30vw);
}

.vt360-text-logo {
  color: var(--vt-header-text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  text-decoration: none;
}

.vt360-smart-nav-desktop {
  margin-left: auto;
}

.vt360-smart-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
  padding: 0 !important;
}

.vt360-smart-nav-list > li {
  margin: 0 !important;
  padding: 0 !important;
}

.vt360-smart-nav-list > li > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--vt-header-text);
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.vt360-smart-nav-list > li > a:hover,
.vt360-smart-nav-list > li > a:focus-visible {
  color: var(--vt-header-red);
  background: rgba(193,39,45,.065);
  outline: none;
}

/* Treat the final primary item as the CTA. */
.vt360-smart-nav-list > li:last-child > a {
  margin-left: 5px;
  padding-inline: 19px;
  color: #fff;
  background: var(--vt-header-red);
}

.vt360-smart-nav-list > li:last-child > a:hover,
.vt360-smart-nav-list > li:last-child > a:focus-visible {
  color: #fff;
  background: var(--vt-header-red-dark);
  transform: translateY(-1px);
}

/* Invisible desktop activation zone. It stays available even when the
 * header is off-screen, allowing the cursor-at-top behaviour requested. */
.vt360-header-trigger {
  position: fixed;
  z-index: 100000;
  top: 0;
  left: 0;
  width: 100%;
  height: 22px;
  background: transparent;
}

body.admin-bar .vt360-header-trigger { top: 32px; }

.vt360-mobile-menu-toggle,
.vt360-mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  body.admin-bar .vt360-smart-header { top: 32px; }

  .vt360-header-trigger,
  .vt360-smart-nav-desktop {
    display: none !important;
  }

  /* On phone/tablet the header is conventional and remains visible. */
  .vt360-smart-header,
  .vt360-smart-header.is-hidden {
    --vt-header-height: 66px;
    transform: none !important;
  }

  .vt360-smart-header-inner {
    width: min(calc(100% - 30px), var(--vt-header-max));
    gap: 18px;
  }

  .vt360-smart-brand .custom-logo {
    max-height: 42px;
    max-width: min(190px, 58vw);
  }

  .vt360-mobile-menu-toggle {
    appearance: none;
    -webkit-appearance: none;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(20,20,20,.10);
    border-radius: 10px;
    background: #fff;
    box-shadow: none;
    cursor: pointer;
  }

  .vt360-mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 20px;
    background: #161616;
    transform-origin: center;
    transition: transform .2s ease, opacity .2s ease;
  }

  .vt360-mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .vt360-mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .vt360-mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .vt360-mobile-menu {
    display: block;
    visibility: hidden;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    border-top: 1px solid transparent;
    background: rgba(255,255,255,.985);
    transition: max-height .28s ease, opacity .2s ease, visibility 0s linear .28s, border-color .2s ease;
  }

  .vt360-smart-header.mobile-open .vt360-mobile-menu {
    visibility: visible;
    max-height: min(420px, 70vh);
    opacity: 1;
    border-top-color: rgba(20,20,20,.07);
    transition: max-height .28s ease, opacity .2s ease, visibility 0s linear 0s, border-color .2s ease;
  }

  .vt360-mobile-menu .vt360-smart-nav-list {
    width: min(calc(100% - 30px), var(--vt-header-max));
    margin-inline: auto !important;
    padding: 10px 0 16px !important;
    display: grid;
    gap: 4px;
  }

  .vt360-mobile-menu .vt360-smart-nav-list > li > a {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 12px 14px;
    font-size: 15px;
  }

  .vt360-mobile-menu .vt360-smart-nav-list > li:last-child > a {
    width: 100%;
    margin: 5px 0 0;
    justify-content: center;
  }
}

@media (max-width: 782px) {
  body.admin-bar .vt360-smart-header { top: 46px; }
}

/* =========================================================
 * v1.5 – shared Portfolio + Contact page design system
 * Brand red: #C1272D (matched to the VTour360 logo)
 * ========================================================= */
.vt360-page {
  --vt-red: #C1272D;
  --vt-text: #161616;
  --vt-muted: #666a70;
  --vt-line: #e9eaec;
  --vt-soft: #f7f8fa;
  --vt-green: #168a42;
  --vt-green-bg: #eff8f1;
  --vt-red-bg: rgba(193,39,45,.075);
  --vt-radius: 18px;
  --vt-radius-sm: 12px;
  --vt-shadow: 0 12px 38px rgba(18,24,40,.08);
  --vt-shadow-soft: 0 8px 24px rgba(18,24,40,.06);
  --vt-max: 1240px;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible;
  color: var(--vt-text);
  background: #fff;
  font-family: inherit;
}

.vt360-page *,
.vt360-page *::before,
.vt360-page *::after { box-sizing: border-box; }

.vt360-page .vt360-inner {
  width: min(calc(100% - 40px), var(--vt-max));
  margin-inline: auto;
}

.vt360-page .vt360-section { padding: clamp(58px, 7vw, 92px) 0; }
.vt360-page .vt360-section-soft { background: var(--vt-soft); }
.vt360-page .vt360-center { text-align: center; }

.vt360-page .vt360-kicker {
  margin: 0 0 10px;
  color: var(--vt-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.vt360-page .vt360-title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 800;
}

.vt360-page .vt360-subtitle {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--vt-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
}

.vt360-page .wp-block-button__link,
.vt360-page .vt360-button {
  border-radius: 10px !important;
  padding: 14px 22px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}

.vt360-page .is-style-fill .wp-block-button__link,
.vt360-page .vt360-button-primary {
  background: var(--vt-red) !important;
  color: #fff !important;
  border: 1px solid var(--vt-red) !important;
}

.vt360-page .is-style-fill .wp-block-button__link:hover,
.vt360-page .vt360-button-primary:hover { filter: brightness(.92); }

.vt360-page .is-style-outline .wp-block-button__link {
  background: #fff !important;
  color: var(--vt-text) !important;
  border: 1px solid #cfd2d7 !important;
}

/* v1.7 interior-page hero — selected concept #7.
 * Minimal map-route graphic on the right with a very light wash of the
 * VTour360 brand red (#C1272D). No oversized 360 text.
 */
.vt360-page .vt360-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(112px, 12vw, 158px) 0 clamp(62px, 8vw, 96px);
  background:
    linear-gradient(105deg,
      rgba(193,39,45,.082) 0%,
      rgba(193,39,45,.056) 40%,
      rgba(193,39,45,.032) 68%,
      rgba(193,39,45,.018) 100%),
    #fff;
  border-bottom: 1px solid rgba(193,39,45,.10);
}

/* Soft light field behind the route keeps the hero airy rather than graphic-heavy. */
.vt360-page .vt360-page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: clamp(300px, 44vw, 690px);
  aspect-ratio: 1.8 / 1;
  right: clamp(-110px, -4vw, -25px);
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.72), rgba(255,255,255,0) 70%);
  pointer-events: none;
}

/* Route / location visual from concept #7. Inline SVG keeps the component
 * self-contained and uses the exact logo red as its only accent colour.
 */
.vt360-page .vt360-page-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: clamp(24px, 5vw, 84px);
  top: 50%;
  width: clamp(300px, 43vw, 610px);
  height: clamp(150px, 22vw, 265px);
  transform: translateY(-43%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 620 250'%3E%3Cpath d='M24 178 C94 108 147 211 219 157 C293 101 316 61 386 100 C443 132 468 182 526 124' fill='none' stroke='%23C1272D' stroke-opacity='.25' stroke-width='3' stroke-linecap='round' stroke-dasharray='5 11'/%3E%3Ccircle cx='24' cy='178' r='6' fill='%23C1272D' fill-opacity='.42'/%3E%3Ccircle cx='526' cy='124' r='5' fill='%23C1272D' fill-opacity='.35'/%3E%3Ccircle cx='526' cy='82' r='45' fill='%23C1272D' fill-opacity='.06'/%3E%3Cpath d='M526 35c-24.9 0-45 20.1-45 45 0 33.7 45 82 45 82s45-48.3 45-82c0-24.9-20.1-45-45-45zm0 61.5A16.5 16.5 0 1 1 526 63a16.5 16.5 0 0 1 0 33.5z' fill='%23C1272D' fill-opacity='.94'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
}

.vt360-page .vt360-page-hero .vt360-inner {
  position: relative;
  z-index: 1;
}
.vt360-page .vt360-page-hero .vt360-title { max-width: 650px; }
.vt360-page .vt360-page-hero .vt360-subtitle { margin-left: 0; max-width: 620px; }

/* Portfolio manager output. */
.vt360-portfolio-system {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
}

.vt360-portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 34px;
}

.vt360-filter-button {
  appearance: none;
  border: 1px solid #d9dadd;
  background: #fff;
  color: #252525;
  border-radius: 999px;
  padding: 10px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}

.vt360-filter-button:hover,
.vt360-filter-button:focus-visible {
  border-color: #C1272D;
  color: #C1272D;
  outline: none;
}

.vt360-filter-button.is-active {
  background: #C1272D;
  border-color: #C1272D;
  color: #fff;
}

.vt360-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.vt360-project-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e9eaec;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(18,24,40,.06);
  transition: transform .22s ease, box-shadow .22s ease, opacity .2s ease;
}

.vt360-project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(18,24,40,.09);
}

.vt360-project-card.is-filtered-out { display: none; }

.vt360-project-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 280px;
  overflow: hidden;
  background: #f2f3f5;
  border-bottom: 1px solid #e9eaec;
}

.vt360-project-embed iframe,
.vt360-project-embed video,
.vt360-project-embed canvas,
.vt360-project-embed > div:not(.vt360-project-placeholder) {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  border: 0 !important;
}

.vt360-project-embed > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vt360-project-placeholder,
.vt360-portfolio-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: #767a80;
  background:
    radial-gradient(circle at 25% 20%, rgba(193,39,45,.11), transparent 35%),
    linear-gradient(135deg, #f1f2f4, #fbfbfb);
}

.vt360-project-placeholder { width: 100%; height: 100%; padding: 28px; }
.vt360-project-placeholder strong,
.vt360-portfolio-empty strong { color: #171717; }

.vt360-project-info { padding: 22px 24px 25px; }
.vt360-project-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 12px;
  margin-bottom: 11px;
}

.vt360-platform-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(193,39,45,.075);
  color: #C1272D;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .025em;
}

.vt360-project-location { color: #70747a; font-size: 13px; }
.vt360-project-info h3 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.vt360-project-info p { margin: 0; color: #666a70; font-size: 14px; line-height: 1.6; }

.vt360-portfolio-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  border: 1px dashed rgba(193,39,45,.28);
  border-radius: 18px;
  padding: 36px;
}

/* Portfolio decision CTA. */
.vt360-page .vt360-solution-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.vt360-page .vt360-solution-card {
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  background: #fff;
  padding: 28px;
  box-shadow: var(--vt-shadow-soft);
}
.vt360-page .vt360-solution-card h3 { margin: 0 0 9px; font-size: 22px; }
.vt360-page .vt360-solution-card p { margin: 0; color: var(--vt-muted); line-height: 1.65; }

/* Contact page. */
.vt360-page .vt360-contact-layout {
  display: grid;
  grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
  gap: 28px;
  align-items: stretch;
}

.vt360-page .vt360-contact-card,
.vt360-page .vt360-form-card {
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  background: #fff;
  padding: clamp(26px, 3vw, 38px);
  box-shadow: var(--vt-shadow-soft);
}

.vt360-page .vt360-contact-card h2,
.vt360-page .vt360-form-card h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 34px); }
.vt360-page .vt360-contact-card > p,
.vt360-page .vt360-form-card > p { color: var(--vt-muted); line-height: 1.65; }

.vt360-page .vt360-contact-list {
  list-style: none;
  margin: 28px 0 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 14px;
}

.vt360-page .vt360-contact-list li {
  margin: 0 !important;
  padding: 16px 17px;
  border: 1px solid var(--vt-line);
  border-radius: 12px;
  background: #fafafa;
}

.vt360-page .vt360-contact-list strong { display: block; font-size: 12px; color: #C1272D; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }

.vt360-page .vt360-contact-form-slot {
  min-height: 350px;
}

/* Generic form styling so Contact Form 7, Fluent Forms and WPForms can visually match. */
.vt360-page .vt360-contact-form-slot form { margin: 0; }
.vt360-page .vt360-contact-form-slot label { display: block; color: #242424; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.vt360-page .vt360-contact-form-slot input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.vt360-page .vt360-contact-form-slot select,
.vt360-page .vt360-contact-form-slot textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d9dadd;
  border-radius: 10px;
  background: #fff;
  color: #171717;
  padding: 11px 13px;
  font: inherit;
  box-shadow: none;
}

.vt360-page .vt360-contact-form-slot textarea { min-height: 140px; resize: vertical; }
.vt360-page .vt360-contact-form-slot input:focus,
.vt360-page .vt360-contact-form-slot select:focus,
.vt360-page .vt360-contact-form-slot textarea:focus { border-color: #C1272D; outline: 2px solid rgba(193,39,45,.10); outline-offset: 0; }
.vt360-page .vt360-contact-form-slot input[type="submit"],
.vt360-page .vt360-contact-form-slot button[type="submit"] {
  min-height: 48px;
  border: 1px solid #C1272D;
  border-radius: 10px;
  background: #C1272D;
  color: #fff;
  padding: 12px 22px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.vt360-page .vt360-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vt360-page .vt360-proof {
  padding: 25px;
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  background: #fff;
  text-align: center;
}
.vt360-page .vt360-proof strong { display: block; color: #C1272D; font-size: clamp(25px, 3vw, 34px); line-height: 1.1; margin-bottom: 6px; }
.vt360-page .vt360-proof span { color: var(--vt-muted); line-height: 1.45; }

.vt360-page .vt360-contact-steps {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.vt360-page .vt360-contact-step {
  border: 1px solid var(--vt-line);
  border-radius: var(--vt-radius);
  background: #fff;
  padding: 24px;
}
.vt360-page .vt360-contact-step .vt360-step-number {
  width: 35px;
  height: 35px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #C1272D;
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}
.vt360-page .vt360-contact-step h3 { margin: 0 0 7px; font-size: 18px; }
.vt360-page .vt360-contact-step p { margin: 0; color: var(--vt-muted); font-size: 14px; line-height: 1.6; }

.vt360-page .vt360-final-cta {
  background: linear-gradient(120deg, #181818, #2b2b2b);
  color: #fff;
  padding: clamp(48px, 6vw, 74px) 0;
}
.vt360-page .vt360-final-grid {
  width: min(calc(100% - 40px), var(--vt-max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 40px;
  align-items: center;
}
.vt360-page .vt360-final-cta h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 46px); line-height: 1.07; }
.vt360-page .vt360-final-cta p { margin: 0; color: rgba(255,255,255,.78); line-height: 1.6; font-size: 17px; }
.vt360-page .vt360-final-actions { text-align: center; }
.vt360-page .vt360-final-actions .wp-block-buttons { justify-content: center; }

.vt360-page .vt360-editor-note { display: none !important; }

@media (max-width: 900px) {
  .vt360-project-grid,
  .vt360-page .vt360-contact-layout,
  .vt360-page .vt360-solution-grid { grid-template-columns: 1fr; }
  .vt360-page .vt360-contact-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 1000px) and (min-width: 701px) {
  .vt360-page .vt360-page-hero::after {
    right: -55px;
    width: 430px;
    opacity: .52;
  }
  .vt360-page .vt360-page-hero::before { right: -150px; }
  .vt360-page .vt360-page-hero .vt360-title,
  .vt360-page .vt360-page-hero .vt360-subtitle { max-width: 58%; }
}

@media (max-width: 700px) {
  .vt360-page .vt360-inner,
  .vt360-portfolio-system,
  .vt360-page .vt360-final-grid { width: min(calc(100% - 28px), var(--vt-max)); }
  .vt360-page .vt360-page-hero {
    padding-top: 100px;
    background:
      linear-gradient(120deg, rgba(193,39,45,.075), rgba(193,39,45,.025) 72%, rgba(255,255,255,.55)),
      #fff;
  }
  .vt360-page .vt360-page-hero::before { right: -170px; opacity: .65; }
  .vt360-page .vt360-page-hero::after {
    width: 290px;
    height: 145px;
    right: -118px;
    top: 62%;
    opacity: .32;
  }
  .vt360-project-grid,
  .vt360-page .vt360-proof-grid,
  .vt360-page .vt360-contact-steps,
  .vt360-page .vt360-final-grid { grid-template-columns: 1fr; }
  .vt360-project-embed { min-height: 220px; }
  .vt360-page .vt360-final-actions { text-align: left; }
  .vt360-page .vt360-final-actions .wp-block-buttons { justify-content: flex-start; }
}

/* =========================================================
 * v1.7 – Client Summary Report (introduced in v1.6)
 * All accents derive from the VTour360 logo red #C1272D.
 * ========================================================= */
.vt360-summary-report {
  --vt-report-red: #C1272D;
  --vt-report-text: #171719;
  --vt-report-muted: #6c7077;
  --vt-report-line: #e8e9ec;
  --vt-report-soft: #f7f8fa;
  --vt-report-card: #fff;
  --vt-report-max: 1160px;
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  color: var(--vt-report-text);
  background: #fff;
}

.vt360-summary-report *,
.vt360-summary-report *::before,
.vt360-summary-report *::after { box-sizing: border-box; }

.vt360-report-inner {
  width: min(calc(100% - 44px), var(--vt-report-max));
  margin-inline: auto;
}

.vt360-report-kicker {
  margin: 0 0 12px;
  color: var(--vt-report-red);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.vt360-report-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 13vw, 178px) 0 clamp(72px, 8vw, 108px);
  background: #fff;
  border-bottom: 1px solid var(--vt-report-line);
}

.vt360-report-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0 9%, var(--vt-report-red) 9% 24%, transparent 24% 100%);
  opacity: .45;
}

.vt360-report-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
}

.vt360-report-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 6vw, 74px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 820;
}

.vt360-report-hero-copy > p:not(.vt360-report-kicker) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--vt-report-muted);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.65;
}

.vt360-report-hero-client {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: var(--vt-report-muted);
  font-size: 14px;
}
.vt360-report-hero-client strong { color: var(--vt-report-text); }
.vt360-report-hero-client span:nth-child(2) { color: var(--vt-report-red); }

.vt360-report-hero-visual {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: end;
  display: grid;
  place-items: center;
}

.vt360-report-orbit {
  position: absolute;
  border: 1px solid rgba(23,23,25,.10);
  border-radius: 50%;
}
.vt360-report-orbit-1 { inset: 9%; }
.vt360-report-orbit-2 { inset: 25%; border-color: rgba(193,39,45,.20); }

.vt360-report-360-badge {
  position: relative;
  z-index: 2;
  width: 126px;
  height: 126px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--vt-report-red);
  box-shadow: 0 20px 55px rgba(193,39,45,.20);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.04em;
}

.vt360-report-dot {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--vt-report-red);
  box-shadow: 0 0 0 7px rgba(193,39,45,.08);
}
.vt360-report-dot-a { top: 17%; right: 17%; }
.vt360-report-dot-b { bottom: 14%; left: 22%; width: 6px; height: 6px; }

.vt360-report-section { padding: clamp(58px, 7vw, 90px) 0; }
.vt360-report-section-soft { background: var(--vt-report-soft); }

.vt360-report-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.vt360-report-section-heading h2,
.vt360-report-code-copy h2,
.vt360-report-tips h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}

.vt360-report-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 9px 13px;
  border-radius: 999px;
  background: #eff8f1;
  color: #187a3b;
  font-size: 12px;
  font-weight: 750;
}
.vt360-report-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1c9c4c;
}

.vt360-report-card {
  background: var(--vt-report-card);
  border: 1px solid var(--vt-report-line);
  border-radius: 20px;
  box-shadow: 0 12px 34px rgba(18,24,40,.055);
}

.vt360-report-details-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  overflow: hidden;
}

.vt360-report-detail-row {
  min-height: 92px;
  padding: 23px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  border-bottom: 1px solid var(--vt-report-line);
}
.vt360-report-detail-row:nth-child(odd) { border-right: 1px solid var(--vt-report-line); }
.vt360-report-detail-row:nth-last-child(-n+2) { border-bottom: 0; }
.vt360-report-detail-row span {
  color: var(--vt-report-muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.vt360-report-detail-row strong {
  color: var(--vt-report-text);
  font-size: 18px;
  line-height: 1.35;
}

.vt360-report-note {
  margin-top: 18px;
  padding: 20px 22px;
  border-left: 3px solid var(--vt-report-red);
  background: rgba(193,39,45,.045);
  border-radius: 0 12px 12px 0;
}
.vt360-report-note strong { display:block; margin-bottom:5px; }
.vt360-report-note p { margin:0; color:var(--vt-report-muted); line-height:1.65; }

.vt360-report-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.vt360-report-link-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 50px minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--vt-report-line);
  border-radius: 16px;
  background: #fff;
  color: var(--vt-report-text) !important;
  text-decoration: none !important;
  box-shadow: 0 8px 22px rgba(18,24,40,.045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.vt360-report-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(193,39,45,.25);
  box-shadow: 0 14px 30px rgba(18,24,40,.075);
}
.vt360-report-link-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--vt-report-red);
  background: rgba(193,39,45,.075);
  font-size: 14px;
  font-weight: 850;
}
.vt360-report-link-card small { display:block; margin-bottom:5px; color:var(--vt-report-muted); }
.vt360-report-link-card strong { display:block; font-size:15px; }
.vt360-report-link-card b { color:var(--vt-report-red); font-size:18px; }

.vt360-report-tour-frame {
  overflow: hidden;
  position: relative;
  width: 100%;
  min-height: clamp(360px, 50vw, 650px);
  aspect-ratio: 16 / 9;
  border: 1px solid var(--vt-report-line);
  border-radius: 20px;
  background: #111;
  box-shadow: 0 18px 50px rgba(18,24,40,.10);
}
.vt360-report-tour-frame iframe,
.vt360-report-tour-frame video,
.vt360-report-tour-frame canvas,
.vt360-report-tour-frame > div {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit;
  max-width: none !important;
  border: 0 !important;
}

.vt360-report-code-grid {
  display: grid;
  grid-template-columns: minmax(260px,.72fr) minmax(0,1.28fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: center;
}
.vt360-report-code-copy > p:not(.vt360-report-kicker) {
  margin: 18px 0 22px;
  color: var(--vt-report-muted);
  line-height: 1.7;
}
.vt360-report-copy-button {
  appearance: none;
  border: 1px solid var(--vt-report-red);
  border-radius: 10px;
  padding: 12px 17px;
  background: var(--vt-report-red);
  color: #fff;
  font-weight: 750;
  cursor: pointer;
}
.vt360-report-copy-button:hover { filter: brightness(.94); }
.vt360-report-copy-button.is-copied { background:#187a3b; border-color:#187a3b; }

.vt360-report-code {
  width: 100%;
  max-height: 340px;
  overflow: auto;
  margin: 0;
  padding: 25px;
  border: 1px solid #e0e2e5;
  border-radius: 16px;
  background: #eef0f3;
  color: #596477;
  font: 13px/1.55 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: pre-wrap;
  word-break: break-word;
}

.vt360-report-tips { border-top: 1px solid var(--vt-report-line); }
.vt360-report-tips-grid {
  display: grid;
  grid-template-columns: minmax(220px,.42fr) minmax(0,1fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.vt360-report-richtext { color: var(--vt-report-muted); font-size:16px; line-height:1.8; }
.vt360-report-richtext p { margin:0 0 22px; }
.vt360-report-richtext p:last-child { margin-bottom:0; }
.vt360-report-richtext a { color:var(--vt-report-red); font-weight:700; }
.vt360-report-richtext strong { color:#4e5662; }
.vt360-report-richtext ul,
.vt360-report-richtext ol { padding-left: 20px; }

.vt360-report-footer-cta {
  padding: 46px 0;
  color: #fff;
  background: #18191b;
}
.vt360-report-footer-cta .vt360-report-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}
.vt360-report-footer-cta h2 { margin:0 0 7px; color:#fff; font-size:28px; }
.vt360-report-footer-cta p { margin:0; color:rgba(255,255,255,.68); }
.vt360-report-footer-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:48px;
  padding:13px 20px;
  border-radius:10px;
  background:var(--vt-report-red);
  color:#fff !important;
  font-weight:750;
  text-decoration:none !important;
}

@media (max-width: 900px) {
  .vt360-report-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .vt360-report-hero-visual { width: 220px; justify-self:start; }
  .vt360-report-360-badge { width:90px; height:90px; font-size:23px; }
  .vt360-report-links-grid { grid-template-columns:1fr; }
  .vt360-report-code-grid,
  .vt360-report-tips-grid { grid-template-columns:1fr; }
}

@media (max-width: 650px) {
  .vt360-report-inner { width:min(calc(100% - 28px), var(--vt-report-max)); }
  .vt360-report-hero { padding-top:112px; }
  .vt360-report-hero-copy h1 { font-size:clamp(38px,12vw,54px); }
  .vt360-report-hero-visual { display:none; }
  .vt360-report-section-heading { align-items:flex-start; flex-direction:column; }
  .vt360-report-details-card { grid-template-columns:1fr; }
  .vt360-report-detail-row,
  .vt360-report-detail-row:nth-child(odd),
  .vt360-report-detail-row:nth-last-child(-n+2) { border-right:0; border-bottom:1px solid var(--vt-report-line); }
  .vt360-report-detail-row:last-child { border-bottom:0; }
  .vt360-report-tour-frame { min-height:300px; aspect-ratio:4/3; border-radius:14px; }
  .vt360-report-footer-cta .vt360-report-inner { align-items:flex-start; flex-direction:column; }
}

/* =========================================================
 * v1.8 – portfolio navigation, mobile reliability + camera ring
 * ========================================================= */

/* The decorative 360 ring belongs visually in front of the white camera
 * video. Keep it non-interactive and above the shortcode, while the labels
 * remain the top-most layer. */
.vt360-homepage .vt360-camera-wrap {
  isolation: isolate;
}
.vt360-homepage .vt360-camera-slot {
  z-index: 1;
}
.vt360-homepage .vt360-camera-wrap::before {
  z-index: 3;
  border-width: 1.5px;
  border-color: rgba(193,39,45,.42);
  mix-blend-mode: multiply;
}
.vt360-homepage .vt360-camera-tag {
  z-index: 4;
}

/* Quiet text CTA beneath the four homepage examples. */
.vt360-homepage .vt360-full-portfolio-link {
  margin: 28px 0 0 !important;
  text-align: center;
}
.vt360-homepage .vt360-full-portfolio-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #C1272D;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 1px solid rgba(193,39,45,.32);
  padding-bottom: 3px;
  transition: border-color .18s ease, transform .18s ease;
}
.vt360-homepage .vt360-full-portfolio-link a:hover,
.vt360-homepage .vt360-full-portfolio-link a:focus-visible {
  border-bottom-color: #C1272D;
  transform: translateX(2px);
  outline: none;
}

/* Avoid a wide third-party viewer creating horizontal scrolling on phones. */
body.vt360-site-page {
  max-width: 100%;
  overflow-x: hidden;
}
.vt360-portfolio-system,
.vt360-project-grid,
.vt360-project-card,
.vt360-project-embed,
.vt360-project-embed iframe {
  min-width: 0;
  max-width: 100%;
}

/* Mobile iframe tours are intentionally click-to-load. This prevents several
 * heavy 360 viewers from starting together and makes the Portfolio page open
 * reliably on phones. Desktop viewers remain directly interactive. */
.vt360-mobile-embed-loader {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 43%, rgba(193,39,45,.12), transparent 28%),
    linear-gradient(135deg, #f7f7f8, #fff);
  color: #C1272D;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.vt360-project-embed.is-loaded .vt360-mobile-embed-loader { display: none; }

@media (max-width: 700px) {
  .vt360-portfolio-system {
    width: calc(100% - 28px);
    max-width: 1240px;
  }
  .vt360-portfolio-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-left: 0;
    margin-right: 0;
    padding: 2px 1px 8px;
  }
  .vt360-portfolio-filters::-webkit-scrollbar { display: none; }
  .vt360-filter-button { flex: 0 0 auto; }
  .vt360-project-grid { gap: 20px; }
  .vt360-project-card { border-radius: 15px; }
  .vt360-project-embed {
    width: 100%;
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }
  .vt360-project-embed iframe,
  .vt360-project-embed video,
  .vt360-project-embed canvas {
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
  }
  .vt360-mobile-embed-loader { display: grid; place-items: center; padding: 24px; }
  .vt360-homepage .vt360-full-portfolio-link { margin-top: 22px !important; }
}

/* =========================================================
 * v1.9 – larger camera ring, automatic mobile tours, 2×2 home portfolio
 * ========================================================= */

/* Roughly 15% larger than the previous 420px / 85% ring. */
.vt360-homepage .vt360-camera-wrap::before {
  width: min(483px, 98%);
}

/* Two larger examples per row on the homepage, matching the scale of the
 * dedicated Portfolio page. */
.vt360-homepage .vt360-portfolio-section .vt360-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.vt360-homepage .vt360-portfolio-section .vt360-embed-slot {
  min-height: 280px;
}

/* The v1.8 click-to-load overlay is retired. This also hides any stale cached
 * overlay while the JS upgrades a legacy data-vt360-src iframe automatically. */
.vt360-mobile-embed-loader {
  display: none !important;
}

@media (max-width: 700px) {
  .vt360-homepage .vt360-portfolio-section .vt360-card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .vt360-homepage .vt360-portfolio-section .vt360-embed-slot {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
}
