/* Version 4-only enhancements. Existing blue/green/Riley design stays intact. */
.v4-site h1 { overflow-wrap: normal; }
.v4-hero .v4-hero-grid { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.v4-hero .v4-hero-copy h1 { max-width: 20ch; font-size: clamp(2.25rem, 4vw, 3.8rem); line-height: 1.08; }
.v4-hero .v4-hero-copy h1 .hero-market-line { display: block; margin-top: .75rem; color: var(--green-deep); font-size: .55em; line-height: 1.25; letter-spacing: 0; }
.v4-hero-photo { max-width: 100%; }
.v4-trust-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; padding-block: 1.6rem; }
.v4-trust-grid > div { min-width: 0; }
.v4-trust-grid strong { color: white; font-size: 1.13rem; line-height: 1.3; }
.v4-trust-grid small { display: block; margin-top: .4rem; color: white; font-size: .88rem; line-height: 1.45; }
.v4-trust-grid span { color: white; }
.v4-update-heading { max-width: 820px; }
.v4-update-heading h2 { max-width: 25ch; }
.v4-update-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.25rem; }
.v4-update-card { min-width: 0; padding: 1.6rem; color: var(--ink); background: white; border: 1px solid var(--line); border-top: 5px solid var(--green-bright); border-radius: .35rem; }
.v4-update-card h3 { font-size: 1.55rem; line-height: 1.1; }
.v4-update-card p { font-size: 1rem; }
.v4-update-card .eyebrow { color: var(--green-deep); }
.v4-hotel-guarantee { padding-block: clamp(2.5rem, 5vw, 4rem); color: white; background: var(--blue-deep); border-bottom: 7px solid var(--green-lime); }
.v4-hotel-layout { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; }
.v4-hotel-guarantee h2 { max-width: 24ch; color: white; font-size: clamp(2rem, 3.8vw, 3.4rem); }
.v4-hotel-guarantee .eyebrow, .v4-hotel-guarantee p { color: white; }
.v4-hotel-mark { max-width: 148px; padding: .6rem; background: var(--green-lime); border-radius: .35rem; }
.v4-hotel-mark img { width: 130px; }
.v4-hotel-guarantee .v4-fine-print { max-width: 85ch; margin: 1rem 0 0; color: white; font-size: .9rem; line-height: 1.55; }
.v4-hotel-guarantee .hero-actions { margin-top: 1rem; }
.v4-offer-note { padding: 1.25rem; border-left: 5px solid var(--green-bright); background: var(--green-pale); color: var(--ink); margin: 1.5rem 0 0; }
.v4-offer-note a { color: var(--blue-deep); }
.v4-service-links, .v4-market-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .8rem; }
.v4-service-links a, .v4-market-links a { display: flex; align-items: center; min-height: 58px; padding: 1rem; color: var(--blue-deep); border: 1px solid var(--line); border-bottom: 3px solid var(--green-bright); background: white; font-weight: 800; line-height: 1.3; text-decoration: none; }
.v4-service-links a:hover, .v4-market-links a:hover { background: var(--green-pale); }
.v4-market-links { grid-template-columns: repeat(4,minmax(0,1fr)); }
.v4-verified-stars { color: var(--green-deep); font-size: 1.45rem; letter-spacing: .06em; }
.v4-review-quote { margin: 1rem 0; font-size: 1.06rem; line-height: 1.65; }
.v4-review-attribution { color: var(--blue-deep); font-weight: 800; }
.v4-review-source { font-size: .88rem; }
.v4-local-proof { background: var(--cream); }
.v4-local-proof .v4-update-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.v4-update-card small { color: var(--muted); }
.v4-guide-post { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 3rem; align-items: start; }
.v4-guide-post .prose { min-width: 0; }
.v4-guide-post .prose h2 { font-size: clamp(1.8rem, 3vw, 2.55rem); margin-top: 2rem; }
.v4-guide-post .prose h3 { margin-top: 1.5rem; }
.v4-guide-sidebar { position: sticky; top: 1rem; padding: 1.4rem; background: var(--blue-deep); color: white; border-bottom: 5px solid var(--green-lime); }
.v4-guide-sidebar h2 { color: white; font-size: 1.65rem; }
.v4-guide-sidebar .button { width: 100%; margin-top: .75rem; }
.v4-post-sticky { position: fixed; bottom: .75rem; right: 1rem; z-index: 25; display: flex; gap: .5rem; padding: .5rem; background: white; border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.v4-post-sticky .button { min-height: 46px; }
.v4-mobile-bottom { display: none; }
.v4-site a, .v4-site button, .v4-site summary { scroll-margin-block: 6rem; }
@media (max-width: 1240px) {
  .v4-site .header-inner { gap: 1rem; }
  .v4-site .primary-nav { gap: .75rem; }
  .v4-site .primary-nav > a, .v4-site .nav-detail > summary { font-size: .86rem; }
  .v4-site .header-ctas .call-link { display: none; }
}
@media (max-width: 1000px) {
  .v4-site .menu-toggle { display: grid; }
  .v4-site .header-inner { flex-wrap: wrap; }
  .v4-site .header-ctas { margin-left: auto; }
  .v4-site .primary-nav { display: none; order: 4; flex-basis: 100%; margin: 0; padding: 1rem 0; }
  .v4-site .primary-nav.is-open, .v4-site .site-header.menu-open .primary-nav { display: flex; flex-direction: column; align-items: stretch; }
  .v4-site .primary-nav > a, .v4-site .nav-detail > summary { font-size: 1.05rem; padding-block: .6rem; }
  .v4-site .nav-flyout { position: static; width: 100%; box-shadow: none; }
  .v4-update-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v4-guide-post { grid-template-columns: 1fr; }
  .v4-guide-sidebar { position: static; }
  .v4-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-bottom: 110px; }
  .v4-site { padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px)); }
  .v4-mobile-bottom { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom, 0px)); background: white; border-top: 4px solid var(--green-bright); box-shadow: 0 -5px 20px rgba(0,62,112,.16); }
  .v4-mobile-bottom a { min-height: 52px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: .45rem; font-family: var(--display); font-weight: 800; line-height: 1.2; text-decoration: none; }
  .v4-mobile-bottom a:first-child { color: white; background: var(--blue); }
  .v4-mobile-bottom a:last-child { color: white; background: var(--green); }
  .v4-mobile-bottom small { font-size: .85rem; }
  .v4-mobile-bottom a:focus-visible { outline-offset: -4px; }
  .v4-post-sticky { right: .5rem; left: .5rem; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); justify-content: center; }
  .v4-guide-page { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  .v4-hotel-layout { grid-template-columns: minmax(0,1fr); }
  .v4-hotel-mark { display: none; }
  .v4-service-links, .v4-market-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .v4-local-proof .v4-update-grid { grid-template-columns: 1fr; }
  .v4-update-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .v4-hero .v4-hero-copy h1 { font-size: 2.25rem; }
  .v4-trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .v4-trust-grid > div { padding-bottom: .75rem; border-bottom: 1px solid rgba(255,255,255,.25); }
  .v4-service-links { grid-template-columns: 1fr; }
  .v4-site .footer-email { font-size: .92rem; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) { .v4-site *, .v4-site *::before, .v4-site *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Long customer-service addresses and local office details remain readable. */
.v4-site .office-panel p a, .v4-site .office-panel address { color: white; }
.v4-site .office-panel p a { overflow-wrap: anywhere; }
.v4-site .office-panel .license-badge { color: var(--blue-deep); }
.v4-site .contact-card { min-width: 0; }
.v4-site .contact-card p, .v4-site .contact-card a { overflow-wrap: anywhere; }
.v4-site .contact-card .text-link { display: inline; }
.v4-site .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v4-site .office-panel address { font-style: normal; }
@media (max-width: 760px) { .v4-site .contact-grid { grid-template-columns: minmax(0,1fr); } }

.v4-site .v4-rating-snapshot { color: #d9effb; font-size: .88rem; max-width: 90ch; margin: 1rem 0; }
