/* Professional visual refresh for Receiver Link
   Palette: midnight navy, refined blue, clean white. */
:root {
  --ink: #081a2f;
  --ink-2: #0b2645;
  --ink-3: #12385f;
  --paper: #f6f9fd;
  --paper-2: #e8f0f8;
  --muted: #b8c6d8;
  --line: rgba(202, 220, 240, .18);
  --accent: #2d7ee8;
  --accent-2: #155cbc;
  --violet: #2d7ee8;
  --deep: #040f1e;
  --shadow: 0 22px 65px rgba(3, 18, 37, .24);
  --radius-lg: 22px;
  --radius-md: 15px;
  --radius-sm: 10px;
  --max: 1240px;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, .logo, .button, .nav-cta, .proof-number, .metric strong, .gallery-caption strong {
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
}

::selection { background: #9bd0ff; color: #06182d; }
.container { width: min(var(--max), calc(100% - 3rem)); }
.section { padding: 6.5rem 0; }
.section--tight { padding-top: 4.5rem; padding-bottom: 4.5rem; }
.section--dark { background: linear-gradient(145deg, #0b2543 0%, #07192e 68%, #061528 100%); }
.section--light { background: var(--paper); color: var(--ink); }
.eyebrow {
  color: #70b3ff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.section--light .eyebrow,
.section--light .eyebrow[style] { color: #1c67c5 !important; }
.section-title {
  max-width: 800px;
  font-size: clamp(2.3rem, 4vw, 4.35rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.052em;
}
.section-intro {
  color: #bdcadb;
  font-size: 1.08rem;
  line-height: 1.7;
}
.section--light .section-intro { color: #5a6b82; }

.header {
  background: rgba(4, 17, 33, .86);
  border-bottom-color: rgba(194, 217, 243, .08);
  backdrop-filter: blur(18px) saturate(135%);
}
.header.is-scrolled {
  background: rgba(4, 17, 33, .98);
  border-color: rgba(194, 217, 243, .14);
}
.nav { min-height: 82px; }
.logo { gap: .78rem; font-size: 1.13rem; letter-spacing: -.04em; }
.logo-mark {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(169, 211, 255, .52);
  border-radius: 12px;
  background: linear-gradient(145deg, #2d7ee8, #164f9d);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 22px rgba(23, 102, 202, .24);
  transform: none;
}
.logo-mark::before,
.logo-mark::after { background: #fff; }
.logo-mark::before { width: 17px; left: 10px; top: 18px; transform: rotate(-29deg); }
.logo-mark::after { width: 5px; height: 5px; left: 17px; top: 16px; }
.logo-text em { color: #91a8c3; letter-spacing: .14em; font-size: .48rem; }
.nav-links { gap: 1.8rem; }
.nav-links a { color: #dce7f3; font-size: .9rem; font-weight: 650; letter-spacing: .005em; }
.nav-links a:not(.nav-cta)::after { background: #66b0ff; height: 2px; bottom: -.62rem; }
.nav-cta,
.button {
  border-radius: 10px;
  font-weight: 750;
  letter-spacing: -.012em;
}
.nav-cta { padding: .72rem 1rem; background: #2d7ee8; color: #fff; box-shadow: 0 9px 20px rgba(25, 106, 212, .2); }
.button { padding: .98rem 1.3rem; font-size: .97rem; }
.button--accent { background: #2d7ee8; color: #fff; box-shadow: 0 12px 24px rgba(25, 106, 212, .22); }
.button--outline { border-color: rgba(222, 235, 249, .38); background: rgba(255,255,255,.04); color: #fff; }
.button--outline:hover { border-color: rgba(222, 235, 249, .68); background: rgba(255,255,255,.1); }
.button--dark { background: #0a2544; color: #fff; }
.button:hover,
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(9, 89, 190, .28); }
.button--dark:hover { background: #12385f; box-shadow: 0 14px 30px rgba(3, 20, 42, .24); }
.menu-button { border-color: rgba(192, 218, 246, .22); border-radius: 10px; }

.hero { min-height: 685px; background: #061a31; }
.hero::before {
  background:
    linear-gradient(90deg, rgba(4, 17, 33, .96) 0%, rgba(5, 22, 43, .87) 45%, rgba(5, 22, 43, .34) 100%),
    linear-gradient(180deg, rgba(8, 39, 72, .15), rgba(3, 16, 31, .84)),
    url('../img/rv-interior-lounge.jpg') center/cover no-repeat;
}
.hero::after {
  right: -15rem;
  top: -18rem;
  width: 48rem;
  height: 48rem;
  background: radial-gradient(circle, rgba(45,126,232,.24), rgba(45,126,232,0) 68%);
  filter: blur(4px);
}
.hero-grid { padding: 6.4rem 0 5.1rem; align-items: center; }
.hero h1 {
  max-width: 740px;
  margin: .8rem 0 1.4rem;
  font-size: clamp(3.25rem, 6.3vw, 6.15rem);
  font-weight: 800;
  letter-spacing: -.066em;
  line-height: .97;
}
.hero h1 .accent-text { color: #8bc7ff; }
.hero-copy { max-width: 590px; color: #d7e4f3; font-size: 1.13rem; line-height: 1.72; }
.hero-actions { gap: .85rem; margin-top: 2.1rem; }
.hero-proof { width: min(100%, 405px); gap: .9rem; }
.hero-proof .proof-card {
  background: linear-gradient(145deg, rgba(17, 49, 84, .92), rgba(10, 31, 57, .82));
  border-color: rgba(180, 214, 248, .2);
  border-radius: 15px;
  padding: 1.1rem 1.2rem;
  box-shadow: 0 18px 44px rgba(0,0,0,.2);
}
.proof-label { color: #a6bdd6; font-size: .69rem; }
.proof-number { font-size: 1.13rem; letter-spacing: -.035em; }
.proof-card--split > div + div { border-left-color: rgba(190, 218, 246, .18); }

.trust-strip { background: #e9f3ff; color: #0b2d52; border-bottom: 1px solid #d7e6f5; }
.trust-content { min-height: 76px; font-size: .9rem; font-weight: 750; }
.trust-content i { width: 7px; height: 7px; background: #2d7ee8; }

.service-card {
  background: linear-gradient(145deg, rgba(18, 55, 94, .6), rgba(10, 31, 57, .68));
  border-color: rgba(185, 215, 246, .16);
  border-radius: 15px;
  min-height: 300px;
  padding: 1.65rem;
}
.service-card:hover { border-color: rgba(107, 179, 255, .72); background: linear-gradient(145deg, rgba(21, 66, 110, .75), rgba(11, 37, 67, .82)); box-shadow: 0 18px 40px rgba(0,0,0,.16); }
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(74, 151, 235, .13);
  border-color: rgba(123, 187, 255, .28);
  color: #8bc7ff;
  margin-bottom: 2.4rem;
}
.service-card h3 { font-size: 1.38rem; font-weight: 750; }
.service-card p { color: #bfd0e3; font-size: .95rem; line-height: 1.68; }
.service-card .card-link { color: #8bc7ff; font-size: .87rem; }

.check-list li { color: #dce8f4; }
.section--light .check-list li { color: #425775; }
.check { background: rgba(45,126,232,.15); color: #2d7ee8; }
.metric,
.metric:nth-child(2),
.metric:nth-child(3),
.metric:nth-child(4) {
  background: linear-gradient(145deg, #0e3156, #0a2441);
  border-color: rgba(185, 215, 246, .14);
  border-radius: 15px;
  padding: 1.6rem;
}
.metric:nth-child(2) { background: linear-gradient(145deg, #123b65, #0a294d); }
.metric:nth-child(3) { background: linear-gradient(145deg, #0d3158, #0b2645); }
.metric:nth-child(4) { background: linear-gradient(145deg, #173b62, #0c2846); }
.metric strong { color: #8bc7ff; font-size: 2.45rem; }
.metric span { color: #d7e5f4; font-size: .9rem; }

.process-card { padding-right: 1rem; }
.process-card:not(:last-child)::after { background: #c8d6e6; }
.process-num { background: #0a2849; color: #8bc7ff; box-shadow: 0 8px 18px rgba(8, 35, 64, .14); }
.process-card h3 { font-size: 1.22rem; font-weight: 750; }
.process-card p { color: #576b84; font-size: .96rem; line-height: 1.68; }

.project-feature { border-color: rgba(185, 215, 246, .18); border-radius: 20px; background: linear-gradient(145deg, rgba(18, 55, 94, .6), rgba(7, 25, 46, .86)); }
.project-visual { background: linear-gradient(130deg, rgba(3, 19, 37, .12), rgba(5, 25, 47, .9)), url('../img/rv-media-center.jpg') center/cover; }
.project-visual .visual-tag { border-color: rgba(202, 226, 250, .26); background: rgba(5, 24, 45, .82); border-radius: 8px; }
.project-copy h3 { font-weight: 800; }
.project-copy p { color: #c0d0e1; line-height: 1.7; }
.tag { color: #d6e7f9; border-color: rgba(188, 217, 246, .23); border-radius: 7px; padding: .4rem .65rem; }
.feature-link { color: #8bc7ff; }

.quote-band { background: linear-gradient(115deg, #dceeff 0%, #b9d9fb 46%, #85bcf4 100%); color: #0a294a; }
.quote-band::after { border-color: rgba(7, 47, 91, .12); }
.quote-band .eyebrow,
.quote-band .eyebrow[style] { color: #145aa8 !important; }
.quote-band h2 { font-size: clamp(2.2rem, 4.35vw, 4.35rem); font-weight: 800; letter-spacing: -.06em; }
.quote-band p { color: rgba(9, 42, 76, .78); }

.footer { background: #040f1e; border-top-color: rgba(188, 217, 246, .12); }
.footer p,
.footer-links a { color: #9fb4cc; }
.footer h3 { color: #e5f0fb; font-size: .72rem; }
.footer-links a:hover { color: #83c4ff; }
.footer-bottom { border-top-color: rgba(188, 217, 246, .13); color: #7f96af; }

.page-hero {
  padding: 6.25rem 0 5.25rem;
  background: radial-gradient(circle at 78% 8%, rgba(47,130,237,.24), transparent 26%), linear-gradient(135deg, #0b2849, #06172b 76%);
}
.page-hero::after { border-color: rgba(121, 185, 251, .22); box-shadow: 0 0 0 50px rgba(86, 164, 248, .045), 0 0 0 100px rgba(86, 164, 248, .02); }
.breadcrumb { color: #b3c4d7; }
.breadcrumb span { color: #83c4ff; }
.page-hero h1 { max-width: 850px; font-size: clamp(3rem, 5.8vw, 5.65rem); line-height: .98; letter-spacing: -.065em; }
.page-hero p { color: #d2e0ee; font-size: 1.1rem; line-height: 1.7; }

.service-detail {
  background: #fff;
  border-color: #dce7f3;
  border-radius: 15px;
  box-shadow: 0 9px 24px rgba(11, 43, 78, .04);
}
.service-detail::after { background: radial-gradient(circle, rgba(45,126,232,.13), transparent 66%); }
.service-detail h3 { font-size: 1.4rem; font-weight: 750; }
.service-detail p { color: #5a6f89; font-size: .96rem; line-height: 1.7; }
.icon-dark { color: #155aa5; background: rgba(45,126,232,.1); border-color: rgba(45,126,232,.24); }
.audience-strip { background: rgba(198, 218, 241, .14); border-color: rgba(188, 217, 246, .16); border-radius: 20px; }
.audience-card,
.audience-card:nth-child(2),
.audience-card:nth-child(3) { background: linear-gradient(145deg, #0d2c4e, #081d35); }
.audience-card:nth-child(2) { background: linear-gradient(145deg, #12375f, #0a2542); }
.audience-card:nth-child(3) { background: linear-gradient(145deg, #0f355a, #0b2745); }
.audience-card h3 { font-size: 1.4rem; font-weight: 750; }
.audience-card p { color: #bdcde0; line-height: 1.68; }

.filter-btn { color: #4d627d; border-color: #d7e3ef; border-radius: 8px; padding: .6rem .9rem; font-size: .82rem; }
.filter-btn.active,
.filter-btn:hover { background: #155aa5; border-color: #155aa5; color: #fff; }
.gallery-card { border-radius: 15px; background: linear-gradient(145deg, #13395f, #071c34); }
.gallery-caption { padding: 1.3rem; }
.gallery-caption small { color: #8bc7ff; }
.gallery-caption strong { font-size: 1.08rem; }
.gallery-card.visual-only { background: radial-gradient(circle at 72% 14%, rgba(104,182,255,.24), transparent 18%), linear-gradient(135deg, #163e6b, #081d35 65%); }
.gallery-card.visual-only .dashboard { border-color: #214a76; background: #07182b; }
.dashboard::before { background: linear-gradient(125deg, #2d7ee8, #12365d 55%, #a8d8ff); }

.large-quote { border-left-color: #60a9f4; color: #e3edf8; }
.value-list { background: #d9e5f1; border-color: #d9e5f1; }
.value-row { background: #fff; }
.value-row p { color: #5e7189; }
.value-index { color: #38699d; }
.form-card { background: #fff; border: 1px solid #e2ebf4; box-shadow: 0 15px 35px rgba(9, 43, 80, .06); }
.form-card h2 { font-weight: 800; }
.form-card > p { color: #5d7088; }
.field label { color: #273e5b; }
.field input,
.field select,
.field textarea { border-color: #ccddea; border-radius: 8px; padding: .86rem .92rem; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: #2d7ee8; box-shadow: 0 0 0 4px rgba(45,126,232,.13); }
.contact-block { background: linear-gradient(145deg, rgba(18, 55, 94, .62), rgba(8, 27, 50, .76)); border-color: rgba(185, 215, 246, .16); border-radius: 15px; }
.contact-block p,
.contact-block address,
.hours div { color: #bfd0e2; }
.contact-link { color: #8bc7ff; }
.hours span:last-child { color: #e3eef9; }
.notice { color: #164f85; background: #e1f0ff; border-color: #b8dbff; }
.modal-backdrop { background: rgba(2, 12, 25, .76); }
.modal { background: #f9fbfe; border-radius: 18px; }
.modal-close { border-color: #d9e5f1; color: #12385f; }
.modal h2 { font-weight: 800; }
.toast { background: #2d7ee8; color: #fff; border-radius: 8px; }

@media (max-width: 900px) {
  .nav-links { gap: 1rem; }
}
@media (max-width: 720px) {
  .container { width: min(var(--max), calc(100% - 1.5rem)); }
  .nav { min-height: 72px; }
  .nav-links { inset: 72px 0 auto; min-height: calc(100vh - 72px); background: #07182c; }
  .hero { min-height: 630px; }
  .hero::before {
    background: linear-gradient(90deg, rgba(4,17,33,.95), rgba(5,22,43,.77)), linear-gradient(180deg, rgba(8,39,72,.06), rgba(3,16,31,.94)), url('../img/rv-interior-lounge.jpg') 59% center/cover no-repeat;
  }
  .hero-grid { padding-top: 5rem; }
  .section { padding: 4.6rem 0; }
  .section-title { font-size: clamp(2rem, 10vw, 3.2rem); }
}


/* Real project photos upgrade */
.hero-proof--photos {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 1rem;
  display: grid;
  align-self: stretch;
}
.hero-shot {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(202, 226, 250, .16);
  background: #06182b;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .24);
}
.hero-shot--large { min-height: 270px; }
.hero-shot--small { min-height: 185px; }
.hero-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-shot::after,
.install-tile::after,
.contact-photo::after,
.about-photo-grid figure::after,
.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 16, 31, .65), rgba(3, 16, 31, .05) 58%);
  pointer-events: none;
}
.hero-shot figcaption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .01em;
}
.photo-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.photo-card {
  position: relative;
  background: #fff;
  border: 1px solid #d9e4ef;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(14, 38, 63, .08);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.photo-card::before { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(7,20,35,.18) 100%); }
.photo-card-body {
  position: relative;
  z-index: 1;
  padding: 1.1rem 1.1rem 1.2rem;
}
.photo-card-body small {
  display: inline-block;
  margin-bottom: .45rem;
  color: #275c8f;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
}
.photo-card-body h3 {
  margin: 0 0 .45rem;
  font-size: 1.2rem;
  line-height: 1.15;
}
.photo-card-body p {
  margin: 0;
  color: #54667d;
  font-size: .92rem;
}
.service-detail {
  padding: 1.15rem;
}
.service-thumb {
  margin: -.05rem -.05rem 1rem;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e7eef6;
}
.service-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.install-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.install-tile {
  position: relative;
  min-height: 290px;
  border-radius: 18px;
  overflow: hidden;
  background: #0a1e32;
  box-shadow: 0 18px 44px rgba(7, 20, 35, .12);
}
.install-tile img,
.about-photo-grid img,
.contact-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.install-tile .gallery-caption { z-index: 1; }
.about-photo-grid {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-photo-grid figure {
  position: relative;
  margin: 0;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(0,0,0,.18);
}
.about-photo-grid figcaption {
  position: absolute;
  left: 1rem;
  bottom: .9rem;
  z-index: 1;
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
}
.contact-photo {
  position: relative;
  margin: 0;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(202, 226, 250, .12);
  background: #091a2d;
}
.contact-photo img { height: 250px; }
.contact-photo figcaption {
  position: relative;
  z-index: 1;
  padding: 1rem 1rem 1.1rem;
  color: #d6e3f3;
  font-size: .92rem;
  line-height: 1.55;
  background: rgba(7, 22, 40, .88);
}
.gallery-card img,
.project-visual,
.hero::before { filter: saturate(1.02); }
@media (max-width: 980px) {
  .photo-card-grid,
  .install-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .hero-proof--photos { grid-template-columns: 1fr; }
  .hero-shot--large { min-height: 220px; }
  .hero-shot--small { min-height: 165px; }
  .photo-card-grid,
  .install-strip,
  .about-photo-grid { grid-template-columns: 1fr; }
  .contact-photo { min-height: auto; }
  .contact-photo img { height: 220px; }
}


/* Final self-contained photo and layout fix */
.hero::before {
  background:
    linear-gradient(90deg, rgba(4, 17, 33, .97) 0%, rgba(5, 22, 43, .88) 46%, rgba(5, 22, 43, .40) 100%),
    linear-gradient(180deg, rgba(8, 39, 72, .13), rgba(3, 16, 31, .86)),
    url('../img/rv-interior-lounge.jpg') center / cover no-repeat;
}
.project-visual {
  background: linear-gradient(130deg, rgba(3, 19, 37, .12), rgba(5, 25, 47, .88)), url('../img/rv-media-center.jpg') center / cover no-repeat;
}
.hero-proof--photos {
  width: min(100%, 440px);
  grid-template-rows: 250px 170px;
  grid-template-columns: 1fr;
}
.hero-shot { min-height: 0; }
.hero-shot--large,
.hero-shot--small { min-height: 0; }
.hero-shot--large img { object-position: center center; }
.hero-shot--small img { object-position: center 58%; }
.photo-card,
.install-tile,
.gallery-card,
.service-thumb,
.about-photo-grid figure,
.contact-photo { isolation: isolate; }
.photo-card img { aspect-ratio: 16 / 10; object-position: center center; }
.photo-card:nth-child(2) img { object-position: 42% center; }
.photo-card:nth-child(3) img { object-position: center 42%; }
.install-tile { min-height: 250px; }
.install-tile:nth-child(1) img { object-position: center center; }
.install-tile:nth-child(2) img { object-position: 52% center; }
.install-tile:nth-child(3) img { object-position: center 45%; }
.service-thumb { aspect-ratio: 16 / 9; }
.service-thumb img { object-position: center center; }
.service-detail { min-height: 0; }
.gallery-card img { object-position: center center; }
.gallery-card:nth-child(2) img { object-position: 54% center; }
.gallery-card:nth-child(5) img { object-position: 46% center; }
.about-photo-grid figure { min-height: 200px; }
.about-photo-grid figure:first-child img { object-position: center center; }
.about-photo-grid figure:last-child img { object-position: 70% center; }
.contact-photo img { object-position: 54% center; }
@media (max-width: 900px) {
  .hero-proof--photos { width: min(100%, 620px); grid-template-columns: 1.35fr 1fr; grid-template-rows: 260px; }
  .hero-shot--large,
  .hero-shot--small { min-height: 260px; }
}
@media (max-width: 720px) {
  .hero-proof--photos { display: grid; grid-template-columns: 1fr; grid-template-rows: 205px 160px; width: 100%; }
  .hero-shot--large { min-height: 205px; }
  .hero-shot--small { min-height: 160px; }
  .photo-card img { aspect-ratio: 16 / 10; }
  .install-tile { min-height: 225px; }
}
