/* gen6 finish pass (2026-10-23). Loaded last by inc/gen6-owner-punch.php (css/gen6-punch-*.css).
   Rows: 7 header pill on phone, 9 review cards on phone, 13 community cards, 17 sell check marks, 5 "where your property goes", 24 video band. */

/* ---- row 7: the header "Book a call" pill is on every page, phone included (the hero used to hide it on home, about, county pages) ---- */
@media (max-width: 760px) {
  body.gen6.m-over-hero.m-hero-owns header#g6-header .g6-book { display: inline-flex !important; }
}

/* ---- row 9: review cards sit in a stack on phones, nothing peeks off the right edge ---- */
@media (max-width: 760px) {
  .g6rc-row { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow: visible !important; scroll-snap-type: none; padding: 4px 0 8px; margin: 0; }
  .g6rc-row > .g6rc { flex: none; width: auto; min-width: 0; }
}

/* ---- row 17 (sell): small check marks that pop in on the three 3-P cards ---- */
.p3-tab-check { display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; font: 800 12.5px/1 Manrope, sans-serif; color: #11805a; }
.p3-tab-check svg { padding: 4px; width: 22px; height: 22px; border-radius: 50%; background: #11805a; color: #fff; box-sizing: border-box; transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.p3-tabs.is-in .p3-tab-check svg { transform: scale(1); }
.p3-tabs.is-in li:nth-child(1) .p3-tab-check svg { transition-delay: .35s; }
.p3-tabs.is-in li:nth-child(2) .p3-tab-check svg { transition-delay: .5s; }
.p3-tabs.is-in li:nth-child(3) .p3-tab-check svg { transition-delay: .65s; }
@media (max-width: 760px) { .p3-tab-check { flex-basis: 100%; margin-left: 0; margin-top: 2px; } }
@media (prefers-reduced-motion: reduce) { .p3-tab-check svg { transform: none !important; transition: none !important; } }

/* ---- row 5: "Where your property goes" block on /sell/ ---- */
.g6wp { background: #f7fafc; padding: 8px 0 44px; }
.g6wp-in { width: min(100% - 32px, 1080px); margin-inline: auto; background: #fff; border-radius: 28px; padding: 34px 34px 30px; box-shadow: 0 10px 30px rgba(0,50,90,.10), 0 0 0 1px rgba(9,94,147,.07); }
.g6wp-tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: #eef5fb; color: #095e93; font: 800 12px/1 Manrope, sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.g6wp h2 { margin: 12px 0 8px; font: 600 clamp(28px, 3.6vw, 40px)/1.1 "Cormorant Garamond", Georgia, serif; color: #095e93; }
.g6wp-lead { margin: 0 0 22px; max-width: 62ch; font: 500 16px/1.6 Manrope, sans-serif; color: #3d5368; }
.g6wp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.g6wp-card { margin: 0; display: flex; flex-direction: column; gap: 8px; padding: 18px 16px; border-radius: 20px; background: #f2f8fd; border: 1.5px solid #dbe8f2; transition: transform .2s ease, box-shadow .2s ease; }
.g6wp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,50,90,.14); }
.g6wp-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: #095e93; box-shadow: 0 3px 10px rgba(0,50,90,.12); }
.g6wp-card strong { font: 800 16px/1.25 Manrope, sans-serif; color: #095e93; }
.g6wp-card span.g6wp-d { font: 500 14px/1.5 Manrope, sans-serif; color: #3d5368; }
.g6wp-val { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px; border-radius: 20px; background: linear-gradient(135deg, #095e93 0%, #095e93 72%, #2b80bb 100%); color: #fff; }
.g6wp-val > div { flex: 1 1 260px; }
.g6wp-val strong { display: block; font: 600 26px/1.15 "Cormorant Garamond", Georgia, serif; }
.g6wp-val p { margin: 4px 0 0; font: 500 14px/1.5 Manrope, sans-serif; color: rgba(255,255,255,.9); }
.g6wp-form { flex: 1 1 340px; display: flex; gap: 8px; background: #fff; border-radius: 999px; padding: 6px; }
.g6wp-form input { flex: 1; min-width: 0; min-height: 48px; border: 0; background: transparent; padding: 0 16px; font: 500 16px Manrope, sans-serif; color: #16283e; outline: none; }
.g6wp-form button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: #095e93; color: #fff; font: 800 15px Manrope, sans-serif; cursor: pointer; }
.g6wp-form button:focus-visible, .g6wp-form input:focus-visible { outline: 3px solid #60c3ef; outline-offset: 2px; }
@media (max-width: 960px) { .g6wp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .g6wp { padding-bottom: 30px; }
  .g6wp-in { width: min(100% - 24px, 1080px); border-radius: 24px; padding: 22px 16px 20px; }
  .g6wp-grid { grid-template-columns: 1fr; }
  .g6wp-form { border-radius: 22px; flex-direction: column; padding: 8px; }
  .g6wp-form button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .g6wp-card { transition: none; } }

/* ---- row 13: every Cape Coral community is a card (photo, name, one short line) ---- */
.g6hc-grid { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.g6hc-grid > li { margin: 0; padding: 0; display: flex; }
a.g6hc { position: relative; display: flex; flex-direction: column; flex: 1; border-radius: 22px; overflow: hidden; background: #fff; color: #16283e; text-decoration: none; box-shadow: 0 8px 22px rgba(0,50,90,.12), 0 0 0 1px rgba(9,94,147,.07); transition: transform .2s ease, box-shadow .2s ease; }
a.g6hc:hover, a.g6hc:focus-visible { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,50,90,.2), 0 0 0 2px #2b80bb; outline: none; }
a.g6hc:active { transform: scale(.985); }
.g6hc-media { position: relative; display: block; aspect-ratio: 16 / 10; background: #095e93; overflow: hidden; }
.g6hc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.g6hc:hover .g6hc-media img { transform: scale(1.05); }
.g6hc-ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #095e93 0%, #2b80bb 70%, #60c3ef 100%); color: rgba(255,255,255,.85); }
.g6hc-chip { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.95); color: #095e93; font: 800 12px/1 Manrope, sans-serif; }
.g6hc-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 16px; }
.g6hc-body strong { font: 600 26px/1.1 "Cormorant Garamond", Georgia, serif; color: #095e93; }
.g6hc-d { font: 500 14.5px/1.5 Manrope, sans-serif; color: #3d5368; }
.g6hc-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; min-height: 44px; font: 800 14px/1 Manrope, sans-serif; color: #2b80bb; }
@media (max-width: 900px) { .g6hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .g6hc-grid { grid-template-columns: 1fr; gap: 14px; } .g6hc-body strong { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { a.g6hc, .g6hc-media img { transition: none; } a.g6hc:hover { transform: none; } a.g6hc:hover .g6hc-media img { transform: none; } }

/* ---- row 24: films carousel + On social row on /video-hub/ (same markup as the home section, on a navy band) ---- */
.g6pv-band { background: #095e93; padding: 44px 0 52px; }
.g6pv-band .g6-main-wrap { color: #fff; }
.g6pv-band-h { margin: 0 0 6px; font: 600 clamp(28px, 3.6vw, 40px)/1.1 "Cormorant Garamond", Georgia, serif; color: #fff; }
.g6pv-band-lead { margin: 0 0 8px; max-width: 62ch; font: 500 16px/1.6 Manrope, sans-serif; color: rgba(255,255,255,.88); }
.g6pv-band { position: relative; overflow: clip; }
.g6pv-band .g6pv { position: relative; }
.g6pv-band .g6-main-wrap, .g6pv-band .g6pv { min-width: 0; max-width: 100%; }
