* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #d4a853;
  --gold-bright: #e8bb60;
  --black: #0a0a0a;
  --panel: #111;
  --soft: rgba(255,255,255,0.65);
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  overflow-x: hidden;
  background: var(--black);
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body p {
  color: var(--soft);
  font-size: 16px;
  line-height: 1.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

main,
footer {
  position: relative;
  z-index: 2;
}

#hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 6rem 8vw;
  overflow: hidden;
  text-align: center;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.eyebrow,
.section-tag {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-tag {
  color: var(--gold);
}

h1 {
  color: #fff;
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.05;
}

h1 em {
  color: var(--gold);
  font-style: normal;
}

h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
}

.sub {
  margin-top: 1.35rem;
  color: rgba(255,255,255,0.76);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.btn-gold {
  display: inline-block;
  margin-top: 2rem;
  padding: 15px 36px;
  border-radius: 3px;
  background: var(--gold);
  color: #1a1008;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 2.5rem;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.35);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 0;
  background: rgba(255,255,255,0.35);
}

.photo-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  will-change: opacity, transform, filter;
}

.photo-section.short {
  min-height: 70vh;
  justify-content: center;
  text-align: center;
}

.photo-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 115%;
  object-fit: cover;
  object-position: center;
  transform: translateY(-7%);
}

.photo-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.photo-section.overlay-right::before {
  background: linear-gradient(to left, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.photo-section.overlay-soft::before {
  background: rgba(0,0,0,0.45);
}

.photo-content {
  position: relative;
  z-index: 2;
  max-width: 520px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.photo-content.left {
  padding-left: 8vw;
}

.photo-content.right {
  margin-left: auto;
  padding-right: 8vw;
  text-align: right;
}

.photo-content h2 {
  margin-bottom: 1rem;
}

.photo-content p {
  color: rgba(255,255,255,0.8);
}

.dark-section {
  background: #0d0d0d;
  padding: 6rem 8vw;
  will-change: opacity, transform, filter;
}

.dark-section.alt {
  background: #111;
}

.who-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.who-copy p {
  margin-top: 1.4rem;
  max-width: 760px;
}

.license,
.small,
.fine-print {
  color: rgba(255,255,255,0.42);
  font-size: 13px;
}

.stats {
  display: grid;
  gap: 1.7rem;
}

.stat-card {
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
}

.stat-number {
  color: var(--gold);
  font-size: 2.8rem;
  font-weight: 300;
  line-height: 1;
}

.stat-label {
  margin-top: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-heading {
  margin-bottom: 3rem;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 245px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background: #161616;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(212,168,83,0.4);
  transform: translateY(-4px);
}

.service-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.6rem;
  color: var(--gold);
}

.service-card h3 {
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.legacy-section {
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.legacy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8vw;
  right: 8vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,168,83,0.5), transparent);
}

.legacy-copy {
  max-width: 920px;
}

.legacy-copy .sub-text {
  margin-top: 1rem;
  max-width: 780px;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255,255,255,0.72);
}

.legacy-copy p {
  margin-top: 1.35rem;
  max-width: 820px;
}

.legacy-values {
  display: grid;
  gap: 0.4rem;
  margin: 2rem 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 300;
  line-height: 1.25;
}

.legacy-stats,
.commercial-grid,
.professional-grid,
.expanded-area-grid {
  display: grid;
  gap: 1rem;
}

.legacy-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3rem;
}

.legacy-stat,
.professional-card {
  border-left: 3px solid var(--gold);
  padding: 1.4rem 1.2rem 1.4rem 1.5rem;
  background: rgba(255,255,255,0.025);
}

.legacy-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  font-weight: 400;
  line-height: 1.25;
}

.commercial-intro {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

.commercial-intro .sub-text {
  margin-top: 1rem;
  color: rgba(255,255,255,0.72);
}

.commercial-intro p:last-child {
  margin-top: 1.4rem;
}

.commercial-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.commercial-card {
  min-height: 205px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  background: #161616;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.commercial-card:hover,
.commercial-card:focus-within {
  border-color: rgba(212,168,83,0.4);
  transform: translateY(-4px);
}

.commercial-card svg,
.professional-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 1.3rem;
  color: var(--gold);
}

.commercial-card h3,
.professional-card h3 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.25;
}

.commercial-card p,
.professional-card p {
  font-size: 14px;
  line-height: 1.65;
}

.commercial-cta {
  margin-top: 2.4rem;
  text-align: center;
}

.professional-intro {
  max-width: 780px;
  margin-bottom: 3rem;
}

.professional-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.expanded-areas {
  border-top: 1px solid rgba(255,255,255,0.07);
}

.expanded-area-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.expanded-area-tag {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.025);
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.expanded-area-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.seo-service-copy {
  max-width: 880px;
  margin-top: 2rem;
  color: rgba(255,255,255,0.62);
}

.testimonials h2,
.areas h2 {
  margin-bottom: 1rem;
}

.testimonial-row {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.quote-card {
  flex: 1 1 280px;
  max-width: 360px;
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.quote-mark {
  display: block;
  height: 2.4rem;
  color: var(--gold);
  font-size: 4rem;
  line-height: 0.75;
}

.attribution {
  margin-top: 1rem;
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}

.sub-text {
  color: rgba(255,255,255,0.5);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.city-tag {
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 2px;
  padding: 8px 16px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.city-tag:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.panorama-title {
  position: relative;
  z-index: 2;
  max-width: 920px;
  padding: 0 1.5rem;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 200;
  letter-spacing: 0.05em;
}

#contact {
  min-height: 100vh;
  background: #0a0a0a;
}

.ai-contact-header {
  max-width: 760px;
  margin-bottom: 3rem;
}

.ai-contact-header h2,
.contact-copy h2 {
  margin-bottom: 1rem;
}

.ai-contact-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.72fr) minmax(360px, 1.12fr) minmax(240px, 0.78fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.ai-trust-panel,
.river-chat,
.river-mascot-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(22,22,22,0.9);
  box-shadow: 0 30px 90px rgba(0,0,0,0.24);
}

.ai-trust-panel {
  padding: 2rem;
}

.ai-trust-list {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.ai-trust-item {
  border-left: 3px solid var(--gold);
  padding-left: 1rem;
}

.ai-trust-item strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 400;
}

.ai-trust-item span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.48);
  font-size: 13px;
  line-height: 1.55;
}

.river-chat {
  overflow: hidden;
}

.river-chat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.river-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.river-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #d4a853, #8b6914);
  color: #1a1008;
  font-size: 13px;
  font-weight: 700;
}

.river-status strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
}

.river-status span,
.read-receipt {
  color: rgba(255,255,255,0.45);
  font-size: 12px;
}

.river-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #70d68a;
  box-shadow: 0 0 0 5px rgba(112,214,138,0.12);
}

.chat-log {
  height: min(560px, 62vh);
  min-height: 430px;
  overflow-y: auto;
  padding: 1.35rem;
  scroll-behavior: smooth;
}

.chat-message {
  display: flex;
  margin-bottom: 1rem;
  animation: messageIn 260ms ease both;
}

.chat-message.assistant {
  justify-content: flex-start;
}

.chat-message.user {
  justify-content: flex-end;
}

.message-bubble {
  max-width: min(78%, 430px);
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  background: rgba(255,255,255,0.055);
  color: rgba(255,255,255,0.86);
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-line;
}

.chat-message.user .message-bubble {
  border-color: rgba(212,168,83,0.28);
  background: rgba(212,168,83,0.16);
  color: #fff;
}

.typing-indicator {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  background: rgba(255,255,255,0.055);
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  animation: typingPulse 900ms ease-in-out infinite;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 120ms;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 240ms;
}

.quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0 1.35rem 1.1rem;
}

.quick-reply {
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 3px;
  padding: 0.6rem 0.8rem;
  background: rgba(255,255,255,0.035);
  color: rgba(255,255,255,0.75);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.quick-reply:hover,
.quick-reply:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.chat-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 1.1rem 1.35rem 1.35rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.chat-composer input {
  margin: 0;
}

.chat-send {
  width: auto;
  min-width: 112px;
  margin: 0;
}

.lead-complete-note {
  display: none;
  margin: 0 1.35rem 1.35rem;
  padding: 1rem;
  border-left: 3px solid var(--gold);
  background: rgba(212,168,83,0.09);
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.65;
}

.lead-complete-note.is-visible {
  display: block;
}

.river-mascot-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  padding: 2rem 1.4rem 0;
  background:
    radial-gradient(circle at 50% 22%, rgba(212,168,83,0.13), transparent 34%),
    rgba(22,22,22,0.9);
}

.speech-bubble {
  position: absolute;
  top: 1.4rem;
  left: 1.2rem;
  right: 1.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(212,168,83,0.22);
  border-radius: 4px;
  background: rgba(10,10,10,0.82);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.river-mascot-card.is-talking .speech-bubble,
.river-mascot-card.is-complete .speech-bubble {
  opacity: 1;
  transform: translateY(0);
}

.mascot {
  position: relative;
  width: min(250px, 75vw);
  height: 430px;
  transform-origin: 50% 100%;
  animation: mascotBreathe 3.6s ease-in-out infinite;
}

.mascot-head {
  position: absolute;
  top: 62px;
  left: 50%;
  width: 118px;
  height: 128px;
  transform: translateX(-50%);
  border-radius: 44% 44% 48% 48%;
  background: linear-gradient(145deg, #ffd6aa, #c98d60);
  box-shadow: inset -12px -14px 24px rgba(80,40,20,0.12), 0 18px 35px rgba(0,0,0,0.28);
  animation: mascotHead 5.8s ease-in-out infinite;
}

.mascot-hat {
  position: absolute;
  top: 22px;
  left: 50%;
  width: 144px;
  height: 55px;
  transform: translateX(-50%);
  border-radius: 55px 55px 24px 24px;
  background: linear-gradient(145deg, #f0be32, #b88916);
  box-shadow: inset 0 -8px 14px rgba(90,60,0,0.18);
}

.mascot-hat::before {
  content: "TRF";
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  color: #1a1008;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.mascot-hat::after {
  content: "";
  position: absolute;
  left: -15px;
  right: -15px;
  bottom: -8px;
  height: 15px;
  border-radius: 999px;
  background: #d4a853;
}

.mascot-eye {
  position: absolute;
  top: 58px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1a1008;
  animation: mascotBlink 5.6s infinite;
}

.mascot-eye.left {
  left: 34px;
}

.mascot-eye.right {
  right: 34px;
}

.mascot-mouth {
  position: absolute;
  left: 50%;
  bottom: 29px;
  width: 42px;
  height: 18px;
  transform: translateX(-50%);
  border-bottom: 4px solid #6b2a1e;
  border-radius: 0 0 40px 40px;
}

.river-mascot-card.is-talking .mascot-mouth {
  height: 16px;
  border: 0;
  border-radius: 50%;
  background: #6b2a1e;
  animation: mascotTalk 320ms ease-in-out infinite;
}

.mascot-neck {
  position: absolute;
  top: 178px;
  left: 50%;
  width: 48px;
  height: 42px;
  transform: translateX(-50%);
  background: #c98d60;
}

.mascot-torso {
  position: absolute;
  top: 205px;
  left: 50%;
  width: 156px;
  height: 145px;
  transform: translateX(-50%);
  border-radius: 28px 28px 14px 14px;
  background: linear-gradient(145deg, #101010, #242424);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 22px 45px rgba(0,0,0,0.28);
}

.mascot-torso::before {
  content: "Twin Rivers";
  position: absolute;
  top: 34px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.mascot-arm {
  position: absolute;
  top: 220px;
  width: 38px;
  height: 128px;
  border-radius: 999px;
  background: linear-gradient(145deg, #ffd6aa, #c98d60);
  transform-origin: 50% 16px;
}

.mascot-arm.left {
  left: 20px;
  transform: rotate(14deg);
}

.mascot-arm.right {
  right: 20px;
  transform: rotate(-14deg);
}

.river-mascot-card.is-talking .mascot-arm.right {
  animation: mascotGesture 900ms ease-in-out infinite;
}

.river-mascot-card.is-typing .mascot-head {
  transform: translateX(-50%) rotate(-5deg);
}

.river-mascot-card.is-complete .mascot-arm.right {
  animation: mascotThumbs 900ms ease-out both;
}

.mascot-belt {
  position: absolute;
  top: 330px;
  left: 50%;
  width: 176px;
  height: 26px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: #8B6914;
}

.mascot-belt::before,
.mascot-belt::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 30px;
  height: 38px;
  border-radius: 4px;
  background: #5c3a1e;
}

.mascot-belt::before {
  left: 18px;
}

.mascot-belt::after {
  right: 18px;
}

.mascot-leg {
  position: absolute;
  top: 350px;
  width: 48px;
  height: 75px;
  border-radius: 14px 14px 8px 8px;
  background: #222;
}

.mascot-leg.left {
  left: 70px;
}

.mascot-leg.right {
  right: 70px;
}

.mascot-boot {
  position: absolute;
  bottom: 0;
  width: 62px;
  height: 22px;
  border-radius: 10px 10px 4px 4px;
  background: #1b1007;
}

.mascot-boot.left {
  left: 58px;
}

.mascot-boot.right {
  right: 58px;
}

.netlify-lead-form {
  display: none;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typingPulse {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes mascotBreathe {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.012); }
}

@keyframes mascotHead {
  0%, 100% { transform: translateX(-50%) rotate(0deg); }
  45% { transform: translateX(-50%) rotate(2deg); }
  70% { transform: translateX(-50%) rotate(-1deg); }
}

@keyframes mascotBlink {
  0%, 92%, 100% { transform: scaleY(1); }
  95% { transform: scaleY(0.12); }
}

@keyframes mascotTalk {
  0%, 100% { transform: translateX(-50%) scaleY(0.62); }
  50% { transform: translateX(-50%) scaleY(1); }
}

@keyframes mascotGesture {
  0%, 100% { transform: rotate(-14deg); }
  50% { transform: rotate(-38deg) translateY(-8px); }
}

@keyframes mascotThumbs {
  0% { transform: rotate(-14deg); }
  45% { transform: rotate(-72deg) translateY(-28px); }
  100% { transform: rotate(-58deg) translateY(-22px); }
}

.reduced-motion .mascot,
.reduced-motion .mascot-head,
.reduced-motion .mascot-eye,
.reduced-motion .mascot-mouth,
.reduced-motion .mascot-arm,
.reduced-motion .chat-message,
.reduced-motion .typing-indicator span {
  animation: none !important;
  transition: none !important;
}

.contact-detail {
  margin: 2rem 0 1rem;
  color: #fff;
  font-size: 1.1rem;
}

.contact-detail span {
  color: var(--gold);
}

.contact-detail a {
  text-decoration: none;
}

.contact-detail a:hover {
  color: var(--gold);
}

form {
  width: 100%;
}

input,
textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 4px;
  outline: none;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font: inherit;
  font-size: 15px;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
}

textarea {
  resize: vertical;
}

form button {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1008;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: background 0.2s ease;
}

form button:hover,
form button:focus-visible {
  background: var(--gold-bright);
}

.fine-print,
.success-message {
  margin-top: 1rem;
}

.success-message {
  min-height: 1.6em;
  color: var(--gold);
  font-size: 14px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 8vw;
  background: #060606;
  color: rgba(255,255,255,0.2);
  font-size: 12px;
}

footer a {
  color: rgba(255,255,255,0.28);
  text-decoration: none;
}

footer a:hover {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .legacy-stats,
  .commercial-grid,
  .professional-grid,
  .expanded-area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  #hero {
    padding: 5rem 1.25rem;
  }

  .photo-section {
    min-height: 86vh;
  }

  .photo-bg {
    height: 105%;
    transform: none;
  }

  .photo-content.left,
  .photo-content.right {
    max-width: none;
    margin: 0;
    padding: 0 1.25rem;
    text-align: left;
  }

  .who-grid,
  .contact-grid,
  .ai-contact-layout,
  .legacy-stats,
  .commercial-grid,
  .professional-grid,
  .expanded-area-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .dark-section {
    padding: 4.5rem 1.25rem;
  }

  .ai-contact-header {
    margin-bottom: 2rem;
  }

  .ai-contact-layout {
    gap: 1.25rem;
  }

  .river-mascot-card {
    order: -1;
    min-height: 360px;
    padding-top: 4.8rem;
  }

  .mascot {
    width: 210px;
    height: 350px;
    transform: scale(0.82);
    transform-origin: 50% 100%;
  }

  .chat-log {
    height: 430px;
    min-height: 360px;
  }

  .chat-composer {
    grid-template-columns: 1fr;
  }

  .chat-send {
    width: 100%;
  }

  .testimonial-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
  }

  .quote-card {
    flex-basis: 82vw;
    scroll-snap-align: start;
  }

  footer {
    flex-direction: column;
    padding: 2rem 1.25rem;
  }
}


.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(6,6,6,0.78);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 8vw;
}

.brand-link {
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.site-nav > a {
  color: rgba(255,255,255,0.64);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  color: var(--gold);
}

.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.64);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.nav-dropdown-trigger::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger,
.nav-dropdown:focus-within .nav-dropdown-trigger,
.nav-dropdown.is-open .nav-dropdown-trigger,
.nav-dropdown[data-active="true"] .nav-dropdown-trigger {
  color: var(--gold);
}

.nav-dropdown:hover .nav-dropdown-trigger::after,
.nav-dropdown:focus-within .nav-dropdown-trigger::after,
.nav-dropdown.is-open .nav-dropdown-trigger::after {
  transform: rotate(-135deg) translateY(1px);
}

.nav-dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  min-width: 15.5rem;
  max-height: min(70vh, 28rem);
  overflow: auto;
  padding: 0.65rem 0.55rem 0.55rem;
  margin-top: 0;
  border: 1px solid rgba(212,168,83,0.22);
  border-radius: 6px;
  background: rgba(10,10,10,0.97);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel,
.nav-dropdown.is-open .nav-dropdown-panel {
  display: grid;
  pointer-events: auto;
}

.nav-dropdown-panel a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  color: rgba(255,255,255,0.78);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}

.nav-dropdown-panel a:hover,
.nav-dropdown-panel a:focus-visible {
  background: rgba(212,168,83,0.12);
  color: var(--gold);
}

.top-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(212,168,83,0.45);
  border-radius: 4px;
  padding: 0.62rem 0.95rem;
  background: rgba(212,168,83,0.12);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.top-call:hover,
.top-call:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: #1a1008;
  transform: translateY(-1px);
}

.text-section {
  max-width: 980px;
  margin: 0 auto;
}

.text-section h2,
.text-section h3 {
  margin-top: 2rem;
}

.text-section p,
.text-section li {
  margin-top: 1rem;
}

.text-section ul {
  margin: 1.4rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255,255,255,0.68);
}

.internal-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.internal-links a {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 1rem;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.internal-links a:hover,
.internal-links a:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

@media (max-width: 780px) {
  .topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.8rem 1.25rem;
  }

  .site-nav {
    justify-content: flex-start;
    gap: 0.65rem 0.9rem;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-panel {
    position: static;
    display: none;
    width: 100%;
    max-height: none;
    margin-top: 0.35rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
  }

  .nav-dropdown.is-open .nav-dropdown-panel {
    display: grid;
  }

  .top-call {
    width: 100%;
    min-height: 44px;
    padding: 0.85rem 1rem;
  }

  .internal-links {
    grid-template-columns: 1fr;
  }
}
.google-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  max-width: 940px;
  margin: 2rem auto 0;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(212,168,83,0.28);
  border-radius: 4px;
  background: rgba(10,10,10,0.58);
  box-shadow: 0 18px 55px rgba(0,0,0,0.28);
}

.google-trust-bar span,
.google-trust-bar a {
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.google-trust-bar a:hover,
.google-trust-bar a:focus-visible {
  color: var(--gold);
}

.google-star-row,
.google-review-stars {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.google-trust-see-reviews {
  color: var(--gold);
  font-weight: 600;
  text-decoration: underline;
}

.google-reviews-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.google-review-intro {
  max-width: 860px;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.google-review-intro .sub-text,
.google-review-local {
  margin-top: 1rem;
  color: rgba(255,255,255,0.7);
}

.google-review-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto 0;
}

.google-review-pill {
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,0.03);
  color: #fff;
}

.google-review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.google-trust-panel {
  grid-column: 1 / -1;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.75rem;
  background: linear-gradient(145deg, rgba(22,22,22,0.98), rgba(14,14,14,0.98));
  box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.google-trust-badge {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.google-logo-mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.google-trust-meta {
  text-align: left;
}

.google-trust-label {
  display: block;
  color: rgba(255,255,255,0.52);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.google-trust-rating-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.google-trust-score {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
}

.google-trust-business {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.google-trust-points {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.google-trust-points li {
  display: grid;
  gap: 0.2rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(212,168,83,0.45);
}

.google-trust-points strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
}

.google-trust-points span {
  color: rgba(255,255,255,0.62);
  font-size: 0.88rem;
  line-height: 1.5;
}

.google-review-card {
  min-height: 0;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 1.6rem;
  background: #161616;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.google-review-card:hover,
.google-review-card:focus-within {
  border-color: rgba(212,168,83,0.45);
  transform: translateY(-4px);
}

.google-review-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.google-review-card strong {
  display: block;
  color: #fff;
  font-weight: 500;
}

.google-review-card span {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255,255,255,0.42);
  font-size: 0.82rem;
}

.google-review-card p {
  color: rgba(255,255,255,0.74);
  font-size: 0.95rem;
}

.google-review-actions {
  margin-top: 2.2rem;
  text-align: center;
}

.google-review-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 900px) {
  .google-review-cards {
    grid-template-columns: 1fr;
  }
}

.sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9970;
  justify-content: center;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0));
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid rgba(212, 168, 83, 0.25);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.5);
}

.sticky-call-bar a {
  display: block;
  width: 100%;
  max-width: 28rem;
  text-align: center;
  padding: 0.9rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.sticky-call-bar a:hover,
.sticky-call-bar a:focus-visible {
  background: var(--gold-bright);
  color: var(--black);
}

@media (max-width: 780px) {
  .sticky-call-bar {
    display: flex;
  }

  body {
    padding-bottom: 4.75rem;
  }
}
