:root{
  --blue:#0878e8;
  --blue-dark:#063d73;
  --blue-deep:#052d55;
  --orange:#ff7a18;
  --orange-dark:#db5d00;

  --ink:#10233f;
  --muted:#68788d;
  --muted-2:#8a99aa;

  --bg:#f4f7fb;
  --surface:#ffffff;
  --surface-2:#f7faff;

  --line:#dce5ef;
  --line-dark:#c7d5e4;

  --good:#0b9b62;
  --good-bg:#e8f8f1;

  --warning:#b86a00;
  --warning-bg:#fff3df;

  --danger:#d94242;
  --danger-bg:#ffeaea;

  --info-bg:#eaf4ff;

  --shadow:0 12px 32px rgba(16,35,63,.08);
  --shadow-lg:0 22px 60px rgba(16,35,63,.14);

  --radius:16px;
  --radius-sm:10px;

  --sidebar:250px;
  --header:68px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,
  "Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--ink);
  line-height:1.45;
}

body.modal-open{
  overflow:hidden;
}

button,
input,
select,
textarea{
  font:inherit;
}

button{
  border:0;
  cursor:pointer;
}

button:disabled{
  cursor:not-allowed;
  opacity:.6;
}

input,
select,
textarea{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  color:var(--ink);
  outline:none;
  border-radius:10px;
  padding:11px 13px;
  transition:border-color .18s,box-shadow .18s;
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--blue);
  box-shadow:0 0 0 3px rgba(8,120,232,.10);
}

textarea{
  resize:vertical;
}

a{
  color:inherit;
  text-decoration:none;
}

/* =========================================================
   GLOBAL
========================================================= */

.hidden{
  display:none!important;
}

.muted{
  color:var(--muted);
}

.label{
  color:var(--muted);
  font-size:13px;
}

.small{
  font-size:12px;
}

.bold{
  font-weight:800;
}

.blue{
  color:var(--blue);
}

.orange{
  color:var(--orange);
}

.green{
  color:var(--good);
}

.container{
  width:min(1500px,100%);
  margin:auto;
}

.section{
  margin-top:28px;
}

.section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:0 0 14px;
}

.section-head h2{
  margin:0;
  font-size:21px;
}

.section-head p{
  margin:4px 0 0;
}

.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 5px 18px rgba(16,35,63,.045);
}

.btn{
  min-height:42px;
  padding:10px 15px;
  border-radius:10px;
  background:#fff;
  color:var(--blue);
  border:1px solid var(--line);
  font-weight:800;
  transition:
    transform .16s,
    background .16s,
    border-color .16s,
    box-shadow .16s;
}

.btn:hover{
  transform:translateY(-1px);
  border-color:#a8c8e7;
  box-shadow:0 6px 15px rgba(16,35,63,.08);
}

.btn.primary{
  background:var(--blue);
  color:#fff;
  border-color:var(--blue);
}

.btn.primary:hover{
  background:#0667ca;
}

.btn.orange{
  background:var(--orange);
  color:#fff;
  border-color:var(--orange);
}

.btn.orange:hover{
  background:var(--orange-dark);
}

.btn.dark{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}

.btn.light{
  background:#edf5fd;
  color:var(--blue);
  border-color:#dcecff;
}

.btn.danger{
  background:var(--danger);
  color:#fff;
}

.icon-btn{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eef4fa;
  color:var(--ink);
}

.icon-btn:hover{
  background:#e2edf7;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border-radius:20px;
  background:var(--good-bg);
  color:var(--good);
  font-size:11px;
  font-weight:900;
  white-space:nowrap;
}

.badge.pending{
  background:var(--warning-bg);
  color:var(--warning);
}

.badge.cancel{
  background:var(--danger-bg);
  color:var(--danger);
}

.badge.blue{
  background:var(--info-bg);
  color:var(--blue);
}

.grid{
  display:grid;
  gap:16px;
}

.two{
  grid-template-columns:repeat(2,1fr);
}

.three{
  grid-template-columns:repeat(3,1fr);
}

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

.six{
  grid-template-columns:repeat(6,1fr);
}

/* =========================================================
   CUSTOMER TOPBAR
========================================================= */

.public-top{
  position:sticky;
  top:0;
  z-index:100;
  height:var(--header);
  background:#fff;
  border-bottom:1px solid var(--line);

  display:flex;
  align-items:center;
  gap:20px;

  padding:0 24px;
}

.brand{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:max-content;
  font-size:22px;
  font-weight:1000;
  letter-spacing:-1.2px;
}

.brand-mark{
  width:35px;
  height:35px;
  border-radius:10px;
  display:grid;
  place-items:center;
  background:var(--blue);
  color:#fff;
  font-size:13px;
  font-weight:1000;
}

.brand span{
  color:var(--blue);
}

.brand em{
  color:var(--orange);
  font-style:normal;
}

.public-search{
  flex:1;
  max-width:650px;
  position:relative;
}

.public-search input{
  padding-left:42px;
  background:var(--surface-2);
}

.search-icon{
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
  color:var(--muted);
}

.top-actions{
  margin-left:auto;
  display:flex;
  align-items:center;
  gap:8px;
}

.user-avatar{
  width:40px;
  height:40px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--blue);
  color:#fff;
  font-weight:900;
}

/* =========================================================
   PUBLIC NAV
========================================================= */

.public-nav{
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:0 24px;
  position:sticky;
  top:var(--header);
  z-index:90;
}

.public-nav-inner{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:5px;
  max-width:1500px;
  margin:auto;
}

.public-nav button{
  padding:9px 12px;
  border-radius:8px;
  background:transparent;
  color:var(--muted);
  font-weight:750;
}

.public-nav button:hover,
.public-nav button.active{
  color:var(--blue);
  background:#eef6ff;
}

/* =========================================================
   PUBLIC SHELL
========================================================= */

.public-shell{
  min-height:calc(100vh - 116px);
}

.public-page{
  display:none;
  padding:28px 24px 60px;
}

.public-page.active{
  display:block;
}

.public-container{
  max-width:1500px;
  margin:auto;
}

/* =========================================================
   PUBLIC HERO
========================================================= */

.market-hero{
  background:var(--blue-deep);
  color:#fff;
  border-radius:24px;
  padding:44px;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr);
  gap:35px;
  overflow:hidden;
  position:relative;
}

.market-hero:after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:50%;
  right:-70px;
  top:-70px;
}

.eyebrow{
  color:#a8d8ff;
  font-size:12px;
  font-weight:950;
  letter-spacing:2px;
  text-transform:uppercase;
}

.market-hero h1{
  margin:14px 0 12px;
  font-size:clamp(38px,5vw,65px);
  line-height:.98;
  letter-spacing:-2px;
}

.market-hero h1 span{
  color:#ff9b4a;
}

.market-hero p{
  max-width:720px;
  color:#d9e9f9;
  font-size:17px;
}

.hero-booking{
  margin-top:24px;
  background:#fff;
  border-radius:15px;
  padding:8px;

  display:grid;
  grid-template-columns:160px minmax(0,1fr) 145px 110px;
  gap:6px;

  max-width:930px;
}

.hero-booking input,
.hero-booking select{
  border:0;
  border-radius:9px;
  min-width:0;
}

.trust-row{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:15px;
  color:#bed9f2;
  font-size:12px;
}

.hero-art{
  min-height:270px;
  display:grid;
  place-items:center;
  position:relative;
}

.sphere{
  width:175px;
  height:175px;
  border-radius:50%;
  background:var(--blue);
  border:12px solid var(--orange);
  display:grid;
  place-items:center;
  font-size:48px;
  font-weight:1000;
  z-index:2;
  box-shadow:0 22px 55px rgba(0,0,0,.25);
}

.orbit{
  position:absolute;
  border:1px solid rgba(255,255,255,.25);
  width:310px;
  height:125px;
  border-radius:50%;
  transform:rotate(25deg);
}

.orbit.two{
  transform:rotate(-35deg);
}

/* =========================================================
   SERVICE TILES
========================================================= */

.service-tiles{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:12px;
}

.service-tile{
  min-height:145px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  padding:18px;
  text-align:left;
  transition:.18s;
}

.service-tile:hover{
  transform:translateY(-3px);
  border-color:#a9c9e7;
  box-shadow:var(--shadow);
}

.service-icon{
  width:48px;
  height:48px;
  border-radius:13px;
  background:#eef6ff;
  display:grid;
  place-items:center;
  font-size:25px;
  margin-bottom:13px;
}

.service-tile b{
  display:block;
  margin-bottom:4px;
}

.service-tile small{
  color:var(--muted);
}

/* =========================================================
   LISTING CARDS
========================================================= */

.listing-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:15px;
}

.listing-card{
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  transition:.18s;
}

.listing-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
}

.listing-media{
  height:150px;
  background:#e8f3fc;
  display:grid;
  place-items:center;
  font-size:48px;
  position:relative;
}

.favorite{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  font-size:17px;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}

.favorite.active{
  color:var(--orange);
}

.listing-body{
  padding:15px;
}

.listing-body h3{
  margin:4px 0;
  font-size:16px;
}

.listing-meta{
  color:var(--muted);
  font-size:12px;
}

.listing-footer{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.price{
  font-weight:950;
  font-size:17px;
}

.price small{
  font-size:11px;
  color:var(--muted);
  font-weight:500;
}

/* =========================================================
   HOW IT WORKS
========================================================= */

.how{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.how-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:15px;
  padding:20px;
}

.step-no{
  color:var(--blue);
  font-weight:1000;
  font-size:12px;
}

.how-card h3{
  margin:8px 0 5px;
}

.how-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* =========================================================
   FILTER BAR
========================================================= */

.filter-bar{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-bottom:16px;
}

.filter-bar input{
  flex:1;
  min-width:220px;
}

.filter-bar select{
  width:auto;
  min-width:150px;
}


@media(max-width:1200px){

  .service-tiles{
    grid-template-columns:repeat(3,1fr);
  }

  .listing-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .quick-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .admin-card-grid,
  .ops-grid{
    grid-template-columns:1fr 1fr;
  }

}

@media(max-width:900px){

  .public-top{
    padding:0 14px;
    gap:10px;
  }

  .public-search{
    max-width:none;
  }

  .top-actions .btn.dark{
    display:none;
  }

  .market-hero{
    grid-template-columns:1fr;
    padding:30px;
  }

  .hero-art{
    display:none;
  }

  .hero-booking{
    grid-template-columns:1fr 1fr;
  }

  .hero-booking .btn{
    width:100%;
  }

  .listing-grid{
    grid-template-columns:repeat(2,1fr);
  }

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

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

  .admin-brand{
    width:auto;
  }

  .admin-brand .brand-text{
    display:none;
  }

  .admin-sidebar{
    padding:12px 7px;
  }

  .sidebar-label{
    display:none;
  }

  .admin-nav button{
    text-align:center;
    font-size:0;
  }

  .admin-nav button:first-letter{
    font-size:18px;
  }

  .admin-main{
    padding:18px;
  }

  .quick-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:650px){

  :root{
    --header:60px;
  }

  .public-top{
    height:60px;
  }

  .brand{
    font-size:17px;
  }

  .brand-mark{
    width:32px;
    height:32px;
  }

  .public-search{
    display:none;
  }

  .top-actions .btn{
    min-height:38px;
    padding:8px 10px;
    font-size:12px;
  }

  .user-avatar{
    width:34px;
    height:34px;
  }

  .public-nav{
    top:60px;
    padding:0 8px;
    overflow:auto;
  }

  .public-nav-inner{
    min-width:max-content;
  }

  .public-page{
    padding:15px 12px 85px;
  }

  .market-hero{
    padding:24px 18px;
    border-radius:18px;
  }

  .market-hero h1{
    font-size:38px;
    letter-spacing:-1.5px;
  }

  .market-hero p{
    font-size:15px;
  }

  .hero-booking{
    grid-template-columns:1fr;
  }

  .service-tiles{
    grid-template-columns:1fr 1fr;
  }

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

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

  .filter-bar{
    flex-direction:column;
  }

  .filter-bar input,
  .filter-bar select{
    width:100%;
    min-width:0;
  }

  .modal-backdrop{
    padding:8px;
  }

  .modal{
    border-radius:15px;
    max-height:95vh;
  }

  .form-row,
  .form-grid{
    grid-template-columns:1fr;
  }

  .field.full{
    grid-column:auto;
  }

  .stats{
    grid-template-columns:1fr 1fr;
    gap:10px;
  }

  .admin-header{
    height:60px;
  }

  .admin-layout{
    display:block;
    min-height:calc(100vh - 60px);
  }

  .admin-sidebar{
    display:none;
  }

  .admin-main{
    padding:14px 12px 80px;
  }

  .admin-hero{
    display:block;
    padding:22px 18px;
  }

  .admin-hero h1{
    font-size:27px;
  }

  .admin-hero .btn{
    margin-top:15px;
  }

  .quick-grid,
  .admin-card-grid,
  .ops-grid{
    grid-template-columns:1fr;
  }

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

  .mobile-admin-nav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:300;
    height:62px;
    background:#fff;
    border-top:1px solid var(--line);
    display:flex;
    justify-content:space-around;
    align-items:center;
  }

  .mobile-admin-nav button{
    background:transparent;
    color:var(--muted);
    font-size:11px;
    display:grid;
    gap:2px;
    text-align:center;
  }

  .mobile-admin-nav button.active{
    color:var(--blue);
    font-weight:900;
  }

  .admin-search{
    display:none;
  }

  .admin-header-actions .btn.light{
    display:none;
  }

}

@media(max-width:420px){

  .service-tiles{
    grid-template-columns:1fr;
  }

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

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

  .public-nav button{
    font-size:12px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media(prefers-reduced-motion:reduce){

  *,
  *::before,
  *::after{
    scroll-behavior:auto!important;
    transition:none!important;
    animation:none!important;
  }
}


/* Keep the existing ADAMSPHERE header/footer unchanged when this page-specific stylesheet is loaded. */
.site-header .container,.site-footer .container{width:min(1250px,92%);margin:auto}
.site-header .brand{display:inline-flex;align-items:center;gap:10px}.site-header .brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--blue);color:#fff;border-radius:11px;font-weight:900;letter-spacing:-1px;box-shadow:0 7px 20px rgba(8,120,232,.15)}.site-header .brand-copy{font-weight:900;letter-spacing:.2px;color:var(--ink);font-size:15px;white-space:nowrap}.site-header .brand-copy span{color:var(--blue)}.site-header .brand-copy small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);line-height:1;margin-top:2px}.site-header .site-nav{display:flex;align-items:center;gap:3px}.site-header .site-nav a{font-size:12px;font-weight:800;color:#5d6d7e;text-transform:uppercase;letter-spacing:.5px;padding:9px 11px;position:relative}.site-header .header-actions{display:flex;gap:8px;align-items:center}.site-header .header-provider,.site-header .header-signin,.site-header .header-dashboard{border:1px solid var(--line2);padding:9px 12px;border-radius:9px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.4px;background:#fff}.site-header .header-provider{color:var(--blue)}.site-header .header-signin,.site-header .header-dashboard{background:var(--ink);color:#fff;border-color:var(--ink)}
.site-footer{background:var(--ink);color:#fff;padding:62px 0 26px;position:relative;overflow:hidden}.site-footer .container{width:min(1250px,92%);margin:auto}.site-footer .footer-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr 1fr;gap:38px;position:relative;z-index:1}.site-footer .footer-brand .brand-copy{color:#fff}.site-footer .footer-brand .brand-copy span{color:#58b3ff}.site-footer .footer-brand .brand-copy small{color:#97aabc}.site-footer .footer-brand .brand-mark{background:var(--blue)}.site-footer .footer-brand p{color:#9fb0bf;font-size:12px;max-width:420px;margin-top:16px}
