:root{
  --bg:#F7FAFC;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#1A202C;
  --muted:#4A5568;
  --line:rgba(0,34,71,.14);
  --brand:#002247;
  --brand2:#215387;
  --accent:#f5a524;
  --danger:#b82105;
  --success:#13612e;
  --shadow:0 18px 60px rgba(0,34,71,.10);
  --radius:16px;
  --radius2:12px;
  --container:1160px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, var(--bg) 0%, #EDF2F7 100%);
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

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

.header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,250,252,.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{display:flex; align-items:center; gap:18px; padding:16px 0}
.brand{display:flex; align-items:center; gap:10px}
.brand__mark{
  display:inline-flex; align-items:center; justify-content:center;
  width:90px; height:90px;

}
.brand__logo{width:100%; height:100%; object-fit:contain}
.brand__name{font-weight:700; letter-spacing:.2px}

.header__right{margin-left:auto; display:flex; align-items:center; gap:14px}
.nav{display:none; gap:16px; justify-content:flex-end}
.nav__link{color:var(--muted); font-weight:500}
.nav__link:hover{color:var(--brand)}

.header__actions{display:flex; align-items:center; gap:12px}
.header__lang{display:flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px; border:1px solid rgba(0,34,71,.14); background:rgba(255,255,255,.70)}
.header__lang .lang{font-size:12px; letter-spacing:.3px}
.header__lang .lang__sep{font-size:12px}
.lang{color:var(--muted); font-weight:600}
.lang:hover{color:var(--brand)}
.lang__sep{color:rgba(26,32,44,.25)}

.site-banner{
  height:480px;
  position:relative;
  border-bottom:1px solid var(--line);
  overflow:hidden;
}
.site-banner__bg{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:0;
  transition:opacity 900ms ease;
  will-change:opacity;
}
.site-banner__bg.is-active{opacity:1}
.site-banner__overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.55) 100%);
  z-index:1;
}
.site-banner__inner{
  height:100%;
  display:flex;
  align-items:flex-end;
  padding:24px 0;
  position:relative;
  z-index:2;
}
.site-banner__brand{display:inline-flex; align-items:center}
.site-banner__logo{width:170px; height:170px; object-fit:contain; filter:drop-shadow(0 18px 40px rgba(0,0,0,.45))}

.main{padding:22px 0 60px}
.footer{border-top:1px solid #5d6d7e; padding:26px 0; background:#2c3e50}
.footer__inner{display:flex; align-items:flex-start; justify-content:space-between; gap:22px; flex-wrap:wrap}
.footer__col{display:flex; flex-direction:column; gap:8px}
.footer__brand{font-weight:700; color:#F7FAFC}
.footer__meta{color:#b3b3b3}
.footer__title{font-weight:900; color:#F7FAFC}
.footer__link{color:#b3b3b3; font-weight:700}
.footer__link:hover{color:#F7FAFC}

.btn{
  appearance:none;
  border:1px solid transparent;
  padding:12px 16px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.1px;
  cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
}
.btn--primary{
  background:linear-gradient(135deg, var(--brand2) 0%, var(--brand) 100%);
  color:#ffffff;
  box-shadow:0 14px 38px rgba(0,34,71,.18);
}
.btn--ghost{
  background:rgba(0,34,71,.04);
  border-color:rgba(0,34,71,.20);
  color:var(--brand);
}
.btn--danger{
  background:rgba(184,33,5,.08);
  border-color:rgba(184,33,5,.25);
  color:var(--danger);
}
.btn--full{width:100%}

.hero{padding:30px 0 26px}
.hero__inner{display:grid; gap:20px}
.hero__copy{padding:10px 0}
.hero__panel{
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(237,242,247,.86) 100%);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.hero__panel__title{font-weight:800; margin-bottom:10px}
.hero__panel__note{margin-top:10px; color:var(--muted); font-size:14px}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:16px}

.home-gallery{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}
.home-gallery__item{
  position:relative;
  border-radius:14px;
  border:1px solid var(--line);
  overflow:hidden;
  background:#EDF2F7;
  display:block;
}
.home-gallery__img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:cover;
  background:#EDF2F7;
}
.home-gallery__name{
  position:absolute;
  top:10px;
  left:10px;
  color:rgba(255,255,255,.8);
  font-weight:900;
  font-size:13px;
  letter-spacing:.2px;
  max-width:calc(100% - 20px);
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.team__img{
  width:100%;
  height:450px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(0,34,71,.12);
  background:#EDF2F7;
  margin-bottom:12px;
}

.section{padding:26px 0}
.section--tight{padding:16px 0}
.section__head{margin-bottom:16px}
.section__head--row{display:flex; align-items:flex-end; justify-content:space-between; gap:16px}

.h1{font-size:42px; line-height:1.06; letter-spacing:-.7px; margin:0 0 10px}
.h2{font-size:22px; margin:22px 0 10px}
.h2--tight{margin-top:0}
.lead{color:var(--muted); font-size:18px; line-height:1.55; margin:0}
.lead--tight{margin:0 0 12px}
.muted{color:var(--muted)}
.text{color:var(--text); line-height:1.7}
.strong{font-weight:800}

.grid{display:grid; gap:16px}
.grid--compact{gap:12px}
.grid--two{grid-template-columns:1fr}
.grid--three{grid-template-columns:1fr}

.card{
  border:1px solid var(--line);
  background:var(--card);
  border-radius:var(--radius);
  overflow:hidden;
  transition:transform .15s ease, border-color .15s ease;
}
.card:hover{transform:translateY(-2px); border-color:rgba(0,34,71,.28)}
.card__media{height:180px; background:#EDF2F7}
.card__img{width:100%; height:100%; object-fit:cover}
.card__placeholder{height:100%; display:flex; align-items:center; justify-content:center; color:rgba(26,32,44,.55); font-weight:700}
.card__body{padding:14px 14px 16px}
.card__title{font-weight:800; margin-bottom:4px}
.card__meta{color:var(--muted); font-size:14px}
.card__price{margin-top:10px; display:flex; align-items:baseline; gap:8px}
.card__price__value{font-weight:900; font-size:18px}
.card__price__unit{color:var(--muted); font-size:13px}

.tags{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.tags--tight{gap:6px; margin-top:8px}
.tag{padding:6px 10px; border-radius:999px; background:rgba(33,83,135,.10); color:var(--brand2); font-weight:900; font-size:12px; border:1px solid rgba(33,83,135,.18)}

.prop-card{border:1px solid var(--line); background:var(--card); border-radius:var(--radius); overflow:hidden; display:flex; flex-direction:column; box-shadow:var(--shadow); transition:transform .15s ease, border-color .15s ease}
.prop-card:hover{transform:translateY(-2px); border-color:rgba(0,34,71,.28)}
.prop-card__media{position:relative; height:200px; display:block; background:#EDF2F7}
.prop-card__img{width:100%; height:100%; object-fit:cover; display:block}
.prop-card__placeholder{height:100%; display:flex; align-items:center; justify-content:center; color:rgba(26,32,44,.55); font-weight:700}
.prop-card__media__overlay{position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%)}
.prop-card__price-badge{position:absolute; left:12px; bottom:12px; background:rgba(255,255,255,.92); color:rgba(26,32,44,.92); padding:8px 10px; border-radius:999px; font-weight:900; font-size:13px; border:1px solid rgba(0,34,71,.18)}
.prop-card__body{padding:14px 14px 16px; display:flex; flex-direction:column; gap:8px; flex:1}
.prop-card__title{font-weight:900}
.prop-card__meta{color:var(--muted); font-size:14px}
.prop-card__facts{display:flex; flex-wrap:wrap; gap:10px; color:rgba(26,32,44,.78); font-weight:800; font-size:13px}
.prop-card__actions{display:flex; gap:10px; margin-top:8px; justify-content:flex-end; flex-wrap:wrap}

.panel{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:var(--panel);
  padding:18px;
  box-shadow:var(--shadow);
}
.panel--narrow{max-width:520px; margin:0 auto}
.panel--success{border-color:rgba(19,97,46,.30)}
.panel--cta{margin-top:18px}

.form{margin-top:14px}
.form__row{display:flex; flex-direction:column; gap:8px; margin-bottom:14px}
.label{font-weight:700; color:var(--text)}
.input,.textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(0,34,71,.18);
  background:#ffffff;
  color:var(--text);
  outline:none;
}
.input:focus,.textarea:focus{border-color:rgba(33,83,135,.70); box-shadow:0 0 0 4px rgba(33,83,135,.12)}
.error{color:var(--danger); font-weight:600; font-size:13px}
.form__actions{display:flex; gap:12px; align-items:center; justify-content:flex-end; margin-top:14px}
.check-grid{display:grid; grid-template-columns:1fr; gap:10px; padding:12px; border:1px solid rgba(0,34,71,.14); border-radius:14px; background:rgba(255,255,255,.60)}
.check{display:flex; align-items:center; gap:10px; font-weight:800; color:rgba(26,32,44,.92)}
.check__input{width:18px; height:18px}
.check__label{line-height:1.2}

.flash{margin:18px 0 0}
.flash__item{padding:12px 14px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.85); margin-bottom:10px}
.flash__item--error{border-color:rgba(184,33,5,.30)}
.flash__item--success{border-color:rgba(19,97,46,.28)}

.empty{
  border:1px dashed rgba(0,34,71,.22);
  border-radius:var(--radius);
  padding:22px;
  text-align:center;
  background:rgba(255,255,255,.78);
}
.empty__title{font-weight:900; margin-bottom:6px}
.empty__text{color:var(--muted); margin-bottom:14px}

.breadcrumbs{display:flex; align-items:center; gap:10px; color:var(--muted); margin-bottom:14px}
.breadcrumbs__link:hover{color:var(--brand)}
.breadcrumbs__sep{color:rgba(26,32,44,.25)}

.property{display:grid; gap:18px}
.property__meta{display:flex; align-items:center; gap:14px; margin-bottom:14px}
.badge{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,34,71,.22);
  background:rgba(0,34,71,.06);
  font-weight:800;
}
.gallery{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  margin:12px 0 10px;
}
.gallery__img{border-radius:14px; border:1px solid var(--line); background:#EDF2F7}
.gallery__empty{color:var(--muted); padding:18px; border-radius:14px; border:1px dashed rgba(0,34,71,.22)}

.box{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.90);
  padding:16px;
}
.box__title{font-weight:900; margin-bottom:8px}

.list{margin:0; padding-left:18px; color:var(--text); line-height:1.7}
.amenities{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:10px;
}
.amenities__item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  padding:10px 12px;

  background:transparent;
}
.amenities__icon{
  width:28px;
  height:28px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:rgba(33,83,135,.10);
  color:var(--brand2);
  flex:0 0 auto;
}
.amenities__text{
  color:var(--text);
  font-weight:800;
  line-height:1.35;
  padding-top:3px;
}

.stepper{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:14px;
}
.step{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(0,34,71,.18);
  background:#EDF2F7;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.step--active{
  color:#ffffff;
  background:linear-gradient(135deg, var(--brand2) 0%, var(--brand) 100%);
  border-color:transparent;
}
.step--done{color:rgba(26,32,44,.82)}

.summary{margin-top:14px; border-top:1px solid var(--line)}
.summary__item{display:flex; justify-content:space-between; gap:14px; padding:12px 0; border-bottom:1px solid var(--line)}
.summary__label{color:var(--muted); font-weight:700}
.summary__value{font-weight:800}
.summary__item--total .summary__value{font-size:18px}

.pick{cursor:pointer}
.pick__radio{position:absolute; opacity:0}
.pick__card{
  border:1px solid rgba(0,34,71,.18);
  border-radius:var(--radius2);
  background:rgba(255,255,255,.90);
  overflow:hidden;
  transition:border-color .15s ease, transform .15s ease;
}
.pick:hover .pick__card{border-color:rgba(0,34,71,.28); transform:translateY(-1px)}
.pick__radio:checked + .pick__card{border-color:rgba(0,34,71,.45); box-shadow:0 0 0 4px rgba(33,83,135,.12)}
.pick__media{height:140px; background:#EDF2F7}
.pick__img{width:100%; height:100%; object-fit:cover}
.pick__placeholder{height:100%; display:flex; align-items:center; justify-content:center; color:rgba(26,32,44,.55); font-weight:700}
.pick__body{padding:12px}
.pick__title{font-weight:900; margin-bottom:4px}
.pick__meta{color:var(--muted); font-size:14px}
.pick__price{margin-top:10px; display:flex; flex-direction:column; gap:2px}
.pick__price__total{font-weight:900; font-size:18px}
.pick__price__note{color:var(--muted); font-size:13px}

.calendar{
  margin-top:10px;
  display:grid;
  gap:10px;
}
.cal-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.cal-nav__btn{
  padding:8px 12px;
  min-width:44px;
}
.cal-nav__label{
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.cal-month{
  border:1px solid rgba(0,34,71,.18);
  border-radius:14px;
  overflow:hidden;
  background:#ffffff;
}
.cal-month__head{display:flex; justify-content:space-between; padding:10px 12px; border-bottom:1px solid rgba(0,34,71,.12)}
.cal-month__title{font-weight:900}
.cal-grid{display:grid; grid-template-columns:repeat(7, 1fr); gap:6px; padding:10px 12px 12px}
.cal-cell{
  text-align:center;
  padding:8px 0;
  border-radius:10px;
  color:rgba(26,32,44,.90);
  background:#F7FAFC;
  border:1px solid rgba(0,34,71,.12);
  font-weight:800;
  font-size:13px;
}
.cal-cell--muted{opacity:.35}
.cal-cell--booked{
  background:rgba(184,33,5,.08);
  border-color:rgba(184,33,5,.22);
}
.calendar__legend{margin-top:10px; display:flex; align-items:center; gap:10px}
.legend{width:12px; height:12px; border-radius:4px; border:1px solid rgba(0,34,71,.12); background:#F7FAFC}
.legend--booked{background:rgba(184,33,5,.08); border-color:rgba(184,33,5,.22)}
.legend__label{color:var(--muted); font-weight:700; font-size:13px}

.map{
  display:block;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(0,34,71,.18);
  background:#EDF2F7;
}
.map__frame{
  width:100%;
  height:400px;
  border:0;
  display:block;
}

.tabs{display:flex; flex-wrap:wrap; gap:10px; margin:16px 0}
.tabs__link{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(0,34,71,.18);
  background:#EDF2F7;
  color:var(--muted);
  font-weight:800;
  font-size:13px;
}
.tabs__link--active{color:#ffffff; background:linear-gradient(135deg, var(--brand2) 0%, var(--brand) 100%); border-color:transparent}

.admin-prop{height:100%}
.admin-prop__body{display:flex; flex-direction:column; justify-content:space-between; height:100%}
.admin-prop__stats{margin-top:10px; color:var(--muted); font-weight:700; font-size:13px; display:flex; flex-wrap:wrap; gap:6px}
.admin-prop__dot{opacity:.6}
.admin-prop__actions{margin-top:14px; display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end}
.admin-prop__actions form{margin:0}

.table{border:1px solid rgba(0,34,71,.18); border-radius:var(--radius); overflow:hidden; background:#ffffff}
.table__row{display:grid; grid-template-columns:1.3fr .7fr .7fr 1.3fr; gap:12px; padding:12px 14px; border-top:1px solid rgba(0,34,71,.12); align-items:center}
.table__row--head{border-top:none; background:#EDF2F7; color:rgba(26,32,44,.90); font-weight:900}
.table__actions{display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end}

.kpi{font-size:34px; font-weight:900; margin:6px 0 12px}

.tile{
  border:1px solid rgba(0,34,71,.18);
  border-radius:14px;
  overflow:hidden;
  background:#ffffff;
  position:relative;
}
.tile__img{width:100%; height:180px; object-fit:cover}
.tile__badge{position:absolute; top:10px; left:10px; background:rgba(0,34,71,.92); color:#ffffff; padding:6px 10px; border-radius:999px; font-weight:900; font-size:12px; display:none}
.tile--main{border-color:rgba(33,83,135,.55); box-shadow:0 10px 30px rgba(0,34,71,.08)}
.tile--main .tile__badge{display:inline-flex}
.tile__actions{padding:10px}
.image-tile{cursor:grab}
.image-tile:active{cursor:grabbing}
.image-tile.is-dragging{opacity:.65}

@media (min-width: 880px){
  .nav{display:flex}
  .site-banner{height:580px}
  .site-banner__logo{width:220px; height:220px}
  .hero__inner{grid-template-columns:1.6fr .9fr; align-items:start}
  .home-gallery{grid-template-columns:repeat(4, minmax(0, 1fr))}
  .grid{grid-template-columns:repeat(3, 1fr)}
  .grid--two{grid-template-columns:repeat(2, 1fr)}
  .grid--three{grid-template-columns:repeat(3, 1fr)}
  .property{grid-template-columns:1.6fr .9fr; align-items:start}
  .gallery{grid-template-columns:repeat(2, 1fr)}
  .check-grid{grid-template-columns:repeat(3, minmax(0, 1fr))}
  .map__frame{height:320px}
}
