/* Phone-first polish for MaxMedia360. Loaded after the main generated stylesheet. */

.logoLink {
  width: clamp(190px, 18vw, 285px);
  height: 58px;
}

.footerLogo {
  filter: none;
  width: clamp(210px, 18vw, 300px);
}

@media (width <= 900px) {
  .logoLink {
    width: 185px;
    height: 50px;
  }
}

@media (width <= 520px) {
  .logoLink {
    width: 150px;
    height: 44px;
  }
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.nav,
.mobileNav,
.section,
.subHero,
.detailHero,
.detailBody,
.serviceGallery,
.videoMenu,
.packageBreakdown,
.packageExplanation,
.serviceCta,
.cta,
footer {
  max-width: 100%;
}

.navCta,
.detailBook,
.serviceCta .navCta,
.travelCallout .navCta,
.checklistDownload .navCta {
  align-items: center;
  justify-content: center;
  min-height: 44px;
  line-height: 1.25;
  text-align: center;
}

.serviceCard h3,
.videoBadge,
.zillowProduct,
.popularTag,
.footerLinks a,
.mobileNav a,
.packageCard > a,
.detailBook {
  overflow-wrap: anywhere;
}

.declutterPreview .previewBefore {
  inset: 0 !important;
  right: auto;
  width: 100%;
  clip-path: inset(0 50% 0 0);
}

.declutterPreview .previewBefore img {
  width: 100%;
  max-width: none;
}

.declutterCompare .beforeCompare {
  width: 100%;
  clip-path: inset(0 50% 0 0);
}

.cardCompareRange,
.compareRange {
  cursor: ew-resize;
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 20;
  touch-action: none;
  width: 100%;
  height: 100%;
}

.difference .boutiqueIntro {
  color: #d7e2e8;
  max-width: 900px;
  margin: -0.75rem auto 3rem;
}

.desktopNav {
  align-items: center;
  overflow: visible;
}

.navDropdown {
  position: relative;
  padding-block: 1.4rem;
}

.navDropdown::after {
  content: "";
  display: block;
  height: 0.8rem;
  left: 0;
  position: absolute;
  right: 0;
  top: 100%;
}

.dropdownMenu {
  background: #fff;
  border: 1px solid #dce4e8;
  box-shadow: 0 18px 42px rgba(16, 36, 53, 0.16);
  display: grid;
  gap: 0;
  left: 50%;
  min-width: 245px;
  max-height: min(72vh, 560px);
  opacity: 0;
  overflow-y: auto;
  padding: 0.55rem 0;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 0.2rem);
  transform: translate(-50%, -4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 40;
}

.dropdownMenu a {
  color: #26333d;
  display: block;
  letter-spacing: 0.04em;
  padding: 0.75rem 1rem;
  text-transform: none;
  white-space: normal;
}

.dropdownMenu a:hover {
  background: #eef5f9;
  color: var(--blue);
}

.navDropdown:hover .dropdownMenu,
.navDropdown:focus-within .dropdownMenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

@media (max-width: 720px) {
  .hero h1 {
    font-size: clamp(2.25rem, 10.8vw, 2.8rem);
    line-height: 1.08;
  }

  .nav {
    height: 64px;
    gap: 0.45rem;
    padding: 0 4vw;
  }

  .navActions {
    margin-left: auto;
  }

  .navCta {
    display: none;
  }

  .mobileNav {
    max-height: calc(100svh - 64px);
    overflow: auto;
    padding-bottom: 1rem;
  }

  .mobileNav a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .hero {
    min-height: 0;
  }

  .heroCopy {
    padding: 2.25rem 5.25vw 1.45rem;
  }

  .eyebrow {
    font-size: 0.6rem;
    line-height: 1.35;
    letter-spacing: 0.15em;
  }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(2.28rem, 11vw, 2.85rem);
    line-height: 0.98;
  }

  .heroText {
    max-width: none;
    font-size: 0.91rem;
    line-height: 1.55;
  }

  .heroGrid {
    grid-template-columns: 1fr 1fr;
    gap: 3px;
  }

  .heroGrid img {
    aspect-ratio: 1.55;
    object-fit: cover;
  }

  .heroGrid .heroMain {
    grid-column: 1 / 3;
    aspect-ratio: 2.1;
  }

  .proof {
    justify-content: flex-start;
    gap: 0.55rem 0.8rem;
    padding: 0.8rem 5vw;
  }

  .proof span {
    white-space: normal;
  }

  .section h2,
  .difference h2,
  .cta h2,
  .videoMenuHead h2,
  .packageBreakdown > h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    line-height: 1.02;
  }

  .sectionIntro {
    margin-bottom: 1.8rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .packageGrid {
    gap: 1rem;
  }

  .packageCard {
    padding: 1.35rem;
  }

  .packageCard > .packagePhoto {
    width: calc(100% + 2.7rem);
    height: 145px;
    margin: -1.35rem -1.35rem 1.1rem;
  }

  .packageCard strong {
    font-size: 2.8rem;
  }

  .packageCard .packageFit {
    min-height: 0;
  }

  .packageCard li {
    align-items: flex-start;
    line-height: 1.45;
  }

  .serviceGrid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .serviceMedia,
  .declutterPreview {
    aspect-ratio: 16 / 10;
  }

  .serviceBody {
    padding: 1rem 0.95rem 1.15rem;
  }

  .serviceCard p {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  .serviceBody small {
    font-size: 0.62rem;
  }

  .videoBadge {
    left: 0.55rem;
    bottom: 0.55rem;
    max-width: calc(100% - 1.1rem);
    line-height: 1.2;
  }

  .cardCompareRange {
    height: 100%;
    touch-action: none;
  }

  .benefitGrid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .benefitGrid article {
    padding: 0 1rem;
  }

  .cta {
    min-height: 360px;
    padding: 3.5rem 6vw;
    background-image: linear-gradient(90deg, #fffffff7, #ffffffe8), url("https://static.wixstatic.com/media/f5a9e4_784046669356406f9b30c4ee4d443dbb~mv2.jpg");
  }

  .cta h2 {
    text-align: left;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .contactLinks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .contactLinks a {
    display: flex;
    min-height: 44px;
    align-items: center;
  }

  .subHero,
  .detailHero {
    min-height: 0;
    padding: 3.2rem 6vw 3rem;
  }

  .subHero h1,
  .detailHero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3rem);
    line-height: 1;
  }

  .detailHero strong {
    font-size: 1.25rem;
    line-height: 1.3;
  }

  .detailBody {
    gap: 1.8rem;
    padding: 2.5rem 5vw 3rem;
  }

  .detailMedia {
    width: 100%;
    min-height: 0;
  }

  .detailMedia > video {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .detailCopy h2 {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  .detailCopy > p {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .detailBook {
    display: flex;
    width: 100%;
    padding: 0.95rem 1rem;
  }

  .compareLabel {
    top: 0.65rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.58rem;
  }

  .beforeLabel {
    left: 0.65rem;
  }

  .afterLabel {
    right: 0.65rem;
  }

  .sliderLine b {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .videoTypeGrid {
    gap: 0.9rem;
  }

  .videoTypeCard {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.15rem;
  }

  .videoTypeCard h3 {
    font-size: 1.35rem;
    line-height: 1.2;
  }

  .videoTypeCard h4 {
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .videoIncluded {
    margin-top: 3rem;
    padding: 1.7rem 1.15rem;
  }

  .infoSplit,
  .contactPage,
  .areasSection,
  .faqList,
  .siteMapGrid {
    padding-right: 5vw;
    padding-left: 5vw;
  }

  .contactCards strong {
    font-size: 1.08rem;
    line-height: 1.25;
  }

  .areaGrid span {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .checklistDownload {
    gap: 1rem;
    padding: 1.35rem;
  }

  footer {
    padding: 1.7rem 5vw;
  }
}

@media (max-width: 1000px) {
  .desktopNav {
    display: none !important;
  }

  .mobileNav {
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .mobileGroup {
    border-bottom: 1px solid #edf1f3;
  }

  .mobileGroup summary {
    color: #101820;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobileGroup summary::-webkit-details-marker {
    display: none;
  }

  .mobileGroup summary::after {
    content: "+";
    color: var(--blue);
    font-size: 1rem;
    line-height: 1;
  }

  .mobileGroup[open] summary::after {
    content: "-";
  }

  .mobileGroup a {
    background: #f8fafb;
    border-bottom: 1px solid #e5ebef;
    color: #33434e;
    padding-left: 1.15rem;
  }

  .mobileGroup a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 390px) {
  .logoLink {
    width: 108px;
  }

  .menuToggle {
    width: 36px;
    height: 36px;
    padding: 9px;
  }

  .hero h1,
  .subHero h1,
  .detailHero h1 {
    font-size: 2.18rem;
  }

  .serviceBody {
    padding: 0.9rem 0.8rem 1rem;
  }

  .packageCard strong {
    font-size: 2.55rem;
  }

  .galleryGrid {
    grid-template-columns: 1fr;
  }
}

/* Homepage hero: show each photo fully without visible filler inside the boxes. */
.hero {
  height: auto;
  max-height: none;
}

.heroGrid {
  grid-template-rows: auto auto !important;
  align-content: start !important;
  height: auto !important;
  min-height: 0 !important;
  background: transparent !important;
}

.heroGrid img {
  width: 100% !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  object-fit: fill !important;
  object-position: center !important;
  background: transparent !important;
}

.heroGrid .heroMain {
  grid-column: 1 / 3;
  object-position: center !important;
}

.iphoneBlue {
  color: #075A9E;
}

@media (width <= 1000px) {
  .hero {
    height: auto;
    max-height: none;
  }
}

.blogArticle {
  max-width: 1040px;
  margin: auto;
  padding: 5.5rem 5vw 6rem;
}

.blogArticle article {
  background: #fff;
  border: 1px solid #dce4e9;
  box-shadow: 0 18px 55px rgba(16, 36, 53, 0.09);
  padding: clamp(2rem, 4vw, 4rem);
}

.blogArticle h2 {
  max-width: 760px;
  margin: 0 0 1.4rem;
  color: #101820;
  font: 400 clamp(2rem, 4vw, 3.6rem)/1 Georgia, serif;
}

.blogArticle h3 {
  border-top: 1px solid #dce4e9;
  margin: 2.6rem 0 1rem;
  padding-top: 1.7rem;
  color: #101820;
  font: 400 clamp(1.35rem, 2.2vw, 2rem)/1.15 Georgia, serif;
}

.blogArticle p {
  max-width: 780px;
  color: #52616a;
  font-size: 1rem;
  line-height: 1.8;
}

.blogArticle article > p:first-of-type {
  color: #26343d;
  font-size: 1.12rem;
  line-height: 1.75;
}

.blogArticle ul {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.blogArticle li {
  border-left: 3px solid var(--blue);
  background: #f7fafc;
  padding: 1rem 1.15rem;
  color: #52616a;
  line-height: 1.7;
}

.blogArticle li strong {
  color: #101820;
}

.blogCta {
  margin: 3rem 0 0;
}

@media (width <= 720px) {
  .blogArticle {
    padding: 3.5rem 4vw 4rem;
  }

  .blogArticle article {
    padding: 1.55rem;
  }

  .blogArticle p {
    font-size: 0.94rem;
  }
}
