:root{
  --bg:#0b0f12;
  --card:#12181b;
  --card-2:#151c20;
  --text:#f3ead7;
  --muted:#b9aa8a;
  --gold:#d3a342;
  --gold-2:#f0cf7a;
  --gold-dark:#9f7932;
  --line:rgba(203,154,60,.42);
  --line-strong:rgba(224,183,96,.72);
  --shadow:0 18px 46px rgba(0,0,0,.34);
  --radius:14px;
  --radius-sm:9px;
  --font:Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif:Georgia, "Times New Roman", serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:var(--font);
  background:
    radial-gradient(circle at 72% 14%, rgba(203,154,60,.06), transparent 28%),
    linear-gradient(180deg, #0c1013 0%, #090d0f 100%);
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(90deg, rgba(203,154,60,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(203,154,60,.025) 1px, transparent 1px);
  background-size:72px 72px;
  opacity:.35;
  z-index:-1;
}

a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
button:disabled{cursor:not-allowed;opacity:.55}
img{max-width:100%;display:block}

:focus-visible{
  outline:2px solid var(--gold-2);
  outline-offset:3px;
}

.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;
}

.hidden{display:none!important}
.shell{
  width:min(1180px, calc(100% - 32px));
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  width:min(1540px, calc(100% - 18px));
  min-height:86px;
  margin:10px auto 0;
  padding:13px 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  border:1px solid var(--line);
  border-radius:0 0 var(--radius) var(--radius);
  background:rgba(14,19,22,.97);
  box-shadow:0 14px 40px rgba(0,0,0,.3);
}

.site-header::after{
  content:"";
  position:absolute;
  right:18px;
  bottom:-1px;
  left:18px;
  height:1px;
  background:linear-gradient(90deg, transparent, rgba(240,207,122,.56), transparent);
  pointer-events:none;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:210px;
}

.brand-logo{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:
    brightness(0)
    saturate(100%)
    invert(76%)
    sepia(44%)
    saturate(1031%)
    hue-rotate(357deg)
    brightness(91%)
    contrast(87%)
    drop-shadow(0 4px 13px rgba(211,163,66,.18));
}

.brand-text{
  color:var(--gold);
  font-family:var(--serif);
  font-size:19px;
  line-height:.9;
  letter-spacing:.08em;
}

.brand-text small{
  font-family:var(--font);
  font-size:10px;
  letter-spacing:.36em;
}

.site-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
}

.site-nav a,
.nav-button{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:9px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#11171a;
  color:#eee3cb;
  font-weight:700;
  box-shadow:inset 0 1px rgba(255,255,255,.025);
}

.site-nav a:hover,
.site-nav a.active,
.nav-button:hover{
  border-color:var(--gold-2);
  background:#1a2023;
  color:#fff4d7;
}

.nav-login{
  border-color:#e5bb5a!important;
  background:#d3a342!important;
  color:#171108!important;
}

.mobile-nav-toggle{
  display:none;
  width:48px;
  height:48px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:6px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#11171a;
}

.mobile-nav-toggle span:not(.sr-only){
  width:24px;
  height:2px;
  background:var(--gold-2);
}

.hero{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(360px, .95fr);
  gap:24px;
  min-height:560px;
  padding:72px 0 34px;
}

.hero-copy{
  align-self:center;
  padding:36px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:
    linear-gradient(145deg, rgba(211,163,66,.05), transparent 42%),
    rgba(18,24,27,.94);
  box-shadow:var(--shadow);
}

.eyebrow{
  margin:0 0 12px;
  color:var(--gold-2);
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-size:12px;
}

h1,h2,h3{
  font-family:var(--serif);
  line-height:1.08;
  letter-spacing:.01em;
}

h1{
  margin:0;
  font-size:clamp(40px, 6vw, 76px);
  font-weight:500;
}

h2{
  margin:0 0 10px;
  font-size:clamp(25px, 3vw, 34px);
  font-weight:500;
}

p{line-height:1.65}
.hero-text{
  max-width:680px;
  color:var(--muted);
  font-size:18px;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:28px;
}

.btn{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#11171a;
  color:var(--text);
  font-weight:800;
  box-shadow:inset 0 1px rgba(255,255,255,.025);
}

.btn:hover{
  border-color:var(--gold-2);
  background:#1a2023;
  color:#fff4d8;
}

.btn-primary{
  border-color:#e5bb5a;
  background:#d3a342;
  color:#171108;
}

.btn-primary:hover{
  background:#e2b958;
  color:#120e07;
}

.btn-danger{
  border-color:rgba(237,99,99,.7);
  color:#ffd8d8;
}

.btn-danger:hover{background:rgba(130,22,22,.38)}

.hero-panel{
  position:relative;
  min-height:520px;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#101619;
  box-shadow:var(--shadow);
}

.hero-panel::after{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(240,207,122,.22);
  border-radius:11px;
  pointer-events:none;
}

.decor{
  position:absolute;
  pointer-events:none;
  opacity:.18;
  background:var(--gold);
}

.decor-villa{
  right:-90px;
  bottom:20px;
  width:560px;
  height:390px;
  -webkit-mask:url("../images/decor/dashboard-villa.png") center / contain no-repeat;
  mask:url("../images/decor/dashboard-villa.png") center / contain no-repeat;
}

.decor-skyline{
  left:38px;
  bottom:44px;
  width:210px;
  height:260px;
  opacity:.16;
  -webkit-mask:url("../images/decor/sidebar-skyline.png") center / contain no-repeat;
  mask:url("../images/decor/sidebar-skyline.png") center / contain no-repeat;
}

.hero-card{
  position:absolute;
  top:42px;
  right:42px;
  left:42px;
  padding:22px;
  border:1px solid var(--line-strong);
  border-radius:12px;
  background:rgba(18,24,27,.92);
}

.hero-card-label{
  display:block;
  margin-bottom:10px;
  color:var(--gold-2);
  font-size:12px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.hero-card strong{
  display:block;
  margin-bottom:8px;
  font-family:var(--serif);
  font-size:34px;
}

.hero-card span:last-child{color:var(--muted)}

.section-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:16px;
  padding:22px 0 44px;
}

.info-card,
.card,
.contact-panel,
.page-head,
.toolbar,
.asset-detail,
.empty-state{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#12181b;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}

.info-card{
  padding:24px;
}

.card-icon{
  display:inline-grid;
  place-items:center;
  width:38px;
  height:38px;
  margin-bottom:18px;
  border:1px solid var(--line);
  border-radius:9px;
  color:var(--gold-2);
}

.info-card p,
.contact-panel p,
.page-head p,
.muted{color:var(--muted)}

.contact-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:42px;
  padding:28px;
}

.page-shell{padding:44px 0}

.page-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
  padding:26px;
}

.page-head h1{
  font-size:clamp(36px, 5vw, 58px);
}

.toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:18px;
  padding:12px;
}

.segmented{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.chip{
  min-height:40px;
  min-width:112px;
  padding:8px 18px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#11171a;
  color:#eee3cb;
  font-family:Georgia, "Times New Roman", serif;
  font-size:14px;
  font-weight:800;
}

.chip:hover,
.chip.active{
  border-color:#e5bb5a;
  background:#d3a342;
  color:#171108;
}

.search-wrap{
  min-width:min(360px, 100%);
  flex:1 1 420px;
}
input,textarea,select{
  width:100%;
  min-height:42px;
  padding:10px 12px;
  border:1px solid rgba(203,154,60,.42);
  border-radius:8px;
  background:#0e1417;
  color:var(--text);
}
textarea{resize:vertical}
input:focus,textarea:focus,select:focus{
  border-color:var(--gold-2);
  box-shadow:0 0 0 3px rgba(211,163,66,.16);
}
label span{
  display:block;
  margin-bottom:7px;
  color:#e9d9b4;
  font-weight:800;
}

.assets-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
}

.asset-card{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(203,154,60,.34);
  border-radius:var(--radius);
  background:#12181b;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  transition:border-color .16s ease, background .16s ease;
}

.asset-card:hover{
  border-color:rgba(240,207,122,.72);
  background:#171e22;
}

.asset-card-actions{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  display:flex;
  gap:6px;
}

.asset-card-action{
  min-width:34px;
  min-height:34px;
  padding:5px 8px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#11171a;
  color:#eee3cb;
  font-weight:900;
  box-shadow:0 8px 18px rgba(0,0,0,.35);
}

.asset-card-action:hover,
.asset-card-action.has-note{
  border-color:#e5bb5a;
  background:#d3a342;
  color:#171108;
}

.asset-card-action:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.asset-card-note{
  min-width:42px;
}

.plain-button,
.asset-card-link{
  width:100%;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
}

.asset-card-image,
.asset-placeholder{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
  background:#0d1215;
}

.asset-placeholder{
  display:grid;
  place-items:center;
  color:var(--gold-2);
  border-bottom:1px solid rgba(203,154,60,.25);
}

.asset-card-body{padding:18px}
.asset-card h2{
  margin:0 0 8px;
  font-size:25px;
}
.asset-card-meta{
  color:var(--muted);
  margin-bottom:12px;
  font-weight:700;
}
.asset-facts{
  margin:0 0 18px;
  padding-left:20px;
  color:#f0e6d1;
}
.asset-facts li+li{margin-top:5px}
.asset-more{
  color:#6be3d5;
  font-weight:900;
}

.asset-detail{
  margin-bottom:18px;
  padding:18px;
}

.asset-detail-layout{
  display:grid;
  grid-template-columns:minmax(0, 1.1fr) minmax(320px, .9fr);
  gap:22px;
}

.asset-hero-image,
.asset-detail-placeholder{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border:1px solid rgba(203,154,60,.35);
  border-radius:12px;
  background:#0d1215;
}

.asset-detail-placeholder{
  display:grid;
  place-items:center;
  color:var(--gold-2);
}

.asset-thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.asset-thumbs button{
  width:72px;
  height:56px;
  overflow:hidden;
  padding:0;
  border:1px solid rgba(203,154,60,.38);
  border-radius:8px;
  background:#0e1417;
}

.asset-thumbs img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.asset-detail h2{
  margin-top:0;
  font-size:clamp(30px, 4vw, 46px);
}

.param-list{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  margin-top:18px;
}

.param-item{
  padding:11px;
  border:1px solid rgba(203,154,60,.25);
  border-radius:9px;
  background:#0f1518;
}

.param-item strong{
  display:block;
  margin-bottom:3px;
  color:var(--gold-2);
}

.empty-state{
  padding:28px;
  color:var(--muted);
  text-align:center;
}

.site-footer{
  width:min(1540px, calc(100% - 18px));
  margin:0 auto 10px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  color:var(--muted);
  border:1px solid var(--line);
  border-radius:var(--radius) var(--radius) 0 0;
  background:#0e1417;
}

.auth-page{
  min-height:100vh;
  display:grid;
  place-items:center;
  padding:24px;
}

.auth-shell{
  width:min(460px, 100%);
}

.auth-brand{
  justify-content:center;
  margin-bottom:18px;
}

.auth-card{
  padding:26px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#12181b;
  box-shadow:var(--shadow);
}

.form-stack{
  display:grid;
  gap:14px;
}

.form-message{
  min-height:24px;
  color:var(--gold-2);
  font-weight:800;
}

.back-link{
  display:inline-block;
  margin-top:14px;
  color:var(--muted);
}

.admin-layout{
  display:grid;
  grid-template-columns:260px minmax(0, 1fr) 280px;
  gap:18px;
  align-items:start;
}

.admin-layout.editor-only{
  grid-template-columns:260px minmax(0, 1fr);
}

.admin-list-panel,
.admin-editor,
.account-panel{
  min-width:0;
}

.admin-list-panel{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#12181b;
}

.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:16px;
  border-bottom:1px solid rgba(203,154,60,.22);
}

.panel-head h2{
  margin:0;
  font-size:24px;
}

.admin-list{
  display:grid;
  gap:8px;
  max-height:70vh;
  overflow:auto;
  padding:12px;
}

.admin-list-item{
  width:100%;
  padding:12px;
  text-align:left;
  border:1px solid rgba(203,154,60,.25);
  border-radius:9px;
  background:#0f1518;
  color:var(--text);
}

.admin-list-item:hover,
.admin-list-item.active{
  border-color:var(--gold-2);
  background:rgba(211,163,66,.1);
}

.admin-list-item strong{display:block}
.admin-list-item span{color:var(--muted);font-size:13px}

.admin-editor,
.account-panel{
  padding:18px;
}

.admin-form{
  display:grid;
  gap:16px;
}

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

.editor-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.image-manager{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid rgba(203,154,60,.22);
}

.upload-form{
  display:flex;
  gap:10px;
  align-items:center;
  margin:14px 0;
}

.image-list{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(130px, 1fr));
  gap:10px;
}

.admin-image{
  overflow:hidden;
  border:1px solid rgba(203,154,60,.3);
  border-radius:9px;
  background:#0f1518;
}

.admin-image.is-cover{
  border-color:#e5bb5a;
  box-shadow:0 0 0 1px rgba(229,187,90,.24);
}

.admin-image img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}

.admin-image-meta{
  padding:8px 9px;
  color:var(--gold-2);
  font-size:12px;
  font-weight:900;
  text-align:center;
  border-top:1px solid rgba(203,154,60,.25);
}

.admin-image button{
  width:100%;
  min-height:36px;
  border:0;
  border-top:1px solid rgba(203,154,60,.25);
  background:#11171a;
  color:#ffd8d8;
  font-weight:800;
}

.admin-image .admin-image-cover-btn{
  background:#d3a342;
  color:#171108;
}

.compact-form{
  margin-bottom:16px;
}

.users-list{
  display:grid;
  gap:8px;
}

.user-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:10px;
  border:1px solid rgba(203,154,60,.25);
  border-radius:9px;
  background:#0f1518;
}

.user-row strong{display:block}
.user-row span{color:var(--muted);font-size:12px}
.user-row button{min-height:34px;padding:6px 10px}

@media (max-width:1100px){
  .hero,
  .asset-detail-layout,
  .admin-layout{
    grid-template-columns:1fr;
  }
  .section-grid,
  .assets-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
  .admin-list{max-height:none}
}

@media (max-width:760px){
  .shell{width:min(100% - 20px, 1180px)}
  .site-header{
    width:calc(100% - 12px);
    align-items:center;
    min-height:70px;
    margin-top:6px;
  }
  .brand{min-width:0}
  .brand-logo{width:46px;height:46px}
  .brand-text{font-size:15px}
  .mobile-nav-toggle{display:flex}
  .site-nav{
    position:absolute;
    top:calc(100% + 8px);
    right:0;
    left:0;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:10px;
    border:1px solid var(--line);
    border-radius:12px;
    background:#0e1417;
  }
  .site-nav.open{display:flex}
  .site-nav a,
  .nav-button{width:100%;justify-content:flex-start}
  .hero{
    grid-template-columns:1fr;
    min-height:0;
    padding:26px 0;
  }
  .hero-copy{padding:24px}
  .hero-panel{min-height:320px}
  .hero-card{inset:26px 22px auto}
  .decor-villa{right:-180px;width:520px}
  .section-grid,
  .assets-grid,
  .form-grid,
  .param-list{
    grid-template-columns:1fr;
  }
  .contact-panel,
  .page-head,
  .toolbar,
  .upload-form{
    align-items:stretch;
    flex-direction:column;
  }
  .search-wrap{min-width:0}
  .page-shell{padding:24px 0}
  .site-footer{width:calc(100% - 12px);flex-direction:column}
}

/* Peteinou public-site updates */
.home-intro{
  padding:58px 0 24px;
  text-align:center;
}

.home-intro h1{
  width:min(920px, 100%);
  margin:0 auto;
}

.home-intro .hero-text{
  margin:18px auto 0;
}

.contact-strip{
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:22px;
  margin-top:34px;
  margin-bottom:24px;
  padding:18px 22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:
    linear-gradient(120deg, rgba(211,163,66,.07), transparent 34%),
    #12181b;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}

.contact-photo-wrap{
  width:92px;
  height:92px;
  padding:4px;
  border:1px solid var(--line-strong);
  border-radius:50%;
  background:rgba(211,163,66,.08);
}

.contact-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
}

.contact-copy h2{
  margin:0;
  font-size:clamp(24px, 3vw, 34px);
}

.contact-copy p{
  margin:0;
  color:var(--muted);
  font-weight:800;
}

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

.contact-mainline{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 18px;
}

.contact-mainline p{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:0;
}

.contact-separator{
  margin:0 9px;
  color:var(--gold-dark);
}

.service-actions{
  position:relative;
  margin-bottom:48px;
  padding-right:110px;
}

.service-card-row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:16px;
}

.service-card{
  min-height:148px;
  padding:22px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#12181b;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  text-align:center;
  transition:border-color .16s ease, background .16s ease, transform .16s ease;
}

.service-card:hover{
  transform:translateY(-2px);
  border-color:rgba(240,207,122,.72);
  background:#171e22;
}

.service-card h2{
  margin:0 0 8px;
  font-size:clamp(28px, 4vw, 42px);
}

.service-card p{
  margin:0;
  color:var(--muted);
}

.service-card-centered{
  display:block;
  width:min(460px, 100%);
  margin:16px auto 0;
  text-align:center;
}

.service-card-centered .card-icon{
  margin-right:auto;
  margin-left:auto;
}

.service-lineart{
  position:absolute;
  top:22px;
  right:340px;
  width:600px;
  height:500px;
  pointer-events:none;
  opacity:.19;
  background:var(--gold);
  -webkit-mask:url("../images/decor/dashboard-villa.png") center / contain no-repeat;
  mask:url("../images/decor/dashboard-villa.png") center / contain no-repeat;
}

.filter-stack{
  width:100%;
  display:grid;
  gap:10px;
  min-width:0;
}

.filter-row{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}

.category-filter{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}

.category-chip{
  min-height:40px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#11171a;
  color:#eee3cb;
  font-family:Georgia, "Times New Roman", serif;
  font-size:13px;
  font-weight:800;
  text-align:left;
}

.category-filter-toggle{
  display:none;
}

.category-chip:hover,
.category-chip.active{
  border-color:#e5bb5a;
  background:#d3a342;
  color:#171108;
}

.detail-image-button{
  display:block;
}

.image-lightbox{
  position:fixed;
  inset:0;
  z-index:100;
  display:grid;
  place-items:center;
  padding:28px;
  background:rgba(0,0,0,.82);
}

.lightbox-stage{
  width:min(1280px, 96vw);
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:14px;
}

.lightbox-content{
  display:grid;
  justify-items:center;
  gap:10px;
  min-width:0;
}

.image-lightbox img{
  max-width:min(1200px, 94vw);
  max-height:88vh;
  object-fit:contain;
  border:1px solid var(--line-strong);
  border-radius:12px;
  background:#07090a;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
}

.lightbox-caption{
  min-height:22px;
  color:#eee3cb;
  font-weight:800;
  text-align:center;
}

.lightbox-nav{
  width:48px;
  height:64px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#11171a;
  color:var(--gold-2);
  font-size:44px;
  line-height:1;
  box-shadow:0 16px 50px rgba(0,0,0,.35);
}

.lightbox-nav:hover{
  border-color:#e5bb5a;
  background:#d3a342;
  color:#171108;
}

.lightbox-close{
  position:absolute;
  top:18px;
  right:22px;
  width:46px;
  height:46px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#11171a;
  color:var(--gold-2);
  font-size:32px;
  line-height:1;
}

.lightbox-open{
  overflow:hidden;
}

.note-open{
  overflow:hidden;
}

.note-modal{
  position:fixed;
  inset:0;
  z-index:110;
  display:grid;
  place-items:center;
  padding:22px;
  background:rgba(0,0,0,.72);
}

.note-card{
  width:min(620px, 100%);
  display:grid;
  gap:16px;
  padding:20px;
  border:1px solid var(--line-strong);
  border-radius:var(--radius);
  background:#12181b;
  color:var(--text);
  box-shadow:0 28px 90px rgba(0,0,0,.55);
}

.note-card-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  padding-bottom:12px;
  border-bottom:1px solid rgba(203,154,60,.25);
}

.note-card h2{
  margin:4px 0 0;
  font-size:clamp(26px, 4vw, 38px);
}

.note-close{
  width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#11171a;
  color:var(--gold-2);
  font-size:28px;
  line-height:1;
}

.note-card textarea{
  min-height:180px;
}

.note-message{
  min-height:20px;
  margin:0;
  color:var(--gold-2);
  font-weight:800;
}

.note-actions{
  display:flex;
  justify-content:flex-end;
  gap:10px;
}

.asset-param-editor{
  display:grid;
  gap:12px;
  padding:0;
  border:1px solid rgba(203,154,60,.22);
  border-radius:var(--radius-sm);
  background:#0f1518;
}

.inline-panel-head,
.compact-head{
  border-bottom:1px solid rgba(203,154,60,.22);
}

.inline-panel-head p{
  margin:6px 0 0;
}

.parameter-rows{
  display:grid;
  gap:10px;
  padding:14px;
}

.parameter-row{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) auto;
  gap:10px;
  align-items:end;
  padding:10px;
  border:1px solid rgba(203,154,60,.25);
  border-radius:9px;
  background:#12181b;
}

.param-remove-btn{
  min-height:42px;
}

.settings-panel{
  padding-bottom:18px;
  margin-bottom:18px;
  border-bottom:1px solid rgba(203,154,60,.22);
}

.admin-contact-preview{
  width:118px;
  height:118px;
  object-fit:cover;
  border:1px solid var(--line-strong);
  border-radius:50%;
  margin:10px auto 0;
}

.contact-page .contact-strip{
  margin-top:0;
}

.contact-page{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.contact-page .contact-strip,
.office-location-strip{
  grid-column:1 / -1;
}

.office-location-strip{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:14px 18px;
  min-height:96px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#12181b;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  text-align:center;
}

.office-location-strip p{
  margin:0;
  color:#eee3cb;
  font-family:Georgia, "Times New Roman", serif;
  font-size:clamp(22px, 3vw, 38px);
  font-weight:800;
  line-height:1.18;
}

.office-location-strip .btn{
  flex:0 0 auto;
}

.map-panel{
  display:grid;
  grid-template-columns:minmax(280px, .62fr) minmax(0, 1fr);
  gap:18px;
  align-items:stretch;
  padding:20px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#12181b;
  box-shadow:0 12px 34px rgba(0,0,0,.22);
}

.contact-page > .map-panel{
  grid-template-columns:1fr;
  padding:16px;
}

.contact-page > .map-panel .map-copy{
  display:none;
}

.map-panel-stacked{
  grid-template-columns:1fr;
  justify-items:center;
  margin-top:0;
}

.map-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:340px;
}

.centered-copy{
  min-height:auto;
  max-width:760px;
  text-align:center;
  align-items:center;
}

.map-copy h1{
  margin:0 0 12px;
  font-size:clamp(34px, 5vw, 58px);
}

.map-frame-wrap{
  min-height:380px;
  overflow:hidden;
  border:1px solid rgba(203,154,60,.34);
  border-radius:12px;
  background:#0e1417;
}

.map-frame-wrap-centered{
  width:100%;
}

.map-frame{
  width:100%;
  height:100%;
  min-height:380px;
  border:0;
  display:block;
}

.map-placeholder{
  height:100%;
  min-height:380px;
  display:grid;
  place-items:center;
  padding:22px;
  color:var(--muted);
  text-align:center;
}

.site-footer{
  display:none;
}

body[data-theme="light"]{
  --bg:#ffffff;
  --card:#ffffff;
  --card-2:#f8f5ee;
  --text:#15120d;
  --muted:#695f4b;
  --line:rgba(170,122,35,.44);
  --line-strong:rgba(190,139,42,.74);
  --shadow:0 18px 46px rgba(117,88,32,.12);
  color:#15120d;
  background:
    radial-gradient(circle at 72% 14%, rgba(203,154,60,.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8f5ee 100%);
}

body[data-theme="light"]::before{
  background:
    linear-gradient(90deg, rgba(170,122,35,.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(170,122,35,.06) 1px, transparent 1px);
}

body[data-theme="light"] .site-header,
body[data-theme="light"] .site-footer,
body[data-theme="light"] .contact-strip,
body[data-theme="light"] .office-location-strip,
body[data-theme="light"] .map-panel,
body[data-theme="light"] .service-card,
body[data-theme="light"] .info-card,
body[data-theme="light"] .card,
body[data-theme="light"] .page-head,
body[data-theme="light"] .toolbar,
body[data-theme="light"] .asset-detail,
body[data-theme="light"] .empty-state,
body[data-theme="light"] .asset-card,
body[data-theme="light"] .auth-card,
body[data-theme="light"] .admin-list-panel{
  background:#ffffff;
  color:#15120d;
  border-color:var(--line);
  box-shadow:var(--shadow);
}

body[data-theme="light"] .site-nav a,
body[data-theme="light"] .nav-button,
body[data-theme="light"] .btn,
body[data-theme="light"] .chip,
body[data-theme="light"] .category-chip,
body[data-theme="light"] .asset-card-action,
body[data-theme="light"] .mobile-nav-toggle,
body[data-theme="light"] .admin-list-item,
body[data-theme="light"] .param-item,
body[data-theme="light"] .parameter-row,
body[data-theme="light"] .asset-param-editor,
body[data-theme="light"] .user-row,
body[data-theme="light"] .admin-image,
body[data-theme="light"] .asset-placeholder,
body[data-theme="light"] .asset-detail-placeholder,
body[data-theme="light"] .map-frame-wrap,
body[data-theme="light"] .map-placeholder{
  background:#fffdf8;
  color:#15120d;
  border-color:var(--line);
}

body[data-theme="light"] .site-nav a:hover,
body[data-theme="light"] .site-nav a.active,
body[data-theme="light"] .nav-button:hover,
body[data-theme="light"] .btn:hover,
body[data-theme="light"] .asset-card:hover,
body[data-theme="light"] .service-card:hover,
body[data-theme="light"] .admin-list-item:hover,
body[data-theme="light"] .admin-list-item.active{
  background:#f4ead5;
  color:#15120d;
  border-color:var(--line-strong);
}

body[data-theme="light"] .btn-primary,
body[data-theme="light"] .chip.active,
body[data-theme="light"] .category-chip.active,
body[data-theme="light"] .asset-card-action:hover,
body[data-theme="light"] .asset-card-action.has-note{
  border-color:#b8872d;
  background:#d3a342;
  color:#15120d;
}

body[data-theme="light"] input,
body[data-theme="light"] textarea,
body[data-theme="light"] select{
  background:#ffffff;
  color:#15120d;
  border-color:var(--line);
}

body[data-theme="light"] label span,
body[data-theme="light"] .asset-facts,
body[data-theme="light"] .site-nav a,
body[data-theme="light"] .nav-button{
  color:#15120d;
}

body[data-theme="light"] .muted,
body[data-theme="light"] .asset-card-meta,
body[data-theme="light"] .service-card p,
body[data-theme="light"] .contact-copy p,
body[data-theme="light"] .office-location-strip p,
body[data-theme="light"] .page-head p,
body[data-theme="light"] .site-footer{
  color:#695f4b;
}

body[data-theme="light"] .brand-logo{
  filter:
    brightness(0)
    saturate(100%)
    invert(53%)
    sepia(66%)
    saturate(559%)
    hue-rotate(1deg)
    brightness(91%)
    contrast(92%)
    drop-shadow(0 4px 13px rgba(185,135,45,.18));
}

body[data-theme="light"] .site-nav.open{
  background:#fffdf8;
}

body[data-theme="light"] .image-lightbox{
  background:rgba(255,255,255,.88);
}

body[data-theme="light"] .note-modal{
  background:rgba(255,255,255,.78);
}

body[data-theme="light"] .note-card{
  background:#fffdf8;
  color:#15120d;
}

body[data-theme="light"] .note-close{
  background:#ffffff;
  color:#15120d;
}

@media (max-width:1100px){
  .service-actions{
    padding-right:0;
  }
  .service-lineart{
    right:0;
    top:120px;
    width:180px;
    height:170px;
    opacity:.12;
  }
}

@media (max-width:760px){
  .home-intro{
    padding:30px 0 16px;
    text-align:left;
  }
  .contact-strip{
    grid-template-columns:1fr;
    text-align:center;
  }
  .contact-page{
    grid-template-columns:1fr;
  }
  .contact-photo-wrap{
    margin:0 auto;
  }
  .contact-separator{
    display:none;
  }
  .contact-mainline,
  .contact-mainline p{
    justify-content:center;
  }
  .contact-copy a{
    display:inline-block;
  }
  .service-card-row{
    grid-template-columns:1fr;
  }
  .service-card{
    min-height:130px;
  }
  .service-lineart{
    display:none;
  }
  .filter-row,
  .map-panel{
    grid-template-columns:1fr;
    flex-direction:column;
    align-items:stretch;
  }
  .filter-row{
    gap:10px;
  }
  .filter-row .segmented{
    width:100%;
  }
  .filter-row .chip{
    flex:1 1 0;
    min-width:0;
  }
  .filter-row .btn,
  .filter-row .search-wrap{
    width:100%;
  }
  .filter-row .search-wrap{
    flex:0 0 auto;
    min-width:0;
  }
  .category-filter{
    display:flex;
    flex-wrap:wrap;
  }
  .category-filter:not(.is-expanded) .category-extra{
    display:none;
  }
  .category-chip{
    width:calc((100% - 7px) / 2);
    flex:0 0 calc((100% - 7px) / 2);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:9px 8px;
    line-height:1.12;
    text-align:center;
    white-space:normal;
    overflow-wrap:normal;
    word-break:normal;
  }
  .category-filter-toggle{
    display:flex;
  }
  .parameter-row{
    grid-template-columns:1fr;
  }
  .note-modal{
    padding:12px;
    align-items:end;
  }
  .note-card{
    padding:16px;
    border-radius:16px;
  }
  .note-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .lightbox-stage{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }
  .lightbox-content{
    grid-column:1 / -1;
    order:-1;
  }
  .image-lightbox img{
    max-width:92vw;
    max-height:76vh;
  }
  .lightbox-nav{
    width:100%;
    height:46px;
    font-size:34px;
  }
}
