/* =========================================================
   Naples 3D Home – Dark Charcoal + Warm Tan Theme
   Multi-page PHP template • Responsive • Cross-browser
   REVISED: cleaned duplicates + fixed Compare Modal
========================================================= */

:root{
  --bg:#26282B;
  --bg2:#222427;
  --panel:#2B2D30;
  --panel2:#2E3034;
  --stroke: rgba(255,255,255,.12);

  --text:#F2F2F2;
  --muted:#CFCFCF;
  --muted2:#A9A9A9;

  --tan:#DCB792;
  --tan2:#D99253;
  --tan3:#B18A62;

  --shadow: 0 18px 55px rgba(0,0,0,.55);
  --radius: 16px;
  --radius2: 22px;

  --max: 1320px;          /* wider page */
  --maxNarrow: 980px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 600px at 20% -10%, rgba(220,183,146,.06), transparent 55%),
    radial-gradient(700px 500px at 85% 10%, rgba(220,183,146,.04), transparent 60%),
    linear-gradient(180deg, var(--bg2), var(--bg));
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.94; }

.container{ width:min(var(--max), calc(100% - 48px)); margin:0 auto; }
.container--narrow{ width:min(var(--maxNarrow), calc(100% - 48px)); margin:0 auto; }

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

/* Subtle ambient layers */
.bg{ position:fixed; inset:0; z-index:-1; pointer-events:none; }
.bg__glow{
  position:absolute; width:720px; height:720px;
  border-radius:50%;
  filter: blur(70px);
  opacity:.18;
}
.bg__glow--a{ left:-220px; top:120px; background:radial-gradient(circle at 30% 30%, rgba(220,183,146,.25), transparent 65%); }
.bg__glow--b{ right:-240px; top:-160px; background:radial-gradient(circle at 30% 30%, rgba(220,183,146,.18), transparent 65%); }

/* =========================================================
   Header / Nav
========================================================= */
.siteHeader{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(38,40,43,.80);
  border-bottom:1px solid var(--stroke);
}
.navBar{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:14px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand__mark{
  width:30px; height:30px; border-radius:9px;
  background: rgba(220,183,146,.92);
  border:1px solid rgba(220,183,146,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.brand__text{
  font-weight:900;
  letter-spacing:.2px;
}
.brand__sub{ opacity:.72; font-weight:700; }

.navLinks{
  display:flex; align-items:center; gap:16px;
  color: rgba(242,242,242,.78);
}
.navLinks a{
  padding:8px 10px;
  border-radius:12px;
}
.navLinks a:hover{
  background: rgba(0,0,0,.12);
  color:#fff;
}
.navLinks a.is-active{
  color: var(--tan);
  border: 1px solid rgba(220,183,146,.35);
  background: rgba(0,0,0,.10);
}

/* ================================
   Nav Dropdown (Galleries)
================================ */
.navDropdown{
  position: relative;
}
.navDropdown__toggle{
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.navDropdown__toggle:hover,
.navDropdown.is-active .navDropdown__toggle{
  background: rgba(255,255,255,.05);
  color: #fff;
}
.navCaret{
  font-size: 11px;
  opacity: .75;
}
.navDropdown__menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(220,183,146,.35);
  background: rgba(20,21,22,.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0,0,0,.55);
  display: none;
  z-index: 100;
}
.navDropdown__menu a{
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  color: rgba(242,242,242,.88);
}
.navDropdown__menu a:hover{
  background: rgba(220,183,146,.15);
  color: var(--tan);
}
@media (min-width: 860px){
  .navDropdown:hover .navDropdown__menu{ display:block; }
}

.navRight{ display:flex; align-items:center; gap:10px; }

.burger{
  display:none;
  width:44px; height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  cursor:pointer;
}
.burger span{
  display:block; width:18px; height:2px; margin:4px auto;
  background: rgba(255,255,255,.85);
  border-radius:999px;
}
.mobileMenu{
  display:none;
  padding:10px 0 18px;
  border-top:1px solid rgba(255,255,255,.10);
}
.mobileMenu a{
  display:block;
  padding:12px 0;
  color: rgba(242,242,242,.82);
}

/* ================================
   Mobile Galleries Dropdown
================================ */
.mobileDropdown{ display:block; }
.mobileDropdown__toggle{
  width: 100%;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobileCaret{ font-size: 12px; opacity: .75; }
.mobileDropdown__menu{
  padding-left: 12px;
  border-left: 2px solid rgba(220,183,146,.25);
  margin: 4px 0 8px;
}
.mobileDropdown__menu a{
  display: block;
  padding: 10px 12px;
  font-size: 14px;
  color: rgba(242,242,242,.85);
}
.mobileDropdown__menu a:hover{ color: var(--tan); }

/* =========================================================
   Type (serif headline like your screenshot)
========================================================= */
.h1,.h2,.h3,.serif{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 500;
  letter-spacing: .2px;
}
.h1{
  font-size: clamp(38px, 4.6vw, 66px);
  line-height:1.02;
  margin: 10px 0 12px;
  color: var(--tan);
}
.h2{
  font-size: clamp(28px, 3.1vw, 46px);
  margin:0;
  color: var(--tan);
}
.h3{
  font-size: 22px;
  margin:0 0 10px;
  color: var(--tan);
}
.kicker{
  color: rgba(242,242,242,.76);
  letter-spacing:.6px;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 12px;
}
.lead{
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(242,242,242,.74);
  max-width: 72ch;
}
.p{ color: rgba(242,242,242,.74); line-height:1.7; }
.small{ font-size: 13px; color: rgba(242,242,242,.62); }

/* =========================================================
   Buttons (tan outline like screenshot)
========================================================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border-radius: 4px;
  padding:12px 18px;
  border:1px solid rgba(220,183,146,.65);
  background: transparent;
  color: var(--tan);
  cursor:pointer;
  user-select:none;
  letter-spacing:.6px;
  text-transform: uppercase;
  font-weight: 800;
}
.btn:hover{ background: rgba(220,183,146,.92); color: #141516; }
.btn--ghost{
  border-color: rgba(255,255,255,.18);
  color: rgba(242,242,242,.85);
}
.btn--ghost:hover{
  border-color: rgba(220,183,146,.55);
  color: var(--tan);
  background: rgba(0,0,0,.12);
}
.btn--block{ width:100%; }

/* =========================================================
   Sections / Layout helpers
========================================================= */
.section{ padding: 58px 0; }
.section--alt{
  background: rgba(0,0,0,.10);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.sectionHead{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom: 18px;
}
.hr{
  height:1px;
  background: rgba(255,255,255,.10);
  border:0;
  margin: 20px 0;
}

/* =========================================================
   Hero
========================================================= */
.hero{ padding: 70px 0 44px; }
.heroGrid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items:start;
}
.heroCard{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.heroCard__top{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.pills{ display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  padding:7px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.10);
  color: rgba(242,242,242,.80);
  font-weight: 800;
  font-size: 12px;
  cursor:pointer;
}
.pill.is-active{
  border-color: rgba(220,183,146,.55);
  color: var(--tan);
}
.heroCard__body{ padding: 14px; }
.beforeAfter{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.frame{
  position:relative;
  height: 240px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  overflow:hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.frame__tag{
  position:absolute; left:10px; top:10px;
  padding:6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  font-size: 12px;
}
.frame__badge{
  position:absolute; right:10px; bottom:10px;
  padding:7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(220,183,146,.45);
  background: rgba(220,183,146,.92);
  color:#141516;
  font-size: 12px;
  font-weight: 900;
}
.progress{
  height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  overflow:hidden;
  margin-top: 12px;
}
.progress__bar{
  height:100%;
  width: 35%;
  border-radius:999px;
  background: rgba(220,183,146,.92);
  transition: width .45s ease;
}
.heroMeta{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top: 16px;
}
.meta{
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.10);
  border-radius: 10px;
}
.meta__k{ display:block; font-size:12px; color: rgba(242,242,242,.58); }
.meta__v{ display:block; font-weight:900; color: rgba(242,242,242,.90); }

/* =========================================================
   Gallery grids (for all gallery pages)
========================================================= */
.galleryGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.tile{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  border-radius: 10px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.tile__img{
  height: 190px;
  background:
    radial-gradient(240px 180px at 25% 20%, rgba(220,183,146,.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  background-position: center 65%;
  background-size: cover;
}
.tile__img{ cursor: zoom-in; }
.tile__body{ padding: 14px; }
.tile__title{
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--tan);
  font-size: 20px;
  margin:0 0 6px;
}
.tile__text{ color: rgba(242,242,242,.72); line-height:1.6; margin:0; }
.tags{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.10);
  color: rgba(242,242,242,.72);
  font-size: 12px;
  font-weight: 800;
}

/* =========================================================
   Pricing (no monthly/yearly toggle – 3 plans)
========================================================= */
.pricingGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}
.plan{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  border-radius: 8px;
  overflow:hidden;
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.plan__img{
  position:relative;
  height: 210px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.plan__img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}
.plan__ribbon{
  position:absolute;
  top:12px;
  right:12px;
  background: rgba(20,21,22,.85);
  color: var(--tan);
  border: 1px solid rgba(220,183,146,.55);
  padding:8px 12px;
  border-radius: 4px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size:16px;
}
.plan__body{ padding: 18px 18px 14px; }
.plan__name{
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--tan);
  font-size: 34px;
  line-height:1.0;
  margin: 6px 0 6px;
}
.plan__price{
  font-size: 26px;
  font-weight: 900;
  margin: 6px 0 6px;
}
.plan__price small{
  font-weight:700;
  font-size: 14px;
  color: rgba(242,242,242,.70);
}
.plan__sub{
  color: rgba(242,242,242,.70);
  line-height:1.6;
  margin: 0 0 10px;
}
.plan__features{
  padding: 12px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: auto;
}
.plan__features ul{
  margin:0; padding:0; list-style:none;
  display:grid; gap:12px;
}
.plan__features li{
  display:flex; align-items:flex-start; gap:12px;
  color: rgba(242,242,242,.78);
  line-height:1.45;
}
.check{
  width:22px; height:22px; border-radius:999px;
  background: rgba(220,183,146,.92);
  color:#141516;
  display:grid; place-items:center;
  font-weight: 900;
  flex:0 0 auto;
  margin-top: 1px;
}
.plan__cta{ padding: 0 18px 18px; }

/* =========================================================
   Forms
========================================================= */
.formGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.field{ display:flex; flex-direction:column; gap:8px; }
label{ color: rgba(242,242,242,.80); font-weight: 800; font-size: 13px; letter-spacing:.3px; text-transform:uppercase; }
input, textarea, select{
  width:100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.16);
  color: var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{ color: rgba(242,242,242,.45); }
textarea{ min-height: 140px; resize: vertical; }
.formActions{ margin-top: 14px; display:flex; gap:12px; flex-wrap:wrap; }

/* =========================================================
   Blog
========================================================= */
.blogGrid{
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 18px;
  margin-top: 18px;
}
.postCard{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  border-radius: 12px;
  overflow:hidden;
  box-shadow: var(--shadow);
}
.postCard__img{
  height: 220px;
  background:
    radial-gradient(240px 180px at 25% 20%, rgba(220,183,146,.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.postCard__body{ padding: 16px; }
.postMeta{ display:flex; gap:10px; flex-wrap:wrap; color: rgba(242,242,242,.62); font-size: 13px; }
.postTitle{
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--tan);
  font-size: 26px;
  margin: 8px 0 10px;
  line-height:1.1;
}
.sidebarBox{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.sidebarBox a{ color: rgba(242,242,242,.82); }
.sidebarBox a:hover{ color: var(--tan); }

.article{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.article h2{
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--tan);
  font-weight: 500;
}
.article ul{ color: rgba(242,242,242,.78); line-height:1.7; }
.article p{ color: rgba(242,242,242,.74); line-height:1.7; }

/* =========================================================
   Footer
========================================================= */
.siteFooter{
  padding: 46px 0 26px;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
}
.footerGrid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}
.footerCols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.footerCol{
  display:flex; flex-direction:column; gap:10px;
  color: rgba(242,242,242,.70);
}
.footerTitle{ color: rgba(242,242,242,.92); font-weight: 900; margin-bottom: 4px; }
.footerBottom{
  display:flex; justify-content:space-between; align-items:center;
  gap:12px; flex-wrap:wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(242,242,242,.60);
}

/* =========================================================
   404
========================================================= */
.notFound{
  text-align:center;
  padding: 70px 0;
}
.notFound .big{
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 74px;
  color: var(--tan);
  margin: 0;
}

/* =========================================================
   Responsive
========================================================= */
@media (max-width: 980px){
  .heroGrid{ grid-template-columns:1fr; }
  .galleryGrid{ grid-template-columns:1fr; }
  .pricingGrid{ grid-template-columns:1fr; }
  .blogGrid{ grid-template-columns:1fr; }
  .formGrid{ grid-template-columns:1fr; }
  .footerGrid{ grid-template-columns:1fr; }
  .footerCols{ grid-template-columns:1fr; }
}
@media (max-width: 860px){
  .navLinks{ display:none; }
  .burger{ display:inline-block; }
  .mobileMenu{ display:block; }
}

/* Header contact line */
.navContact a:hover{ color: var(--tan); }
@media (max-width: 860px){
  .navContact{ display:none; }
}

/* =========================================================
   Cookie Consent (session-only, elegant)
========================================================= */
.cookieBanner{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:2147483000;
  display:flex;
  justify-content:center;
  pointer-events:none;
}
.cookieCard{
  max-width: 860px;
  width:100%;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding:16px 18px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(28,30,33,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  pointer-events:auto;
}
.cookieText{
  color: rgba(242,242,242,.82);
  line-height:1.55;
  font-size:14px;
}
.cookieText a{
  color: var(--tan);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookieActions{
  display:flex;
  gap:10px;
  flex-shrink:0;
}
.cookieBtn{
  border-radius: 4px;
  padding:10px 16px;
  border:1px solid rgba(220,183,146,.65);
  background: transparent;
  color: var(--tan);
  font-weight:800;
  letter-spacing:.4px;
  text-transform: uppercase;
  cursor:pointer;
}
.cookieBtn:hover{
  background: rgba(220,183,146,.92);
  color:#141516;
}
.cookieBtn--ghost{
  border-color: rgba(255,255,255,.20);
  color: rgba(242,242,242,.80);
}
.cookieBtn--ghost:hover{
  border-color: rgba(220,183,146,.55);
  color: var(--tan);
  background: rgba(0,0,0,.10);
}
@media (max-width: 760px){
  .cookieCard{ flex-direction:column; align-items:flex-start; }
  .cookieActions{ width:100%; justify-content:flex-end; }
}

/* =========================================================
   Lightbox (Gallery Popout)
========================================================= */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 2147483200;
  display: grid;
  place-items: center;
  padding: 18px;
}
.lightbox__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
}
.lightbox__panel{
  position: relative;
  width: min(1200px, 100%);
  max-height: min(86vh, 860px);
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 16px;
  border: 1px solid rgba(220,183,146,.35);
  background: rgba(20,21,22,.92);
  box-shadow: 0 22px 70px rgba(0,0,0,.65);
  overflow: hidden;
  min-height: 0;
}
.lightbox__close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.35);
  color: rgba(242,242,242,.9);
  cursor: pointer;
  z-index: 2;
}
.lightbox__close:hover{
  border-color: rgba(220,183,146,.55);
  color: var(--tan);
  background: rgba(0,0,0,.45);
}
.lightbox__media{
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  min-height: 0;
  cursor: grab;
  background: radial-gradient(700px 420px at 30% 20%, rgba(220,183,146,.12), transparent 60%);
}
.lightbox__media img{
  display:block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.lightbox__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.lightbox__caption{
  font-family: Georgia, "Times New Roman", Times, serif;
  color: var(--tan);
  font-size: 16px;
  line-height: 1.2;
}
.lightbox__nav{ display:flex; gap:8px; }
.lightbox__btn{
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(220,183,146,.35);
  background: rgba(0,0,0,.22);
  color: var(--tan);
  cursor: pointer;
  font-size: 22px;
  font-weight: 900;
}
.lightbox__btn:hover{
  background: rgba(220,183,146,.92);
  color: #141516;
}
@media (max-width: 860px){
  .lightbox{ padding: 10px; }
  .lightbox__panel{ max-height: 88vh; }
  .lightbox__caption{ font-size: 14px; }
}
@media (max-width: 600px){
  .lightbox__btn{ width: 52px; height: 46px; font-size: 24px; }
  .lightbox__close{ width: 46px; height: 46px; font-size: 18px; }
}

/* =========================================================
   Matterport Modal Viewer
========================================================= */
.tile__img[data-matterport]{ cursor: pointer; }
.mpModal{
  position: fixed;
  inset: 0;
  z-index: 2147483300;
  display: grid;
  place-items: center;
  padding: 14px;
}
.mpOverlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
}
.mpPanel{
  position: relative;
  width: min(1400px, 100%);
  height: min(88vh, 860px);
  background: rgba(15,16,17,.95);
  border-radius: 16px;
  border: 1px solid rgba(220,183,146,.35);
  box-shadow: 0 22px 70px rgba(0,0,0,.65);
  overflow: hidden;
}
.mpFrameWrap{ width:100%; height:100%; }
.mpFrameWrap iframe{ width:100%; height:100%; border:0; }
.mpClose{
  position:absolute;
  top:10px; right:10px;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.35);
  color: rgba(242,242,242,.9);
  cursor:pointer;
  z-index:2;
}
.mpClose:hover{ background: rgba(220,183,146,.9); color:#141516; }
@media (max-width: 860px){
  .mpPanel{ height: 92vh; }
}

/* =========================================================
   Vimeo Video Modal
========================================================= */
.tile__img[data-vimeo]{ cursor: pointer; }
.videoModal{
  position: fixed;
  inset: 0;
  z-index: 2147483350;
  display: grid;
  place-items: center;
  padding: 14px;
}
.videoOverlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
}
.videoPanel{
  position: relative;
  width: min(1280px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 16px;
  border: 1px solid rgba(220,183,146,.35);
  box-shadow: 0 22px 70px rgba(0,0,0,.65);
  overflow: hidden;
}
.videoFrameWrap,
.videoFrameWrap iframe{ width:100%; height:100%; }
.videoClose{
  position:absolute;
  top:10px; right:10px;
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.45);
  color: rgba(242,242,242,.9);
  cursor:pointer;
  z-index:2;
}
.videoClose:hover{ background: rgba(220,183,146,.9); color:#141516; }
@media (max-width: 860px){
  .videoPanel{ width: 100%; aspect-ratio: 16 / 9; }
}

/* =========================================================
   Before/After Compare Slider (clean + modal-safe)
========================================================= */
.compare{
  position: relative;
  width: 100%;
  height: clamp(220px, 22vw, 320px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  user-select: none;
  cursor: ew-resize;
  touch-action: none;
}
.compare__img{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 60%;
  background-repeat: no-repeat;
}
.compare__img--after{ clip-path: inset(0 50% 0 0); }

.compare__labels{
  position: absolute;
  inset: 10px 58px auto 10px; /* leaves room for ⤢ */
  display: flex;
  justify-content: space-between;
  gap: 10px;
  z-index: 3;
}
.compare__label{
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(220,183,146,.35);
  background: rgba(20,21,22,.72);
  color: rgba(242,242,242,.92);
  backdrop-filter: blur(8px);
}

.compare__handle{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  z-index: 4;
  pointer-events: none;
}
.compare__line{
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: rgba(220,183,146,.78);
  box-shadow: 0 0 0 1px rgba(0,0,0,.25);
}
.compare__knob{
  position: absolute;
  top: 50%;
  left: -22px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #141516;
  background: rgba(220,183,146,.95);
  border: 1px solid rgba(0,0,0,.25);
  box-shadow: 0 10px 26px rgba(0,0,0,.45);
}

.compare__pop{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 7;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.35);
  color: rgba(242,242,242,.9);
  cursor: pointer;
}
.compare__pop:hover{
  border-color: rgba(220,183,146,.55);
  color: var(--tan);
  background: rgba(0,0,0,.45);
}

/* Keep range for accessibility, but don't block dragging */
.compare__range{
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  height: 34px;
  opacity: 0;
  margin: 0;
  z-index: 6;
  cursor: ew-resize;
}

/* =========================================================
   Compare Modal (ONE definitive block)
========================================================= */
.compareModal{
  position: fixed;
  inset: 0;
  z-index: 2147483450;
  display: grid;
  place-items: center;
  padding: 14px;
}
.compareOverlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  z-index: 0;
}
.comparePanel{
  position: relative;
  z-index: 1;

  width: min(1400px, 100%);
  height: min(88vh, 900px);

  display: grid;
  grid-template-rows: 1fr auto;

  border-radius: 16px;
  border: 1px solid rgba(220,183,146,.35);
  background: rgba(15,16,17,.95);
  box-shadow: 0 22px 70px rgba(0,0,0,.65);
  overflow: hidden;
  min-height: 0;
}
#compareMount{
  height: 100%;
  min-height: 0;
}
.comparePanel #compareMount .compare{
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
}
.compareClose{
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(0,0,0,.45);
  color: rgba(242,242,242,.9);
  cursor: pointer;
}
.compareClose:hover{
  background: rgba(220,183,146,.9);
  color: #141516;
}
.compareCaption{
  margin: 10px 12px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(220,183,146,.25);
  background: rgba(20,21,22,.72);
  color: rgba(242,242,242,.9);
  backdrop-filter: blur(10px);
  font-family: Georgia, "Times New Roman", Times, serif;
}

[hidden] {
  display: none !important;
}
@media (max-width: 600px){
  .lightbox__btn{
    width: 52px;
    height: 46px;
    font-size: 24px;
  }
  .lightbox__close{
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
}
.compare__labels{
  right: 58px; /* leaves room for the ⤢ button */
}
/* =========================================================
   360 Viewer Fullscreen Embed
========================================================= */
.viewer360{
  position: relative;
  width: 100vw;
  height: calc(100vh - 80px); /* subtract header height */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  overflow: hidden;
}

.viewer360 iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Mobile: give it more vertical room */
@media (max-width: 860px){
  .viewer360{
    height: calc(100vh - 64px);
  }
}
/* =========================================================
   360 Viewer – Full viewport (fixes "tiny iframe")
========================================================= */
.viewer360Full{
  position: relative;
  width: 100vw;
  height: 100vh;                 /* <-- force real height */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  overflow: hidden;
}

/* If your header is sticky, offset the viewer so it isn't covered */
.siteHeader + .viewer360Full{
  height: calc(100vh - 78px);    /* adjust 78px to your header height */
}

.viewer360Full iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Post card image: CONTAIN (no crop) */
.postCard__img{
  width: 100%;
  aspect-ratio: 16 / 9;          /* adjust: 4/3, 1/1, etc */
  background: #0b0b0c;           /* shows behind letterboxing */
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.postCard__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;           /* ✅ contain */
  object-position: center;
  display: block;
}
.article__img{
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #0b0b0c;
  border: 1px solid rgba(255,255,255,.10);
  margin-bottom: 18px;
}
.article__img img{
  width: 100%;
  height: 100%;
  object-fit: cover;   /* ✅ contain */
  object-position: center;
  display: block;
}
.article__img--placeholder{
  height: 220px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(240px 180px at 25% 20%, rgba(220,183,146,.18), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  margin-bottom: 18px;
}
.plan__features{
  max-height: 320px;
  overflow: auto;
}
.plan{display:flex;flex-direction:column;height:100%}
.plan__features{flex:1}
.plan__cta{margin-top:auto}

/* =========================================================
   PRICING GRID — aligned cards (no images required)
========================================================= */

.pricingGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 18px;
  align-items: stretch;
}

/* Responsive */
@media (max-width: 1100px){
  .pricingGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px){
  .pricingGrid{ grid-template-columns: 1fr; }
}

/* IMPORTANT: headings/paragraphs inside the grid were breaking alignment.
   Make them span full width so they don't occupy a "card slot". */
.pricingGrid > h2,
.pricingGrid > p{
  grid-column: 1 / -1;
  margin: 0;
}

/* Card shell */
.plan{
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(540px 240px at 20% 0%, rgba(220,183,146,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 18px 42px rgba(0,0,0,.45);
  overflow: hidden;

  /* THIS is what aligns everything */
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

/* Remove gap if plan__img doesn't exist */
.plan__img{ display:none; }

/* “Magazine header” band even without an image */
.plan::before{
  content:"";
  display:block;
  height: 120px;
  background:
    radial-gradient(340px 180px at 20% 25%, rgba(170,132,83,.22), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(0,0,0,.18));
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Ribbon still works if you keep .plan__ribbon in HTML (inside plan__img before).
   If you REMOVE ribbons too, ignore this. If you KEEP ribbons elsewhere, this helps. */
.plan__ribbon{
  position:absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1a120a;
  background: linear-gradient(90deg, #d7b48a, #aa8453);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* Body */
.plan__body{
  padding: 16px 18px 12px;
  margin-top: -96px; /* pulls text into the header band */
  position: relative;
  z-index: 1;
}

.plan__name{
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.plan__price{
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  margin: 0 0 10px 0;
}

.plan__price small{
  font-size: 13px;
  font-weight: 700;
  opacity: .75;
  margin-left: 6px;
}

.plan__sub{
  margin: 0;
  opacity: .80;
  font-size: 14px;
  line-height: 1.4;
}

/* Features: let this section grow to equalize card heights */
.plan__features{
  padding: 12px 18px 10px;
  flex: 1;              /* KEY: equal height cards + CTA pinned bottom */
  display: flex;
}

.plan__features ul{
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: grid;
  gap: 8px;
}

.plan__features li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  font-size: 14px;
  line-height: 1.35;
  opacity: .92;
}

.plan__features .check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  flex: 0 0 18px;
  font-size: 12px;
  color: #1a120a;
  background: linear-gradient(180deg, rgba(215,180,138,.95), rgba(170,132,83,.95));
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* CTA pinned to bottom of each card */
.plan__cta{
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.btn.btn--block{
  display: inline-flex;
  width: 100%;
  justify-content: center;
}

/* Optional: small hover lift */
.plan:hover{
  transform: translateY(-2px);
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 22px 52px rgba(0,0,0,.55);
}
/* ================================
   HOME ONLY: contain "blown out" images
   Scope: body.index (index.php)
================================== */

body.index .imageCard__frame{
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  /* optional glow frame */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 18px 50px rgba(0,0,0,.55),
    0 0 36px rgba(170,132,83,.22);
}

/* hero image: always fills frame nicely */
body.index .imageCard__frame img{
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
}

/* if you want a fixed hero image height (optional) */
@media (min-width: 860px){
  body.index .imageCard__frame{ height: 420px; }
}
@media (max-width: 859px){
  body.index .imageCard__frame{ height: 260px; }
}

/* --- tiles (the 3 service cards) --- */

/* make the image area a fixed "magazine" box */
body.index .tile__img{
  height: 190px;          /* adjust to taste */
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,.03);
}

/* contain all tile images */
body.index .tile__img img{
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);               /* subtle premium look */
  filter: contrast(1.03) saturate(1.03);
}

/* optional: soft top gradient like magazine cover */
body.index .tile__img::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.22),
    rgba(0,0,0,0) 55%);
}

/* keep tile layout stable */
body.index .tile{
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* HOME ONLY — hard constrain the hero image */
body.index .imageCard{
  width: 100%;
  max-width: 560px;           /* optional */
  margin-left: auto;          /* keeps it neat in the right column */
}

body.index .imageCard__frame{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;      /* magazine-style crop (adjust if you want) */
  overflow: hidden;
  border-radius: 18px;

  /* your gold glow frame */
  box-shadow:
    0 0 0 1px rgba(255,255,255,.10),
    0 16px 50px rgba(0,0,0,.55),
    0 0 34px rgba(170,132,83,.25);
}

/* This is the key: force the img to fill the frame */
body.index .imageCard__frame > img{
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* optional: subtle top shading like a magazine cover */
body.index .imageCard__frame::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: linear-gradient(to bottom, rgba(0,0,0,.22), rgba(0,0,0,0) 55%);
}
